commit: 1205d7261dc66660ef4fdbc3ccafe4d9cff11791 Author: Zen <z <AT> pyl <DOT> onl> AuthorDate: Wed Jun 18 04:17:04 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Jun 18 07:30:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1205d726
dev-python/pycpio: add 1.5.4 Fixes a bug where list lookups could be attempted on an empty list Signed-off-by: Zen <z <AT> pyl.onl> Part-of: https://github.com/gentoo/gentoo/pull/42648 Closes: https://github.com/gentoo/gentoo/pull/42648 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/pycpio/Manifest | 1 + dev-python/pycpio/pycpio-1.5.4.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/pycpio/Manifest b/dev-python/pycpio/Manifest index 31ecfdb481e0..cf8529825ef5 100644 --- a/dev-python/pycpio/Manifest +++ b/dev-python/pycpio/Manifest @@ -1 +1,2 @@ DIST pycpio-1.5.2.gh.tar.gz 23297 BLAKE2B 23f66aafa7215f6cece1b64f99fc7d720a0f6e98a96bf56f83b11ec4e5f75cd4f37315852ef57ecedac62520daa7c676f59489ee9d42b7ad9ccf695679fa79b1 SHA512 938f4a4d17ef414a0849c3104f0dcc4f9291bf4f4c0f76fd33e53b30e369408d7de8595ab79ea9740a5e7746527e22ab702dc3271cf1490980713ff0dc595847 +DIST pycpio-1.5.4.gh.tar.gz 23533 BLAKE2B 51f23b73f921a5957f4536f13372891b991fddaeb986a7b3ede85bfa391d25055f4937a0105cdf873ca4f7ae6d6c3269afa9ac4d9bd329cfead3a3710ff1ca2b SHA512 4d1ca1ee8d4427a07191a7403ed1305835ea1e613b945c4dc1bde7bad1ab1e5d68c8a6462a7e46fed9cd50998f0086f840ced515f49f6fcba018439ba828260a diff --git a/dev-python/pycpio/pycpio-1.5.4.ebuild b/dev-python/pycpio/pycpio-1.5.4.ebuild new file mode 100644 index 000000000000..14360adadea2 --- /dev/null +++ b/dev-python/pycpio/pycpio-1.5.4.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 +}
