summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2015-07-02 06:16:35 +0000
committerPatrick Lauer <patrick@gentoo.org>2015-07-02 06:16:35 +0000
commitf72c044d8966363dacd5b5f239cc2f02c54cc79e (patch)
treeb2baf828913aa6379fd203e4bdcf7d24d55a8872 /dev-python/pydispatcher
parentBump (diff)
downloadgentoo-2-f72c044d8966363dacd5b5f239cc2f02c54cc79e.tar.gz
gentoo-2-f72c044d8966363dacd5b5f239cc2f02c54cc79e.tar.bz2
gentoo-2-f72c044d8966363dacd5b5f239cc2f02c54cc79e.zip
Bump
(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/pydispatcher')
-rw-r--r--dev-python/pydispatcher/ChangeLog7
-rw-r--r--dev-python/pydispatcher/pydispatcher-2.0.5.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-python/pydispatcher/ChangeLog b/dev-python/pydispatcher/ChangeLog
index 951399375483..35e2de70c312 100644
--- a/dev-python/pydispatcher/ChangeLog
+++ b/dev-python/pydispatcher/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pydispatcher
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/ChangeLog,v 1.13 2015/06/03 20:55:12 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/ChangeLog,v 1.14 2015/07/02 06:16:35 patrick Exp $
+
+*pydispatcher-2.0.5 (02 Jul 2015)
+
+ 02 Jul 2015; Patrick Lauer <patrick@gentoo.org> +pydispatcher-2.0.5.ebuild:
+ Bump
03 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add pypi to remote-id in metadata.xml
diff --git a/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild b/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild
new file mode 100644
index 000000000000..57fcfc3397dd
--- /dev/null
+++ b/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/pydispatcher-2.0.5.ebuild,v 1.1 2015/07/02 06:16:35 patrick Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+MY_PN="PyDispatcher"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism"
+HOMEPAGE="http://pydispatcher.sourceforge.net/ http://pypi.python.org/pypi/PyDispatcher"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+IUSE="doc examples"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+python_compile_all() {
+ if use doc; then
+ pushd docs/pydoc/ > /dev/null
+ "${PYTHON}" builddocs.py || die "Generation of documentation failed"
+ popd > /dev/null
+ fi
+}
+
+python_test() {
+ "${PYTHON}" -m unittest discover
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/pydoc/. )
+ use examples && local EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
+}