diff --git a/concatenated.fastq.gz b/concatenated.fastq.gz deleted file mode 100644 index 2ff8b89..0000000 --- a/concatenated.fastq.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cb22726d477bafe5b6f8bab6a48e160944580e6697efe805513ba8a33b372747 -size 92680 diff --git a/python-zlib-ng.changes b/python-zlib-ng.changes index 07c50a0..3b8de9e 100644 --- a/python-zlib-ng.changes +++ b/python-zlib-ng.changes @@ -1,7 +1,30 @@ +------------------------------------------------------------------- +Fri Nov 22 17:33:04 UTC 2024 - Dirk Müller + +- update to 0.5.1: + * Fix a bug where flushing in threaded mode did not write the + data to the output file. + * Threaded reading and writing do no longer block exiting + when an exception occurs in the main thread. +- update to 0.5.0: + * Fix a bug where READ and WRITE in zlib_ng.gzip_ng were + inconsistent with the values in gzip on Python 3.13 + * Small simplifications to the ``gzip_ng.compress`` and + ``gzip_ng.decompress`` functions, which should lead to less + overhead. +- update to 0.4.3: + * Fix a bug where files larger than 4GB could not be + decompressed. +- update to 0.4.2: + * Fix a reference counting error that happened on module + initialization and triggered an error in the CPython debug + build. + * Fix a setup.py error that was triggered on MacOS ARM64. + ------------------------------------------------------------------- Tue Nov 19 11:53:31 UTC 2024 - Dirk Müller -- builda gainst modern python on sle15 +- build against modern python on sle15 ------------------------------------------------------------------- Sat Mar 16 14:42:27 UTC 2024 - Dirk Müller diff --git a/python-zlib-ng.spec b/python-zlib-ng.spec index 77c00cc..04f43b2 100644 --- a/python-zlib-ng.spec +++ b/python-zlib-ng.spec @@ -27,20 +27,18 @@ %{?sle15_python_module_pythons} Name: python-zlib-ng%{psuffix} -Version: 0.4.1 +Version: 0.5.1 Release: 0 License: Python-2.0 Summary: Faster zlib and gzip compatible compression and decompression Group: Development/Languages/Python URL: https://github.com/pycompression/python-zlib-ng -Source0: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib-ng-%{version}.tar.gz -Source1: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/concatenated.fastq.gz -Source2: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/seeds.txt -Source3: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/test.fastq.bgzip.gz -Source4: https://github.com/pycompression/python-zlib-ng/raw/v%{version}/tests/data/test.fastq.gz +Source0: https://files.pythonhosted.org/packages/source/z/zlib-ng/zlib_ng-%{version}.tar.gz +Source1: https://github.com/pycompression/python-zlib-ng/archive/refs/tags/v%{version}.tar.gz#/zlib-ng-%{version}-gh.tar.gz BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module versioningit} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -59,9 +57,7 @@ Faster zlib and gzip compatible compression and decompression by providing Pytho This package provides Python bindings for the zlib-ng library. %prep -%setup -q -n zlib-ng-%{version} -mkdir tests/data -cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} tests/data/ +%setup -q -a1 -n zlib_ng-%{version} %build %if !%{with test} diff --git a/seeds.txt b/seeds.txt deleted file mode 100644 index 0df5318..0000000 --- a/seeds.txt +++ /dev/null @@ -1,100 +0,0 @@ -3543943125 -2012239574 -2871899840 -1576915383 -443567851 -3239180423 -3373382826 -3275169686 -3720569364 -2789290573 -618407468 -3601134391 -257166085 -951339096 -688447921 -2980268332 -4041231849 -2665838137 -2152080166 -3061402473 -114075645 -1066757169 -3059147274 -246562262 -3880192386 -4271112646 -3614603334 -3491130170 -332943583 -1921692081 -159629030 -4169931400 -641090334 -2429776133 -152825723 -2237958331 -2779470898 -872209389 -1543398313 -227922013 -1433480097 -2411689409 -4285411687 -2669236754 -2315690542 -2593947855 -2435538281 -640615264 -2183831503 -2141774460 -498759490 -1981068107 -659087394 -644660319 -4084740067 -306553019 -4172422758 -761521931 -2820900477 -160799031 -3875345091 -1347385004 -2312301814 -404607200 -2258507054 -1861096434 -3113292015 -1063461481 -3623153239 -11376533 -1748307784 -1185247326 -1030491484 -3925346575 -4212727269 -4234599042 -4019013354 -3237401702 -1335471143 -3405720069 -4119823939 -1476030215 -1339973082 -3541240200 -608243180 -4149852723 -3655893277 -2099999624 -3547173299 -860208608 -4254465956 -603882225 -1785239865 -3260029982 -83829029 -3136481952 -2052207849 -1971968310 -2157083216 -3415051802 diff --git a/test.fastq.bgzip.gz b/test.fastq.bgzip.gz deleted file mode 100644 index 24d949d..0000000 --- a/test.fastq.bgzip.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:95c770e328b56169ab48a3f1681dca55719924409b2e3d3b24a6e74d8bce6d5b -size 1556539 diff --git a/test.fastq.gz b/test.fastq.gz deleted file mode 100644 index 233d5db..0000000 --- a/test.fastq.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:110fd6cd976092bb0fee2a828c9aeb7a03224c4428a1438b02a6b590e4759a68 -size 1660692 diff --git a/zlib-ng-0.4.1.tar.gz b/zlib-ng-0.4.1.tar.gz deleted file mode 100644 index 6183172..0000000 --- a/zlib-ng-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:153183724143711c92bd243528b97fdd3b2426c778079498b882fce445a68421 -size 2459224 diff --git a/zlib-ng-0.5.1-gh.tar.gz b/zlib-ng-0.5.1-gh.tar.gz new file mode 100644 index 0000000..303e220 --- /dev/null +++ b/zlib-ng-0.5.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c88d03c7727f97018e1bddd54bd341942ca45659368b4a772167f22d34f2fa50 +size 3381700 diff --git a/zlib_ng-0.5.1.tar.gz b/zlib_ng-0.5.1.tar.gz new file mode 100644 index 0000000..addc156 --- /dev/null +++ b/zlib_ng-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32a46649e8efc21ddd74776a55366a8d8be4e3a95b93dc1f0ffe3880718990d9 +size 2436421