|
 |
22b8df |
Name: python-dotenv
|
|
 |
22b8df |
Version: 0.17.1
|
|
 |
22b8df |
Release: 2%{?dist}
|
|
 |
22b8df |
Summary: Read key-value pairs from a .env file and set them as environment variables
|
|
 |
22b8df |
|
|
 |
22b8df |
License: BSD
|
|
 |
22b8df |
URL: https://github.com/theskumar/python-dotenv
|
|
 |
22b8df |
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
 |
22b8df |
BuildArch: noarch
|
|
 |
22b8df |
|
|
 |
22b8df |
BuildRequires: python3-click
|
|
 |
22b8df |
BuildRequires: python3-devel
|
|
 |
22b8df |
BuildRequires: python3-pytest
|
|
 |
22b8df |
BuildRequires: python3-setuptools
|
|
 |
22b8df |
BuildRequires: python3-sh
|
|
 |
22b8df |
|
|
 |
22b8df |
%description
|
|
 |
22b8df |
Reads the key/value pair from .env file and adds them to environment variable.
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%package -n python3-dotenv
|
|
 |
22b8df |
Summary: %{summary}
|
|
 |
22b8df |
%{!?python_extras_subpkg:Requires: python3-click}
|
|
 |
22b8df |
%{?python_extras_subpkg:Recommends: python3-dotenv+cli}
|
|
 |
22b8df |
%{?python_provide:%python_provide python3-dotenv}
|
|
 |
22b8df |
|
|
 |
22b8df |
%description -n python3-dotenv
|
|
 |
22b8df |
Reads the key/value pair from .env file and adds them to environment variable.
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%prep
|
|
 |
22b8df |
%autosetup
|
|
 |
22b8df |
# Use the standard library mock
|
|
 |
22b8df |
sed -i 's/import mock/from unittest import mock/' tests/test_*.py
|
|
 |
22b8df |
# Remove ipython unit tests as we don't ship ipython
|
|
 |
22b8df |
rm -f tests/test_ipython.py
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%build
|
|
 |
22b8df |
%py3_build
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%install
|
|
 |
22b8df |
%py3_install
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%check
|
|
 |
22b8df |
%pytest -v
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%files -n python3-dotenv
|
|
 |
22b8df |
%license LICENSE
|
|
 |
22b8df |
%doc README.md
|
|
 |
22b8df |
%{python3_sitelib}/dotenv/
|
|
 |
22b8df |
%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/
|
|
 |
22b8df |
|
|
 |
22b8df |
%{?python_extras_subpkg:%{python_extras_subpkg -n python3-dotenv -i %{python3_sitelib}/*.egg-info cli}}
|
|
 |
22b8df |
%{_bindir}/dotenv
|
|
 |
22b8df |
|
|
 |
22b8df |
|
|
 |
22b8df |
%changelog
|
|
 |
22b8df |
* Tue Jul 13 2021 Alfredo Moralejo <amoralej@redhat.com> - 0.17.1-2
|
|
 |
22b8df |
- Remove dependency on ipython at build time
|
|
 |
22b8df |
|
|
 |
22b8df |
* Wed Apr 28 2021 Karolina Surma <ksurma@redhat.com> - 0.17.1-1
|
|
 |
22b8df |
- Update to 0.17.1
|
|
 |
22b8df |
Resolves rhbz#1945975
|
|
 |
22b8df |
|
|
 |
22b8df |
* Thu Apr 01 2021 Tomas Hrnciar <thrnciar@redhat.com> - 0.16.0-1
|
|
 |
22b8df |
- Update to 0.16.0
|
|
 |
22b8df |
|
|
 |
22b8df |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-2
|
|
 |
22b8df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
22b8df |
|
|
 |
22b8df |
* Tue Dec 08 2020 Lumír Balhar <lbalhar@redhat.com> - 0.15.0-1
|
|
 |
22b8df |
- Update to 0.15.0 (#1892507)
|
|
 |
22b8df |
|
|
 |
22b8df |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-3
|
|
 |
22b8df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
22b8df |
|
|
 |
22b8df |
* Fri Jul 10 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-2
|
|
 |
22b8df |
- Add python-dotenv[cli] subpackage with /usr/bin/dotenv
|
|
 |
22b8df |
|
|
 |
22b8df |
* Thu Jul 09 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
|
|
 |
22b8df |
- Update to 0.14.0
|
|
 |
22b8df |
- Fixes rhbz#1709002
|
|
 |
22b8df |
|
|
 |
22b8df |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-2
|
|
 |
22b8df |
- Rebuilt for Python 3.9
|
|
 |
22b8df |
|
|
 |
22b8df |
* Mon May 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.0-1
|
|
 |
22b8df |
- Update to 0.13.0 (#1709002)
|
|
 |
22b8df |
- Fix failing tests with click 7.1 (#1830984)
|
|
 |
22b8df |
|
|
 |
22b8df |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-6
|
|
 |
22b8df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
22b8df |
|
|
 |
22b8df |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-5
|
|
 |
22b8df |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
22b8df |
|
|
 |
22b8df |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-4
|
|
 |
22b8df |
- Rebuilt for Python 3.8
|
|
 |
22b8df |
|
|
 |
22b8df |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
 |
22b8df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
22b8df |
|
|
 |
22b8df |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
|
|
 |
22b8df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
22b8df |
|
|
 |
22b8df |
* Mon Aug 06 2018 Miro Hrončok <mhroncok@redhat.com> - 0.9.1-1
|
|
 |
22b8df |
- Initial package
|