14
0

Accepting request 853582 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/853582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=9
This commit is contained in:
2020-12-12 19:28:58 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 6 deletions

View File

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

View File

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

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Dec 7 00:42:19 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Skip testing with optional jupyter_ipython. Jupyter is only
available for Python >= 3.7
gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Wed Dec 2 17:16:41 UTC 2020 - Michael Ströder <michael@stroeder.com>
- Update to 0.15.0
* Add --export option to set to make it prepend the binding with export (#270 by @jadutter).
* Make set command create the .env file in the current directory if no .env file was found (#270 by @jadutter).
* Fix potentially empty expanded value for duplicate key (#260 by @bbc2).
* Fix import error on Python 3.5.0 and 3.5.1 (#267 by @gongqingkui).
* Fix parsing of unquoted values containing several adjacent space or tab characters (#277 by @bbc2, review by @x-yuri).
-------------------------------------------------------------------
Wed Aug 5 13:46:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -18,14 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-dotenv
Version: 0.14.0
Version: 0.15.0
Release: 0
Summary: Python library for .env support
License: BSD-3-Clause
URL: https://github.com/theskumar/python-dotenv
Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz#/python-dotenv-%{version}.tar.gz
BuildRequires: %{python_module click >= 5.0}
BuildRequires: %{python_module jupyter_ipython}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest >= 3.0.5}
BuildRequires: %{python_module setuptools}
@@ -65,7 +64,8 @@ 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 -v
# ipython is optional and only available for python >= 3.7 in Tumbleweed
$python -m pytest -v -k "not ipython"
}
mv %{buildroot}%{_bindir}/dotenv.orig %{buildroot}%{_bindir}/dotenv