diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-04 15:14:18 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-04 15:14:18 +0000 |
commit | f5f1e7d30401ef31b8776c96a80cf5caae0a4e81 (patch) | |
tree | cf79465586b83d032475fad7f33894f6cf4efd1f /dev-python/zope-hookable | |
parent | 0bb8253b38dc8638a46b66ba909c1bfd1054e1ef (diff) |
gentoo auto-resync : 04:11:2022 - 15:14:18
Diffstat (limited to 'dev-python/zope-hookable')
-rw-r--r-- | dev-python/zope-hookable/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zope-hookable/zope-hookable-5.3.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/zope-hookable/Manifest b/dev-python/zope-hookable/Manifest index d53d470bd421..863eceb0700a 100644 --- a/dev-python/zope-hookable/Manifest +++ b/dev-python/zope-hookable/Manifest @@ -1,3 +1,5 @@ +DIST zope-hookable-5.3.gh.tar.gz 25302 BLAKE2B 56ab933338a9a3fcc8c8a090111896d0b483909aba2235f9dbbadc4556cdac23f8d2a8d29b7081fe460e7afebb675032d05d2c7e5d00a9a97e2a1d6e20e186c7 SHA512 76ec43866c89a97efcccc4e312a6c3c4471c32ddd19ce4cae94ffd0a8f97f66871194ffbf45316965748d0e606a04af0ae8f2787a00c2e5d102c2df4dac9d6ae DIST zope.hookable-5.2.tar.gz 24004 BLAKE2B f1b64a906a849442437a3829d509210280066b41bc97fbedcd02b462fa9c7761910a7a71ed00430679f7c3ec9648c8a9ab5e88d4e8143018e44194d56611353a SHA512 b04107acedcc245fa99a59de71ffeaabe270ec15eaac32df1f5433ca16ea568d60c272349c8c8d7e512dfadef4fc8fcebf63a62ee9c8607fc02505a4457e1ed3 EBUILD zope-hookable-5.2.ebuild 973 BLAKE2B d1325d1ae489dd9c7c9f757eab994cf01a2bfcde734b841b5cb771d7970eb5086fd3144786ecd8db19a667ce54700acbccd4859369bbd279b08d8287eda2ec1b SHA512 13b12baf36909a19225011ffbea033a4de5fa4176649c41dfcbb57acd9dc38dc7083538e40bbe11def7051c3bd3b983c3287834029d46aea5d7a72c8d60e28dd +EBUILD zope-hookable-5.3.ebuild 980 BLAKE2B 84d9130fe0655fdfa9ae2ad419373cd6e8ed977fef0dceb1bc28702391c87121468e30c702a13253fbbd9d67c0db43afdd3432fa0f71f0d606a82dcc2e57d1bc SHA512 799b0ad1d83d3d02f3a52fcd9cb3ba064a33b7606352931319526277ed9073d9c16cb28019c4c754a35210098d4ec228f1db53a74e04d99c48556289a066373c MISC metadata.xml 363 BLAKE2B 292afad5ddaa2ae9ea128a842934b751d16d84aebd617a9e5f6c2165245137f11089670fc78791ce46ccb260c5acbf0527030889d709725f6f89532f3972c0c2 SHA512 40afd7e868b05d352bc5f268d056f3550e924e22b07b1f0e41afd25429017cb28fd5b6caf565df04bfcecf5cc1c183d12a122a906affd813542ef32cbbc230a3 diff --git a/dev-python/zope-hookable/zope-hookable-5.3.ebuild b/dev-python/zope-hookable/zope-hookable-5.3.ebuild new file mode 100644 index 000000000000..e6323fc9044f --- /dev/null +++ b/dev-python/zope-hookable/zope-hookable-5.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Efficient creation of 'hookable' objects" +HOMEPAGE=" + https://pypi.org/project/zope.hookable/ + https://github.com/zopefoundation/zope.hookable/ +" +SRC_URI=" + https://github.com/zopefoundation/zope.hookable/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" +S=${WORKDIR}/${P/-/.} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + eunittest -s "${BUILD_DIR}/install$(python_get_sitedir)/zope/hookable/tests" +} |