commit: 7239623746d8dacbbd7a219d882fed054762177a
Author: Zen <z <AT> pyl <DOT> onl>
AuthorDate: Sun Feb 23 21:06:55 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 24 03:06:34 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72396237
dev-python/pycpio: add 1.5.2 using zstandard instead of zstd
Signed-off-by: Zen <z <AT> pyl.onl>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pycpio/Manifest | 1 +
dev-python/pycpio/pycpio-1.5.2.ebuild | 41 +++++++++++++++++++++++++++++++++++
2 files changed, 42 insertions(+)
diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest
index 3e6d13948d9f..a140a62a3289 100644
--- a/dev-python/pycpio/Manifest
+++ b/dev-python/pycpio/Manifest
@@ -1,2 +1,3 @@
DIST pycpio-1.4.2.gh.tar.gz 22690 BLAKE2B
244145dabdee1fa50e54f98327608b96afef354d53e1405e2e54c47d9cc8a71c80e4adfe8f1c7a079a9acdd30751f125e7b5db61cd34baf375433248c7370757
SHA512
7fe6b7e6597a8733d740348888b5c41aa37f08e2ecd5843ab32751e8a5cd6ce9390201ba5a47c3febd2f61562db4ce6724404f9359238de91f94f4bc12b9c41b
DIST pycpio-1.5.1.gh.tar.gz 23307 BLAKE2B
4c922cb5ced9f34143426ed60b76d0556ad7417bab73fb5ee6c23f2dd77666051c4a96347d54f212a1d640d34c4ef5ecdbc20f8e0d67a19d58f47e1902f8a07f
SHA512
2b905cc655bd4b1b37d0fc7dca68a094c63104bac3898e3faf6855772af939d6128720fe560edf332d6623a6b4e3a1107f723a4cc9adcec3177ccd23c369eedf
+DIST pycpio-1.5.2.gh.tar.gz 23297 BLAKE2B
23f66aafa7215f6cece1b64f99fc7d720a0f6e98a96bf56f83b11ec4e5f75cd4f37315852ef57ecedac62520daa7c676f59489ee9d42b7ad9ccf695679fa79b1
SHA512
938f4a4d17ef414a0849c3104f0dcc4f9291bf4f4c0f76fd33e53b30e369408d7de8595ab79ea9740a5e7746527e22ab702dc3271cf1490980713ff0dc595847
diff --git a/dev-python/pycpio/pycpio-1.5.2.ebuild
b/dev-python/pycpio/pycpio-1.5.2.ebuild
new file mode 100644
index 000000000000..14360adadea2
--- /dev/null
+++ b/dev-python/pycpio/pycpio-1.5.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 optfeature shell-completion
+
+DESCRIPTION="Python CPIO library"
+HOMEPAGE="https://github.com/desultory/pycpio/"
+SRC_URI="
+ https://github.com/desultory/pycpio/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}]
+"
+
+BDEPEND="test? ( dev-python/zstandard[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests unittest
+
+python_test() {
+ eunittest tests
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dozshcomp completion/_pycpio # Install zsh autocomplete script
+}
+
+pkg_postinst() {
+ optfeature "zstd compression support" dev-python/zstandard
+}