diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-03-13 09:06:52 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-03-13 09:08:21 +0100 |
commit | 3d8f26d5467637a6d4bc4eb11e221c31019cc83f (patch) | |
tree | 2d69047b97036bd36c3b5fa72fed828f63bcc725 | |
parent | sys-apps/portage-2.3.24-r1: ppc64 stable, bug 650060 (diff) | |
download | gentoo-3d8f26d5467637a6d4bc4eb11e221c31019cc83f.tar.gz gentoo-3d8f26d5467637a6d4bc4eb11e221c31019cc83f.tar.bz2 gentoo-3d8f26d5467637a6d4bc4eb11e221c31019cc83f.zip |
dev-python/pydispatcher: Switch to PyPyDispatcher fork
Closes: https://bugs.gentoo.org/626680
-rw-r--r-- | dev-python/pydispatcher/Manifest | 1 | ||||
-rw-r--r-- | dev-python/pydispatcher/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/pydispatcher/pydispatcher-2.1.2.ebuild | 38 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/pydispatcher/Manifest b/dev-python/pydispatcher/Manifest index e7a176b3b5bf..1504c5211a6a 100644 --- a/dev-python/pydispatcher/Manifest +++ b/dev-python/pydispatcher/Manifest @@ -1 +1,2 @@ +DIST PyPyDispatcher-2.1.2.tar.gz 23224 BLAKE2B 881e7063e61f80ed08f2e46967c7cf7e35d9687025a55d9b446e034085a09627b75263519c16ac64e0cbd9f84e822095f89ecbc52e95ed23a65fcb50d4e90d52 SHA512 a8a94a68551e72da2703a4f7fc93296fbffe78518ff363930125874a2a65dbbe4fe9434e910e0d019fb653785e41d024fe2c9d5bab5072c3989dd2a61ffcb708 DIST pydispatcher-2.0.5.tar.gz 34437 BLAKE2B eefc2e0f22c9d91b22acd1352d76f1bd69d7161efdf0827f1bcb42ccf0a5c98576dbc25817e0a6c4cb3327b5fad39281cd19a784f0f477ba1b20690e644e867c SHA512 b361463f006a775e1f22cfe07520951649f76c26be35a80ca016620c8ef466129c4abeafe42f0ffdc605e7523287b1e804967f19d951089d24e052fe10d88e6f diff --git a/dev-python/pydispatcher/metadata.xml b/dev-python/pydispatcher/metadata.xml index dc6d976885ba..767da7cf7dfd 100644 --- a/dev-python/pydispatcher/metadata.xml +++ b/dev-python/pydispatcher/metadata.xml @@ -6,6 +6,10 @@ <name>Python</name> </maintainer> <upstream> + <!-- 2.1+ --> + <remote-id type="pypi">PyPyDispatcher</remote-id> + <remote-id type="github">scrapy/pypydispatcher</remote-id> + <!-- for <2.1 --> <remote-id type="pypi">PyDispatcher</remote-id> <remote-id type="sourceforge">pydispatcher</remote-id> </upstream> diff --git a/dev-python/pydispatcher/pydispatcher-2.1.2.ebuild b/dev-python/pydispatcher/pydispatcher-2.1.2.ebuild new file mode 100644 index 000000000000..f5b1510f8dae --- /dev/null +++ b/dev-python/pydispatcher/pydispatcher-2.1.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +MY_P="PyPyDispatcher-${PV}" +DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism" +HOMEPAGE="https://github.com/scrapy/pypydispatcher https://pypi.python.org/pypi/PyPyDispatcher" +SRC_URI="mirror://pypi/${MY_P::1}/${MY_P%-*}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="doc" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +RDEPEND="" + +S=${WORKDIR}/${MY_P} + +python_compile_all() { + if use doc; then + cd docs/pydoc || die + "${EPYTHON}" builddocs.py || die + fi +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail for ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/pydoc/. ) + distutils-r1_python_install_all +} |