dev-python/pydispatcher: Switch to PyPyDispatcher fork

Closes: https://bugs.gentoo.org/626680
This commit is contained in:
Michał Górny
2018-03-13 09:06:52 +01:00
parent d249bbafd0
commit 3d8f26d546
3 changed files with 43 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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
}