From 7fac8568f644489fd44c668f72190676dccbf9cc Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Sep 2025 10:07:31 +0000 Subject: automatic import of python-billiard --- .gitignore | 1 + python-billiard.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 88 insertions(+) create mode 100644 python-billiard.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..e6c4f20 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/billiard-4.2.0.tar.gz diff --git a/python-billiard.spec b/python-billiard.spec new file mode 100644 index 0000000..f0327ce --- /dev/null +++ b/python-billiard.spec @@ -0,0 +1,86 @@ +%global _empty_manifest_terminate_build 0 +Name: python-billiard +Version: 4.2.0 +Release: 1 +Summary: Python multiprocessing fork with improvements and bugfixes +License: BSD-3-Clause +URL: https://github.com/celery/billiard +Source0: https://files.pythonhosted.org/packages/09/52/f10d74fd56e73b430c37417658158ad8386202b069b70ff97d945c3ab67a/billiard-4.2.0.tar.gz +BuildArch: noarch + + +%description +Multiprocessing Pool Extensions + +%package -n python3-billiard +Summary: Python multiprocessing fork with improvements and bugfixes +Provides: python-billiard +BuildRequires: python3-devel +BuildRequires: python3-setuptools +%description -n python3-billiard +Multiprocessing Pool Extensions + +%package help +Summary: Development documents and examples for billiard +Provides: python3-billiard-doc +%description help +Multiprocessing Pool Extensions + +%prep +%autosetup -n billiard-%{version} + +%build +%py3_build + +%install +%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 . + +%files -n python3-billiard -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Mon Mar 25 2024 zhaojingyu - 4.2.0-1 +- Update version to 4.2.0 + +* Thu Dec 15 2022 wenzhiwei - 4.1.0-1 +- update to 4.1.0 + +* Tue Oct 25 2022 liqiuyu - 4.0.2-1 +- Upgrade package to version 4.0.2 + +* Tue May 10 2022 wulei - 3.6.4.0-3 +- License compliance rectification + +* Fri Apr 22 2022 liqiuyu - 3.6.4.0-2 +- Add zlib to buildrequires + +* Tue Oct 12 2021 Python_Bot - 3.6.4.0-1 +- Package Init diff --git a/sources b/sources new file mode 100644 index 0000000..477e2b1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +93b1679438c5d24d170ed70ee03cdd53 billiard-4.2.0.tar.gz -- cgit v1.2.3