diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-16 11:26:21 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-16 12:31:36 +0100 |
commit | bfc29580fe324671119574ae39d7ecd60ecbd78f (patch) | |
tree | 792dd744ed6e2502df25beb75ec57d40da2e3764 /dev-python/zope-event | |
parent | dev-python/rope: Bump to 1.6.0 (diff) | |
download | gentoo-bfc29580fe324671119574ae39d7ecd60ecbd78f.tar.gz gentoo-bfc29580fe324671119574ae39d7ecd60ecbd78f.tar.bz2 gentoo-bfc29580fe324671119574ae39d7ecd60ecbd78f.zip |
dev-python/zope-event: Bump to 4.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-event')
-rw-r--r-- | dev-python/zope-event/Manifest | 1 | ||||
-rw-r--r-- | dev-python/zope-event/zope-event-4.6.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/zope-event/Manifest b/dev-python/zope-event/Manifest index 5e255d71e594..06865a771915 100644 --- a/dev-python/zope-event/Manifest +++ b/dev-python/zope-event/Manifest @@ -1 +1,2 @@ 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 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 +} |