diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 15:36:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-16 15:36:38 +0000 |
commit | 39fcd539b9eeb7df75bccad136265b5f001d1a3c (patch) | |
tree | fcedf7eec512b29edce8c642c52f834b2e15b4f8 /dev-python/zope-event | |
parent | b982051e7c8e12c3810a0d21d30d687b406b3ae5 (diff) |
gentoo auto-resync : 16:12:2022 - 15:36:37
Diffstat (limited to 'dev-python/zope-event')
-rw-r--r-- | dev-python/zope-event/Manifest | 2 | ||||
-rw-r--r-- | dev-python/zope-event/zope-event-4.6.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/zope-event/Manifest b/dev-python/zope-event/Manifest index 6951e01b6d76..20a7c02a6f2a 100644 --- a/dev-python/zope-event/Manifest +++ b/dev-python/zope-event/Manifest @@ -1,3 +1,5 @@ DIST zope.event-4.5.0.tar.gz 18723 BLAKE2B 449ae969709c863681df1a08f016c850242ebe86b9abfa57db62a982c81bba7c496fc19dd2b187284da44d975688b544ee52a5a48a2fb782d4c7210d5773ee2b SHA512 1d82ae316fc75eebc03aadeb78890a19add35490720cd7bd073faeb9dc9ed97511ca4fdafc2228530798384d667c0aa88e3ef47b0be668128556a78bf82c42e5 +DIST zope.event-4.6.tar.gz 17430 BLAKE2B ca0706390a9dc32fa3d855014b94094a1008b1f7d82a325aab6008ca116c5267c8d0def244e25adf4164abcc308367a5916358665bb16fc8a0a24eb40586b30e SHA512 0042ef679ba95f1306d11fa23c0b48c59b018c8630cefb2e245ca77f4979b314d338cf1f6d2b12376d59c0eee172180d217965d54676504530a8af0c6c128547 EBUILD zope-event-4.5.0-r3.ebuild 1149 BLAKE2B 1faef472578bf8c6c16a0689489cbe42741d11b93759789af7e94232df716f3afdd9d908c47c8628d585beb7a6259e0cb986395c1b28ddcb626420caa4514f5e SHA512 8823c50899b87dd290cb1978b24b923f90bd3a37723df042203a7b448d8a903c79966ca095abd58155a92b6af8d915f25eb2655ea2eaf481f6848c3fc0205a86 +EBUILD zope-event-4.6.ebuild 1157 BLAKE2B af31e622a78c1546331993f1887fd9eb30467d3fd276f162415697ee579f99876a48abab741e5ade57a458c0915364ab4eb7e6232e2f4ba67dbe50bd8eac58a0 SHA512 2fbd880007ce30bcaf0fd95ee48dd56ceedd5227dc09aed346c7922cca35a83f0d8e0c8bb641c92baaeb95f772a2b3808898defba55fac369fcc592e65e5d6c0 MISC metadata.xml 403 BLAKE2B 37821470ec3195c00fca52ec6b7bd13a0bf433746a450b36e6b572da978db6faf908da2b8dd83d2411f24da8a58d65f8cb2e7e75960cf547ba2e9e394e5fcb90 SHA512 8d21846b80d0c0f153103ec237184cd05db306286ffc1a6ed495b90a52737a2346777c4b0713339244f177e89e18f6a051a507a8a7eda2c514c1b7896d7aedb0 diff --git a/dev-python/zope-event/zope-event-4.6.ebuild b/dev-python/zope-event/zope-event-4.6.ebuild new file mode 100644 index 000000000000..e25278572236 --- /dev/null +++ b/dev-python/zope-event/zope-event-4.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-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} pypy3 ) + +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} +DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.event/ + https://github.com/zopefoundation/zope.event/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + !dev-python/namespace-zope +" + +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() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +} |