commit:     96808ab4bd62ff07ba791b8f08bbaa5a79741316
Author:     Zen <z <AT> pyl <DOT> onl>
AuthorDate: Fri Feb 14 20:44:30 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 14:46:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96808ab4

dev-python/pycpio: add 1.5.1 with optional zstd support, completion

Signed-off-by: Zen <z <AT> pyl.onl>
Closes: https://github.com/gentoo/gentoo/pull/40577
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/pycpio/Manifest            |  2 +-
 dev-python/pycpio/pycpio-1.5.1.ebuild | 41 +++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 1 deletion(-)

diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest
index 1ce9c41bec4d..3e6d13948d9f 100644
--- a/dev-python/pycpio/Manifest
+++ b/dev-python/pycpio/Manifest
@@ -1,2 +1,2 @@
 DIST pycpio-1.4.2.gh.tar.gz 22690 BLAKE2B 
244145dabdee1fa50e54f98327608b96afef354d53e1405e2e54c47d9cc8a71c80e4adfe8f1c7a079a9acdd30751f125e7b5db61cd34baf375433248c7370757
 SHA512 
7fe6b7e6597a8733d740348888b5c41aa37f08e2ecd5843ab32751e8a5cd6ce9390201ba5a47c3febd2f61562db4ce6724404f9359238de91f94f4bc12b9c41b
-DIST pycpio-1.5.0.gh.tar.gz 23293 BLAKE2B 
a01a62f2caf687956be65256a5ebde9c65d084a425f7777cc253f233e3ddd479b8220173417573b665d0271eb77397eadb2a8698f33d3794efd3243a96d0d63c
 SHA512 
ae8ab8dcb852f40721f8cccac6235824d01349d0372d2931d456297cbe9899b071030fac46f564fe5f0e7ecf77b325245f5153e726520f16bbb4832c44eb34a2
+DIST pycpio-1.5.1.gh.tar.gz 23307 BLAKE2B 
4c922cb5ced9f34143426ed60b76d0556ad7417bab73fb5ee6c23f2dd77666051c4a96347d54f212a1d640d34c4ef5ecdbc20f8e0d67a19d58f47e1902f8a07f
 SHA512 
2b905cc655bd4b1b37d0fc7dca68a094c63104bac3898e3faf6855772af939d6128720fe560edf332d6623a6b4e3a1107f723a4cc9adcec3177ccd23c369eedf

diff --git a/dev-python/pycpio/pycpio-1.5.1.ebuild 
b/dev-python/pycpio/pycpio-1.5.1.ebuild
new file mode 100644
index 000000000000..1ca104f5e5b8
--- /dev/null
+++ b/dev-python/pycpio/pycpio-1.5.1.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/zstd[${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/zstd
+}

Reply via email to