diff options
Diffstat (limited to 'dev-python/pycpio')
| -rw-r--r-- | dev-python/pycpio/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pycpio/pycpio-1.5.1.ebuild (renamed from dev-python/pycpio/pycpio-1.5.0.ebuild) | 14 | ||||
| -rw-r--r-- | dev-python/pycpio/pycpio-9999.ebuild | 15 |
3 files changed, 26 insertions, 5 deletions
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.0.ebuild b/dev-python/pycpio/pycpio-1.5.1.ebuild index 03559de99478..122b3c13ef92 100644 --- a/dev-python/pycpio/pycpio-1.5.0.ebuild +++ b/dev-python/pycpio/pycpio-1.5.1.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9,10,11,12,13} ) -inherit distutils-r1 +inherit distutils-r1 optfeature shell-completion DESCRIPTION="Python CPIO library" HOMEPAGE="https://github.com/desultory/pycpio/" @@ -21,11 +21,21 @@ KEYWORDS="~amd64 ~arm64" RDEPEND=" >=dev-python/zenlib-3.0.2[${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 +} diff --git a/dev-python/pycpio/pycpio-9999.ebuild b/dev-python/pycpio/pycpio-9999.ebuild index 06bee18fb4d1..478deaa83483 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_{9,10,11,12,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 +} |
