[packages/python3-execnet] - python-execnet.spec updated to 2.1.1 for python 3.8+
qboosh
qboosh at pld-linux.org
Sat Jun 28 19:02:44 CEST 2025
commit ae3547d9d6f162ec5b788a4d6eb28ad3d8540630
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 28 19:04:08 2025 +0200
- python-execnet.spec updated to 2.1.1 for python 3.8+
python-execnet.spec | 167 ---------------------------------------------------
python3-execnet.spec | 102 +++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+), 167 deletions(-)
---
diff --git a/python-execnet.spec b/python-execnet.spec
deleted file mode 100644
index 8e38d1e..0000000
--- a/python-execnet.spec
+++ /dev/null
@@ -1,167 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_without python3 # CPython 3.x module
-%bcond_without doc # Sphinx documentation
-%bcond_with tests # py.test based tests [use network, need some environment]
-
-%define module execnet
-Summary: Rapid multi-Python deployment
-Summary(pl.UTF-8): Szybkie wdrożenia na wielu Pythonach
-Name: python-%{module}
-Version: 1.9.0
-Release: 6
-License: MIT
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/execnet/
-Source0: https://files.pythonhosted.org/packages/source/e/execnet/%{module}-%{version}.tar.gz
-# Source0-md5: 69f7f721586d5a02b66cac7cb388b7e3
-URL: https://codespeak.net/execnet/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools >= 1:7.0
-BuildRequires: python-setuptools_scm
-%if %{with tests}
-BuildRequires: python-py
-BuildRequires: python-pytest
-BuildRequires: python-pytest-timeout
-%endif
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.5
-BuildRequires: python3-setuptools >= 1:7.0
-BuildRequires: python3-setuptools_scm
-%if %{with tests}
-BuildRequires: python3-py
-BuildRequires: python3-pytest
-BuildRequires: python3-pytest-timeout
-%endif
-%endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-%if %{with doc}
-BuildRequires: sphinx-pdg
-%endif
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%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
-
-%description -l pl.UTF-8
-execnet dostarcza uważnie przetestowane narzędzia do interakcji z
-interpreterami Pythona zainstalowanych w różnych wersjach, na różnych
-platformach i w różnych sieciach. Zapewnia minimalne i szybkie API
-przeznaczone do następujących zastosowań:
- - rozpraszania zadań na lokalne lub zdalne procesy
- - pisania i wdrażania wieloprocesowych aplikacji hybrydowych
- - pisania skryptów do administrowania wieloma hostami
-
-%package -n python3-%{module}
-Summary: Rapid multi-Python deployment
-Summary(pl.UTF-8): Szybkie wdrożenia na wielu Pythonach
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.5
-
-%description -n python3-%{module}
-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
-
-%description -n python3-%{module} -l pl.UTF-8
-execnet dostarcza uważnie przetestowane narzędzia do interakcji z
-interpreterami Pythona zainstalowanych w różnych wersjach, na różnych
-platformach i w różnych sieciach. Zapewnia minimalne i szybkie API
-przeznaczone do następujących zastosowań:
- - rozpraszania zadań na lokalne lub zdalne procesy
- - pisania i wdrażania wieloprocesowych aplikacji hybrydowych
- - pisania skryptów do administrowania wieloma hostami
-
-%package apidocs
-Summary: API documentation for Python execnet module
-Summary(pl.UTF-8): Dokumentacja API modułu Pythona execnet
-Group: Documentation
-
-%description apidocs
-API documentation for Python execnet module.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API modułu Pythona execnet.
-
-%prep
-%setup -q -n %{module}-%{version}
-
-%build
-%if %{with python2}
-%py_build
-
-%if %{with tests}
-PYTHONPATH=$(pwd) \
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="pytest_timeout" \
-%{__python} -m pytest testing --timeout=20
-%endif
-%endif
-
-%if %{with python3}
-%py3_build
-
-%if %{with tests}
-PYTHONPATH=$(pwd) \
-PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS="pytest_timeout" \
-%{__python3} -m pytest testing --timeout=20
-%endif
-%endif
-
-%if %{with doc}
-%{__make} -C doc html
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-# no %%py_postclean !
-# the source code might be run on a remote machine
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc CHANGELOG.rst ISSUES.txt LICENSE README.rst
-%{py_sitescriptdir}/%{module}
-%{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-%{module}
-%defattr(644,root,root,755)
-%doc CHANGELOG.rst ISSUES.txt LICENSE README.rst
-%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
-%endif
-
-%if %{with doc}
-%files apidocs
-%defattr(644,root,root,755)
-%doc doc/_build/html/{_images,_static,example,*.html,*.js}
-%endif
diff --git a/python3-execnet.spec b/python3-execnet.spec
new file mode 100644
index 0000000..5d1022f
--- /dev/null
+++ b/python3-execnet.spec
@@ -0,0 +1,102 @@
+#
+# Conditional build:
+%bcond_without doc # Sphinx documentation
+%bcond_with tests # pytest based tests [use network, need some environment]
+
+%define module execnet
+Summary: Rapid multi-Python deployment
+Summary(pl.UTF-8): Szybkie wdrożenia na wielu Pythonach
+Name: python3-%{module}
+Version: 2.1.1
+Release: 1
+License: MIT
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/execnet/
+Source0: https://files.pythonhosted.org/packages/source/e/execnet/%{module}-%{version}.tar.gz
+# Source0-md5: f533366fb5b8fd802a9c4d15d6ca9796
+URL: https://codespeak.net/execnet/
+BuildRequires: python3-build
+BuildRequires: python3-hatch-vcs
+BuildRequires: python3-hatchling
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.8
+%if %{with tests}
+BuildRequires: python3-py
+BuildRequires: python3-pytest
+BuildRequires: python3-pytest-timeout
+%endif
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+%if %{with doc}
+BuildRequires: sphinx-pdg-3
+%endif
+Requires: python3-modules >= 1:3.8
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+
+%description -l pl.UTF-8
+execnet dostarcza uważnie przetestowane narzędzia do interakcji z
+interpreterami Pythona zainstalowanych w różnych wersjach, na różnych
+platformach i w różnych sieciach. Zapewnia minimalne i szybkie API
+przeznaczone do następujących zastosowań:
+ - rozpraszania zadań na lokalne lub zdalne procesy
+ - pisania i wdrażania wieloprocesowych aplikacji hybrydowych
+ - pisania skryptów do administrowania wieloma hostami
+
+%package apidocs
+Summary: API documentation for Python execnet module
+Summary(pl.UTF-8): Dokumentacja API modułu Pythona execnet
+Group: Documentation
+
+%description apidocs
+API documentation for Python execnet module.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API modułu Pythona execnet.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+%py3_build_pyproject
+
+%if %{with tests}
+PYTHONPATH=$(pwd)/src \
+PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
+PYTEST_PLUGINS="pytest_timeout" \
+%{__python3} -m pytest testing --timeout=20
+%endif
+
+%if %{with doc}
+PYTHONPATH=$(pwd)/src \
+%{__make} -C doc html \
+ SPHINXBUILD=sphinx-build-3
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE README.rst
+%{py3_sitescriptdir}/execnet
+%{py3_sitescriptdir}/execnet-%{version}.dist-info
+
+%if %{with doc}
+%files apidocs
+%defattr(644,root,root,755)
+%doc doc/_build/html/{_images,_static,example,*.html,*.js}
+%endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-execnet.git/commitdiff/ae3547d9d6f162ec5b788a4d6eb28ad3d8540630
More information about the pld-cvs-commit
mailing list