forked from pool/python-sphinxcontrib-programoutput
Accepting request 731365 from home:jayvdb:py3only
- Remove tests from runtime installation - Update to v0.15 * Make the test suite stop assuming the presence of a 'python' executable on the path. Instead it uses ``sys.executable`` (which shouldn't have spaces). Note that it does continue to assume the presence of other executables, such as 'echo' OBS-URL: https://build.opensuse.org/request/show/731365 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-programoutput?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
2ee3d53918
commit
b8073239e4
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 16 11:42:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Remove tests from runtime installation
|
||||||
|
- Update to v0.15
|
||||||
|
* Make the test suite stop assuming the presence of a 'python'
|
||||||
|
executable on the path. Instead it uses ``sys.executable``
|
||||||
|
(which shouldn't have spaces). Note that it does continue to
|
||||||
|
assume the presence of other executables, such as 'echo'
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
Wed Jun 19 07:28:43 UTC 2019 - Thomas Bechtold <tbechtold@suse.com>
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
Name: python-sphinxcontrib-programoutput
|
Name: python-sphinxcontrib-programoutput
|
||||||
Version: 0.14
|
Version: 0.15
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Sphinx extension to include program output
|
Summary: Sphinx extension to include program output
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@@ -51,10 +51,13 @@ export LANG=en_US.UTF-8
|
|||||||
%install
|
%install
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/sphinxcontrib/programoutput/tests/
|
||||||
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
}
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
|
# https://github.com/NextThought/sphinxcontrib-programoutput/issues/38
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
%endif
|
%endif
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:75b182e9e8cf7efe828cac2c351bb737b00a76bc3aa60fd1a9b2b7096e99c383
|
|
||||||
size 21398
|
|
3
sphinxcontrib-programoutput-0.15.tar.gz
Normal file
3
sphinxcontrib-programoutput-0.15.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:80dd5b4eab780a13ff2c23500cac3dbf0e04ef9976b409ef25a47c263ef8ab94
|
||||||
|
size 21772
|
Reference in New Issue
Block a user