Blame python-dotenv.spec

92c2356
Name:           python-dotenv
356e38c
Version:        0.18.0
356e38c
Release:        1%{?dist}
881472e
Summary:        Read key-value pairs from a .env file and set them as environment variables
92c2356
92c2356
License:        BSD
92c2356
URL:            https://github.com/theskumar/python-dotenv
92c2356
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
92c2356
BuildArch:      noarch
92c2356
92c2356
BuildRequires:  python3-click
92c2356
BuildRequires:  python3-devel
92c2356
BuildRequires:  python3-ipython
92c2356
BuildRequires:  python3-pytest
92c2356
BuildRequires:  python3-setuptools
92c2356
BuildRequires:  python3-sh
92c2356
92c2356
%description
92c2356
Reads the key/value pair from .env file and adds them to environment variable.
92c2356
92c2356
92c2356
%package -n     python3-dotenv
92c2356
Summary:        %{summary}
edab385
%{!?python_extras_subpkg:Requires: python3-click}
edab385
%{?python_extras_subpkg:Recommends: python3-dotenv+cli}
92c2356
%{?python_provide:%python_provide python3-dotenv}
92c2356
92c2356
%description -n python3-dotenv
92c2356
Reads the key/value pair from .env file and adds them to environment variable.
92c2356
92c2356
92c2356
%prep
92c2356
%autosetup
77c6d05
# Use the standard library mock
77c6d05
sed -i 's/import mock/from unittest import mock/' tests/test_*.py
92c2356
92c2356
92c2356
%build
92c2356
%py3_build
92c2356
92c2356
92c2356
%install
92c2356
%py3_install
92c2356
92c2356
92c2356
%check
73470a6
%pytest -v
92c2356
92c2356
92c2356
%files -n python3-dotenv
92c2356
%license LICENSE
92c2356
%doc README.md
77c6d05
%{python3_sitelib}/dotenv/
77c6d05
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
92c2356
edab385
%{?python_extras_subpkg:%{python_extras_subpkg -n python3-dotenv -i %{python3_sitelib}/*.egg-info cli}}
edab385
%{_bindir}/dotenv
edab385
92c2356
92c2356
%changelog
356e38c
* Tue Jun 29 2021 Lumír Balhar <lbalhar@redhat.com> - 0.18.0-1
356e38c
- Update to 0.18.0
356e38c
Resolves: rhbz#1974239
356e38c
2a226a1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.17.1-2
2a226a1
- Rebuilt for Python 3.10
2a226a1
881472e
* Wed Apr 28 2021 Karolina Surma <ksurma@redhat.com> - 0.17.1-1
881472e
- Update to 0.17.1
881472e
Resolves rhbz#1945975
881472e
2094b06
* Thu Apr 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.16.0-1
2094b06
- Update to 0.16.0
2094b06
e584b81
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
e584b81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e584b81
8bd2440
* Tue Dec 08 2020 Lumír Balhar <lbalhar@redhat.com> - 0.15.0-1
8bd2440
- Update to 0.15.0 (#1892507)
8bd2440
55cbf8f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
55cbf8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
55cbf8f
edab385
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-2
edab385
- Add python-dotenv[cli] subpackage with /usr/bin/dotenv
edab385
73470a6
* Thu Jul 09 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
73470a6
- Update to 0.14.0
73470a6
- Fixes rhbz#1709002
73470a6
7d00a21
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
7d00a21
- Rebuilt for Python 3.9
7d00a21
77c6d05
* Mon May 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-1
77c6d05
- Update to 0.13.0 (#1709002)
77c6d05
- Fix failing tests with click 7.1 (#1830984)
77c6d05
c643e1d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
c643e1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c643e1d
4cca5d1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
4cca5d1
- Rebuilt for Python 3.8.0rc1 (#1748018)
4cca5d1
b1647f4
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
b1647f4
- Rebuilt for Python 3.8
b1647f4
95b717a
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
95b717a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
95b717a
34f5fe7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
34f5fe7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
34f5fe7
92c2356
* Mon Aug 06 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-1
92c2356
- Initial package