Accepting request 622954 from devel:languages:python
- drop -doc subpackage - causes circular dependency with python-requests -> python-hypothesis -> python-Babel (forwarded request 622953 from mimi_vx) OBS-URL: https://build.opensuse.org/request/show/622954 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-execnet?expand=0&rev=5
This commit is contained in:
parent
5d48ddf562
commit
50cd985542
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 15 23:10:06 UTC 2018 - mimi.vx@gmail.com
|
||||||
|
|
||||||
|
- drop -doc subpackage - causes circular dependency with python-requests ->
|
||||||
|
python-hypothesis -> python-Babel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Nov 11 17:20:57 UTC 2017 - arun@gmx.de
|
Sat Nov 11 17:20:57 UTC 2017 - arun@gmx.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-execnet
|
# spec file for package python-execnet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -23,19 +23,17 @@ Release: 0
|
|||||||
Summary: Rapid multi-Python deployment
|
Summary: Rapid multi-Python deployment
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Url: http://codespeak.net/execnet/
|
URL: http://codespeak.net/execnet/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/e/execnet/execnet-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
# test requirements
|
# test requirements
|
||||||
BuildRequires: %{python_module apipkg}
|
BuildRequires: %{python_module apipkg}
|
||||||
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-Sphinx
|
|
||||||
Requires: python-apipkg
|
Requires: python-apipkg
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -54,13 +52,6 @@ API targetting the following uses:
|
|||||||
%setup -q -n execnet-%{version}
|
%setup -q -n execnet-%{version}
|
||||||
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation and examples for %{name}
|
|
||||||
Group: Documentation/Other
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
This package contains documentation and examples for %{name}.
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
# fix non-executable-script error
|
# fix non-executable-script error
|
||||||
@ -68,22 +59,15 @@ sed -i "1d" execnet/script/shell.py execnet/script/socketserver.py
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%{_python_use_flavor python3}
|
|
||||||
%__python3 setup.py build_sphinx
|
|
||||||
rm build/sphinx/html/.buildinfo build/sphinx/html/objects.inv
|
|
||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_expand PYTHONPATH=build/lib py.test-%{$python_version} -r s -k"-test_gateway" testing
|
%python_expand PYTHONPATH=build/lib py.test-%{$python_version} -r s -k"-test_gateway" testing
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc CHANGELOG.rst LICENSE README.rst
|
%doc CHANGELOG.rst README.rst
|
||||||
%{python_sitelib}/execnet
|
%{python_sitelib}/execnet
|
||||||
%{python_sitelib}/execnet-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/execnet-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
%files %{python_files doc}
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc build/sphinx/html
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user