diff --git a/python-queuelib.spec b/python-queuelib.spec index c300af4f8d43ead74bd5e8bdb3999ef828559920..a2d15d62032cc75df609a8326d95355ecbcb6da4 100644 --- a/python-queuelib.spec +++ b/python-queuelib.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-queuelib -Version: 1.7.0 +Version: 1.8.0 Release: 1 Summary: Collection of persistent (disk-based) and non-persistent (memory-based) queues License: BSD URL: https://github.com/scrapy/queuelib -Source0: https://files.pythonhosted.org/packages/fb/a4/8af5d8ee3526c64a152549a1c7b42896be9fae9a2fda7712883dc09822ac/queuelib-1.7.0.tar.gz +Source0: https://files.pythonhosted.org/packages/4c/78/9ace6888cf6d390c9aec3ba93020838b08934959b544a7f10b15db815d29/queuelib-1.8.0.tar.gz BuildArch: noarch @@ -17,6 +17,8 @@ Summary: Collection of persistent (disk-based) and non-persistent (memory-based) Provides: python-queuelib BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-hatchling %description -n python3-queuelib Queuelib is a collection of persistent (disk-based) and non-persistent (memory-based) queues for Python. @@ -27,46 +29,27 @@ Provides: python3-queuelib-doc Development documents and examples for queuelib %prep -%autosetup -n queuelib-1.7.0 +%autosetup -n queuelib-1.8.0 %build -%py3_build +%pyproject_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 . +%pyproject_install -%files -n python3-queuelib -f filelist.lst -%dir %{python3_sitelib}/* +%files -n python3-queuelib +%{python3_sitelib}/* -%files help -f doclist.lst -%{_docdir}/* +%files help +%license LICENSE +%doc README.rst NEWS %changelog +* Wed Aug 06 2025 xieyanlong - 1.8.0-1 +- Queue classes now accept ``os.PathLike`` paths +- Improved linting and CI configuration +- Added support for Python 3.13 and PyPy 3.11 + * Fri May 10 2024 xieyanlong - 1.7.0-1 - Added support for Python 3.10-3.12 and PyPy 3.10 diff --git a/queuelib-1.7.0.tar.gz b/queuelib-1.7.0.tar.gz deleted file mode 100644 index 2a74c496b4787068f5dffdf309bc2792ac1d5ae4..0000000000000000000000000000000000000000 Binary files a/queuelib-1.7.0.tar.gz and /dev/null differ diff --git a/queuelib-1.8.0.tar.gz b/queuelib-1.8.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3a182f37196946697d080e714de58add9d6b54c4 Binary files /dev/null and b/queuelib-1.8.0.tar.gz differ