14
0

- Update to 0.10.2:

* Add type hints and expose them to users (@qnighy)(#172)
  * load_dotenv and dotenv_values now accept an encoding parameter, defaults to None (@theskumar)(@earlbread)(#161)
  * Fix str/unicode inconsistency in Python 2: values are always str now. (@bbc2)(#121)
  * Fix Unicode error in Python 2, introduced in 0.10.0. (@bbc2)(#176)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal
2019-05-25 09:00:13 +00:00
committed by Git OBS Bridge
parent 44e50b1cc0
commit 9baf85d349
4 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a350dc7fe9308ad8897f24a10c1654cc4ba2bcf2db02e557163a694e5d74126
size 16627

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:15f76426bd39ac5ab2e27a819e521450ae3e9c0d85900a352b6e9484f6f4c808
size 18837

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat May 25 08:58:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.10.2:
* Add type hints and expose them to users (@qnighy)(#172)
* load_dotenv and dotenv_values now accept an encoding parameter, defaults to None (@theskumar)(@earlbread)(#161)
* Fix str/unicode inconsistency in Python 2: values are always str now. (@bbc2)(#121)
* Fix Unicode error in Python 2, introduced in 0.10.0. (@bbc2)(#176)
-------------------------------------------------------------------
Thu Mar 7 15:42:54 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-dotenv
Version: 0.10.1
Version: 0.10.2
Release: 0
Summary: Python library for .env support
License: BSD-3-Clause
@@ -63,7 +63,7 @@ mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig
export PATH=%{buildroot}%{_bindir}:$PATH
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
cp %{buildroot}%{_bindir}/dotenv-%{$python_bin_suffix} %{buildroot}%{_bindir}/dotenv
$python -m pytest
$python -m pytest -v
}
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv