commit: 11571b1c1e77519f9f000ad4083a22079f1bf10c Author: Zen <z <AT> pyl <DOT> onl> AuthorDate: Wed Feb 4 20:45:07 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 5 08:57:07 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11571b1c
dev-python/pycpio: add 1.7.0 with python3.14, riscv, x86 support this version also has a toggle for CPIO deduplication which is disabled by default when used from the command line riscv support tested personally, x86 with the help of another user Signed-off-by: Zen <z <AT> pyl.onl> Part-of: https://github.com/gentoo/gentoo/pull/45643 Closes: https://github.com/gentoo/gentoo/pull/45643 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pycpio/Manifest | 1 + dev-python/pycpio/pycpio-1.7.0.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index ea6e8e52a754..f87f0fade774 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1 +1,2 @@ DIST pycpio-1.5.6.gh.tar.gz 23868 BLAKE2B 1c5a51948a84b6dc3f8b5ccfc21747dda27d560e719ffe2ee41ea48c3a988945e779f7b1a422554cb198b88f20f72ebcd8b183de3306309961b2c607b2ea3e91 SHA512 253aeb5b24997e99d06928f97e72b940043f028dbe069341427e94cd76a42f75c0dfbf376f801ed0d98de435a07dbb9407b3d28ff110c5c805b8523b67d88ae8 +DIST pycpio-1.7.0.gh.tar.gz 24738 BLAKE2B b4479df7b02bc2bc8751b1b833c0d82829383c9475544c11469facec172e2a54e4ee156e29b9a71c65bbd9ab7102448eee5c299e853bf470f39c3c55c4eff302 SHA512 9738f60ef52accfe228e51bf660552f09b189b99454e8d8ff2423150b446dd5977b6924ff88d7535ed2b1ce9d118146f674ab6e771ae27910ef4ec16919643d6 diff --git a/dev-python/pycpio/pycpio-1.7.0.ebuild b/dev-python/pycpio/pycpio-1.7.0.ebuild new file mode 100644 index 000000000000..b4e9726a8a5a --- /dev/null +++ b/dev-python/pycpio/pycpio-1.7.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +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 ~riscv ~x86" + +RDEPEND=" + >=dev-python/zenlib-3.3.0[${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 +}
