commit
d9970fb645
@ -0,0 +1 @@
|
||||
SOURCES/python-dotenv-0.19.2.tar.gz
|
@ -0,0 +1 @@
|
||||
ee238ca91782cd5f9389568c13e2c7def01c8aff SOURCES/python-dotenv-0.19.2.tar.gz
|
@ -0,0 +1,132 @@
|
||||
Name: python-dotenv
|
||||
Version: 0.19.2
|
||||
Release: 3%{?dist}
|
||||
Summary: Read key-value pairs from a .env file and set them as environment variables
|
||||
|
||||
License: BSD
|
||||
URL: https://github.com/theskumar/python-dotenv
|
||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-click
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-sh
|
||||
|
||||
%description
|
||||
Reads the key/value pair from .env file and adds them to environment variable.
|
||||
|
||||
|
||||
%package -n python3-dotenv
|
||||
Summary: %{summary}
|
||||
%{!?python_extras_subpkg:Requires: python3-click}
|
||||
%{?python_extras_subpkg:Recommends: python3-dotenv+cli}
|
||||
%{?python_provide:%python_provide python3-dotenv}
|
||||
|
||||
%description -n python3-dotenv
|
||||
Reads the key/value pair from .env file and adds them to environment variable.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
# Use the standard library mock
|
||||
sed -i 's/import mock/from unittest import mock/' tests/test_*.py
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
|
||||
%check
|
||||
# Skip ipython tests in EPEL.
|
||||
%pytest -v --ignore=tests/test_ipython.py -k "not test_set_key_permission_error"
|
||||
|
||||
|
||||
%files -n python3-dotenv
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{python3_sitelib}/dotenv/
|
||||
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
||||
|
||||
%{?python_extras_subpkg:%{python_extras_subpkg -n python3-dotenv -i %{python3_sitelib}/*.egg-info cli}}
|
||||
%{_bindir}/dotenv
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jul 28 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.19.2-3
|
||||
- Rebuilt for MSVSphere 9.4
|
||||
|
||||
* Thu Apr 28 2022 Major Hayden <major@mhtx.net> - 0.19.2-3
|
||||
- Disable ipython tests in EPEL.
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Tue Nov 30 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 0.19.2-1
|
||||
- Update to 0.19.2
|
||||
|
||||
* Thu Aug 19 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.19.0-1
|
||||
- Update to 0.19.0
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Tue Jun 29 2021 Lumír Balhar <lbalhar@redhat.com> - 0.18.0-1
|
||||
- Update to 0.18.0
|
||||
Resolves: rhbz#1974239
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.17.1-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Apr 28 2021 Karolina Surma <ksurma@redhat.com> - 0.17.1-1
|
||||
- Update to 0.17.1
|
||||
Resolves rhbz#1945975
|
||||
|
||||
* Thu Apr 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.16.0-1
|
||||
- Update to 0.16.0
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Dec 08 2020 Lumír Balhar <lbalhar@redhat.com> - 0.15.0-1
|
||||
- Update to 0.15.0 (#1892507)
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-2
|
||||
- Add python-dotenv[cli] subpackage with /usr/bin/dotenv
|
||||
|
||||
* Thu Jul 09 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
|
||||
- Update to 0.14.0
|
||||
- Fixes rhbz#1709002
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Mon May 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-1
|
||||
- Update to 0.13.0 (#1709002)
|
||||
- Fix failing tests with click 7.1 (#1830984)
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Aug 06 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue