From 82467ac1cde7eb933f319def3cdc9006df162ae6 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 13 Mar 2026 11:56:01 +0000 Subject: [PATCH] gnu: python-zipfile2: Move to python-compression. * gnu/packages/python-xyz.scm (python-zipfile2): Move from here ... * gnu/packages/python-compression.scm: ... to here. Change-Id: I70701db8244adc10b4c5777e55fed042bf3a06d5 --- gnu/packages/python-compression.scm | 24 ++++++++++++++++++++++++ gnu/packages/python-xyz.scm | 21 --------------------- 2 files changed, 24 insertions(+), 21 deletions(-) diff --git a/gnu/packages/python-compression.scm b/gnu/packages/python-compression.scm index 746402dde8..61d15462c9 100644 --- a/gnu/packages/python-compression.scm +++ b/gnu/packages/python-compression.scm @@ -938,6 +938,30 @@ files (.Z), such as the ones created by Unix's shell tool compress.") Python.") (license license:bsd-3))) +(define-public python-zipfile2 + (package + (name "python-zipfile2") + (version "0.0.12") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/itziakos/zipfile2/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest + python-setuptools)) + (home-page "https://github.com/itziakos/zipfile2/") + (synopsis "Improved @code{ZipFile} Python class") + (description + "Zipfile2 is a backward compatible replacement to @code{ZipFile}. It +provides handling of symlinks, and exception management.") + (license license:psfl))) + (define-public python-zipp (package (name "python-zipp") diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 239c25b59e..1fa0e8fdfb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -18284,27 +18284,6 @@ with Python's built-in unittest test-cases, but supports more advanced features, such as project-specific plugins.") (license license:bsd-3)))) -(define-public python-zipfile2 - (package - (name "python-zipfile2") - (version "0.0.12") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/itziakos/zipfile2/") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1hmq33r3ffrrvm5nggsp69cjdbgjbwn6zbcrs2rhmb8pds0h81q7")))) - (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-pytest)) - (home-page "https://github.com/itziakos/zipfile2/") - (synopsis "Improved @code{ZipFile} Python class") - (description "Zipfile2 is a backward compatible replacement to -@code{ZipFile}. It provides handling of symlinks, and exception management.") - (license license:psfl))) - (define-public python-okonomiyaki (package (name "python-okonomiyaki")