diff options
author | 2025-02-14 14:42:29 -0600 | |
---|---|---|
committer | 2025-02-17 15:46:10 +0100 | |
commit | fd4025f8ceae0601baeca81795570db4dc97beb8 (patch) | |
tree | 29f4dbe6bbb158b13874d2910901023a54f2a5cd /dev-python/pycpio | |
parent | xfce-base/xfdesktop: Bump to 4.20.1 (diff) | |
download | gentoo-fd4025f8ceae0601baeca81795570db4dc97beb8.tar.gz gentoo-fd4025f8ceae0601baeca81795570db4dc97beb8.tar.bz2 gentoo-fd4025f8ceae0601baeca81795570db4dc97beb8.zip |
dev-python/pycpio: improve 9999 depends, add zsh completion
Signed-off-by: Zen <z@pyl.onl>
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'dev-python/pycpio')
-rw-r--r-- | dev-python/pycpio/pycpio-9999.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild index 7f8c13e6a025..9ff2800b0d18 100644 --- a/dev-python/pycpio/pycpio-9999.ebuild +++ b/dev-python/pycpio/pycpio-9999.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) -inherit distutils-r1 git-r3 +inherit distutils-r1 optfeature git-r3 shell-completion DESCRIPTION="Python CPIO library" HOMEPAGE="https://github.com/desultory/pycpio/" @@ -16,12 +16,23 @@ LICENSE="GPL-2" SLOT="0" RDEPEND=" - >=dev-python/zenlib-3.0.2[${PYTHON_USEDEP}] + >=dev-python/zenlib-9999[${PYTHON_USEDEP}] >=dev-python/zstd-1.5.6.1[${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 +} |