forked from pool/python-python-dotenv
Accepting request 682530 from home:jayvdb:py-check-failures
- Add LANG=C.UTF-8 to %check to fix tests on Leap - Rename tarball to match name provided by PyPI OBS-URL: https://build.opensuse.org/request/show/682530 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dotenv?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
f613ec3245
commit
44e50b1cc0
@@ -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>
|
||||
|
||||
|
@@ -24,7 +24,7 @@ Summary: Python library for .env support
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
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 jupyter_ipython}
|
||||
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}
|
||||
|
||||
%check
|
||||
export LANG=C.UTF-8
|
||||
mv %{buildroot}%{_bindir}/dotenv %{buildroot}%{_bindir}/dotenv.orig
|
||||
# CLI tests require distribution to be found, and the correct executable installed
|
||||
export PATH=%{buildroot}%{_bindir}:$PATH
|
||||
|
Reference in New Issue
Block a user