forked from pool/python-python-dotenv
- 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:
committed by
Git OBS Bridge
parent
44e50b1cc0
commit
9baf85d349
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user