summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-09-19 09:06:27 +0200
committerMichał Górny <mgorny@gentoo.org>2020-09-19 09:21:21 +0200
commit2319796e23a621ae4cd80af18a07a22b752a3675 (patch)
tree951976639026fcd6b96e2e987b04e4d9efb4f425 /dev-python/zope-event
parentdev-python/dask: Bump to 2.27.0 (diff)
downloadgentoo-2319796e23a621ae4cd80af18a07a22b752a3675.tar.gz
gentoo-2319796e23a621ae4cd80af18a07a22b752a3675.tar.bz2
gentoo-2319796e23a621ae4cd80af18a07a22b752a3675.zip
dev-python/zope-event: Bump to 4.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/zope-event')
-rw-r--r--dev-python/zope-event/Manifest1
-rw-r--r--dev-python/zope-event/zope-event-4.5.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/zope-event/Manifest b/dev-python/zope-event/Manifest
index 17b6b0697691..3afb50ee68a6 100644
--- a/dev-python/zope-event/Manifest
+++ b/dev-python/zope-event/Manifest
@@ -1 +1,2 @@
DIST zope.event-4.4.tar.gz 18818 BLAKE2B 628625280c1e3f06f2c2e6e9aa88d3e34958718ea4624d54a5b915f8a570e38d4893adc0a0c688a7f09d3c81ffd67fbb69a3bc89ad58d95be498c2de48fff697 SHA512 34dac7ce2e8faf464bdb3861217beb1dd0976b1cc047d45a79f1640dd256bf33162da6e105c00135217fcdb888fc3ac7a4b0b4b047f64ce310c4d11cff71a985
+DIST zope.event-4.5.0.tar.gz 18723 BLAKE2B 449ae969709c863681df1a08f016c850242ebe86b9abfa57db62a982c81bba7c496fc19dd2b187284da44d975688b544ee52a5a48a2fb782d4c7210d5773ee2b SHA512 1d82ae316fc75eebc03aadeb78890a19add35490720cd7bd073faeb9dc9ed97511ca4fdafc2228530798384d667c0aa88e3ef47b0be668128556a78bf82c42e5
diff --git a/dev-python/zope-event/zope-event-4.5.0.ebuild b/dev-python/zope-event/zope-event-4.5.0.ebuild
new file mode 100644
index 000000000000..ae080412c6d5
--- /dev/null
+++ b/dev-python/zope-event/zope-event-4.5.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 )
+
+inherit distutils-r1
+
+MY_PN=${PN/-/.}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture"
+HOMEPAGE="https://github.com/zopefoundation/zope.event
+ https://docs.zope.org/zope.event/"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]"
+
+distutils_enable_tests nose
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ # remove .pth files since dev-python/namespace-zope handles the ns
+ find "${D}" -name '*.pth' -delete || die
+}