diff --git a/execnet-1.7.1.tar.gz b/execnet-1.7.1.tar.gz deleted file mode 100644 index 6bc3093e0f3a45cf38d4e702ebd63b6ad1132b7c..0000000000000000000000000000000000000000 Binary files a/execnet-1.7.1.tar.gz and /dev/null differ diff --git a/execnet-1.9.0.tar.gz b/execnet-1.9.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..54b2619dcd44dab2759765e992924c2de5e8b504 Binary files /dev/null and b/execnet-1.9.0.tar.gz differ diff --git a/python-execnet.spec b/python-execnet.spec index bf9649b82a822b2a79dc6a8b56d7a2d7ab695022..f0fc40e9797728b08118409b4e5c83577a885029 100644 --- a/python-execnet.spec +++ b/python-execnet.spec @@ -1,59 +1,93 @@ +%global _empty_manifest_terminate_build 0 Name: python-execnet -Version: 1.7.1 +Version: 1.9.0 Release: 1 -Summary: Rapid multi-Python deployment -License: MIT and GPLv2+ -URL: http://codespeak.net/execnet -Source0: https://pypi.io/packages/source/e/execnet/execnet-%{version}.tar.gz +Summary: execnet: rapid multi-Python deployment +License: MIT +URL: https://execnet.readthedocs.io/en/latest/ +Source0: https://files.pythonhosted.org/packages/7a/3c/b5ac9fc61e1e559ced3e40bf5b518a4142536b34eb274aa50dff29cb89f5/execnet-1.9.0.tar.gz BuildArch: noarch -BuildRequires: procps-ng %description -execnet provides carefully tested means to ad-hoc interact with Python interpreters across version, -platform and network barriers. It provides a minimal and fast API targetting the following uses: -distribute tasks to local or remote processes -write and deploy hybrid multi-process applications -write scripts to administer multiple hosts - -%package -n python3-execnet -Summary: Rapid multi-Python deployment -BuildRequires: python3-apipkg python3-devel python3-pytest python3-setuptools -BuildRequires: python3-setuptools_scm python3-sphinx -%{?python_provide:%python_provide python3-execnet} +execnet: distributed Python deployment and communication Important **execnet +currently is in maintenance-only mode, mostly because it is still the backend of +the pytest-xdist plugin. Do not use in new projects.* .. image:: . +%package -n python3-execnet +Summary: execnet: rapid multi-Python deployment +Provides: python-execnet +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +# Tests running requires +#BuildRequires: python3-pytest +BuildRequires: python3-pre-commit +# Tests running requires +Requires: python3-pre-commit %description -n python3-execnet -execnet provides carefully tested means to ad-hoc interact with Python interpreters across version, -platform and network barriers. It provides a minimal and fast API targetting the following uses: -distribute tasks to local or remote processes -write and deploy hybrid multi-process applications -write scripts to administer multiple hosts +execnet: distributed Python deployment and communication Important **execnet +currently is in maintenance-only mode, mostly because it is still the backend of +the pytest-xdist plugin. Do not use in new projects.* .. image:: . -%prep -%autosetup -n execnet-%{version} -p1 +%package help +Summary: execnet: rapid multi-Python deployment +Provides: python3-execnet-doc +%description help +execnet: distributed Python deployment and communication Important **execnet +currently is in maintenance-only mode, mostly because it is still the backend of +the pytest-xdist plugin. Do not use in new projects.* .. image:: . -find . -type f -a \( -name '*.py' -o -name 'py.*' \) \ - -exec sed -i '1{/^#!/d}' {} \; \ - -exec chmod 644 {} \; +%prep +%autosetup -n execnet-%{version} %build -SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %py3_build -make -C doc html PYTHONPATH=$(pwd) -rm -f doc/_build/html/.buildinfo %install -SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + %check -PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" py.test-%{python3_version} -r s -k 'not test_stdouterrin_setnull' testing +#PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" py.test-%{python3_version} -r s -k 'not test_stdouterrin_setnull' testing +PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" py.test -r s -k 'not test_stdouterrin_setnull' testing + +%files -n python3-execnet -f filelist.lst +%dir %{python3_sitelib}/* -%files -n python3-execnet -%license LICENSE -%doc README.rst CHANGELOG.rst -%doc doc/_build/html -%{python3_sitelib}/execnet* +%files help -f doclist.lst +%{_docdir}/* %changelog +* Thu May 26 2022 OpenStack_SIG - 1.9.0-1 +- Upgrade package python3-execnet to version 1.9.0 + * Mon Aug 10 2020 lingsheng - 1.7.1-1 - Update to 1.7.1