From 5322a58c4d842280a6c2e1027c14c45288bd2b98 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 15 Oct 2025 05:55:25 +0000 Subject: automatic import of python-billiard --- .gitignore | 1 + python-billiard.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 95 insertions(+) create mode 100644 python-billiard.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..19a023f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/billiard-4.2.1.tar.gz diff --git a/python-billiard.spec b/python-billiard.spec new file mode 100644 index 0000000..5c18da1 --- /dev/null +++ b/python-billiard.spec @@ -0,0 +1,93 @@ +%global _empty_manifest_terminate_build 0 +%define dist_tag %(sed -n 's/.*release \\([0-9]*\\)\.\\([0-9]*\\).*[Ss][Pp]\\([0-9]*\\).*/oe\\1\\2sp\\3/p; t; s/.*release \\([0-9]*\\)\.\\([0-9]*\\).*/oe\\1\\2/p' /etc/openEuler-release) + +Name: python-billiard +Version: 4.2.1 +Release: 1.%{?dist_tag} +Summary: Python multiprocessing fork with improvements and bugfixes +License: BSD-3-Clause +URL: https://github.com/celery/billiard +Source0: https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz +BuildArch: noarch + + +%description +Multiprocessing Pool Extensions + +%package -n python3-billiard +Summary: Python multiprocessing fork with improvements and bugfixes +Provides: python-billiard = %{version}-%{release} +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 +* Fri Oct 18 2024 jiangxinyu - 4.2.1-1 +- Update package to version 4.2.1 +- Adapt for logging lock internal changes in Python3.13 + Remove SIGUSR2 from TERMSIGS_DEAULT + +* 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..10b5939 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +67dfb22a28126cfdbfe9f8e0bcdc177d billiard-4.2.1.tar.gz -- cgit v1.2.3