forked from pool/python-python-dotenv
Accepting request 682595 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/682595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dotenv?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 7 15:42:54 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Add LANG=C.UTF-8 to %check to fix tests on Leap
|
||||||
|
- Rename tarball to match name provided by PyPI
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 15 06:37:32 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
Fri Feb 15 06:37:32 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ Summary: Python library for .env support
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://github.com/theskumar/python-dotenv
|
URL: http://github.com/theskumar/python-dotenv
|
||||||
Source: https://github.com/theskumar/python-dotenv/archive/v%{version}.tar.gz
|
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 click >= 5.0}
|
||||||
BuildRequires: %{python_module jupyter_ipython}
|
BuildRequires: %{python_module jupyter_ipython}
|
||||||
BuildRequires: %{python_module pytest >= 3.0.5}
|
BuildRequires: %{python_module pytest >= 3.0.5}
|
||||||
@@ -57,6 +57,7 @@ Add .env support to your Fjango/Flask apps in development and deployments.
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export LANG=C.UTF-8
|
||||||
mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig
|
mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig
|
||||||
# CLI tests require distribution to be found, and the correct executable installed
|
# CLI tests require distribution to be found, and the correct executable installed
|
||||||
export PATH=%{buildroot}%{_bindir}:$PATH
|
export PATH=%{buildroot}%{_bindir}:$PATH
|
||||||
|
Reference in New Issue
Block a user