From 77c6d0531f01abb1433ce4738fa5b11b92dd36d9 Mon Sep 17 00:00:00 2001 From: Miro Hrončok Date: May 04 2020 23:11:21 +0000 Subject: Update to 0.13.0 Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1709002 Fixes failing tests with click 7.1 Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1830984 Fresh up the spec a tiny bit. --- diff --git a/.gitignore b/.gitignore index 86afae1..e95b790 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-dotenv-0.9.1.tar.gz +/python-dotenv-0.13.0.tar.gz diff --git a/python-dotenv.spec b/python-dotenv.spec index 83040a9..f0446c7 100644 --- a/python-dotenv.spec +++ b/python-dotenv.spec @@ -1,6 +1,6 @@ Name: python-dotenv -Version: 0.9.1 -Release: 6%{?dist} +Version: 0.13.0 +Release: 1%{?dist} Summary: Add .env support to your Django/Flask apps in development and deployments License: BSD @@ -31,6 +31,8 @@ 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 @@ -44,18 +46,22 @@ Reads the key/value pair from .env file and adds them to environment variable. %check export PATH=%{buildroot}%{_bindir}:$PATH export PYTHONPATH=%{buildroot}%{python3_sitelib} -%{__python3} -m pytest -v tests +%{python3} -m pytest -v tests %files -n python3-dotenv %license LICENSE %doc README.md %{_bindir}/dotenv -%{python3_sitelib}/dotenv -%{python3_sitelib}/python_dotenv-%{version}-py?.?.egg-info +%{python3_sitelib}/dotenv/ +%{python3_sitelib}/python_dotenv-%{version}-py%{python3_version}.egg-info/ %changelog +* Mon May 04 2020 Miro Hrončok - 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 - 0.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 8f95e11..80799e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-dotenv-0.9.1.tar.gz) = 11f5f3f07b7673d2c78cb0d73594a640789b0cb973c0b5326a317cd4e8cec062f1d2a513b9acd119679d64b9ed6c6812715c23766e41a0f8b40721bfce1aacda +SHA512 (python-dotenv-0.13.0.tar.gz) = da1fc6f513ab7492a73bf6c4548ccc2d804c82e08d44e719d37cd4fc24078f7864f17ca5413156369a804deaaf76be0b579c31a4827db4756279b5b0627cea9d