summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus Rivero <neurogeek@gentoo.org>2008-08-06 05:46:21 +0000
committerJesus Rivero <neurogeek@gentoo.org>2008-08-06 05:46:21 +0000
commitc0d6009ce2b4c0ed337854ab3727d3f1b557046e (patch)
treea335494dfff6382d68baa42c22a0f9802ada6da4 /dev-python/pydispatcher
parentRemoved old version. Fixed 1.1.21 to use $(python_get_dir) (See bug #232575).... (diff)
downloadgentoo-2-c0d6009ce2b4c0ed337854ab3727d3f1b557046e.tar.gz
gentoo-2-c0d6009ce2b4c0ed337854ab3727d3f1b557046e.tar.bz2
gentoo-2-c0d6009ce2b4c0ed337854ab3727d3f1b557046e.zip
Version bump. Removed old version. Changed 1.0.1 to use $(python_get_sitedir) (See bug #232575)
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-python/pydispatcher')
-rw-r--r--dev-python/pydispatcher/ChangeLog12
-rw-r--r--dev-python/pydispatcher/pydispatcher-1.0.0.ebuild27
-rw-r--r--dev-python/pydispatcher/pydispatcher-1.0.1.ebuild8
-rw-r--r--dev-python/pydispatcher/pydispatcher-2.0.1.ebuild40
4 files changed, 54 insertions, 33 deletions
diff --git a/dev-python/pydispatcher/ChangeLog b/dev-python/pydispatcher/ChangeLog
index aa43a060bbbb..7a4f19a4cb28 100644
--- a/dev-python/pydispatcher/ChangeLog
+++ b/dev-python/pydispatcher/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-python/pydispatcher
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/ChangeLog,v 1.7 2007/02/21 16:55:22 lucass Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/ChangeLog,v 1.8 2008/08/06 05:46:21 neurogeek Exp $
+
+*pydispatcher-2.0.1 (06 Aug 2008)
+
+ 06 Aug 2008; Jesus Rivero <neurogeek@gentoo.org>
+ -pydispatcher-1.0.0.ebuild, pydispatcher-1.0.1.ebuild,
+ +pydispatcher-2.0.1.ebuild:
+ Version bump. Removed old version. Changed 1.0.1 to use
+ $(python_get_sitedir) (See bug #232575)
21 Feb 2007; Lukasz Strzygowski <lucass@gentoo.org>
files/digest-pydispatcher-1.0.0, files/digest-pydispatcher-1.0.1,
diff --git a/dev-python/pydispatcher/pydispatcher-1.0.0.ebuild b/dev-python/pydispatcher/pydispatcher-1.0.0.ebuild
deleted file mode 100644
index 4a75dc734a94..000000000000
--- a/dev-python/pydispatcher/pydispatcher-1.0.0.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/pydispatcher-1.0.0.ebuild,v 1.4 2005/04/17 19:39:49 luckyduck Exp $
-
-inherit distutils
-
-MY_PN="PyDispatcher"
-
-DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism for Python"
-HOMEPAGE="http://pydispatcher.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~x86 ~ppc"
-
-IUSE=""
-DEPEND="virtual/python"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-src_install() {
- distutils_src_install
- distutils_python_version
- dohtml -r ${D}/usr/lib/python${PYVER}/site-packages/dispatch/docs/*
- rm -r ${D}/usr/lib/python${PYVER}/site-packages/dispatch/docs
-}
diff --git a/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild b/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild
index 204f152c9e39..f925f2d14e05 100644
--- a/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild
+++ b/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild,v 1.3 2006/04/01 15:19:47 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/pydispatcher-1.0.1.ebuild,v 1.4 2008/08/06 05:46:21 neurogeek Exp $
inherit distutils
@@ -22,6 +22,6 @@ S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
distutils_src_install
distutils_python_version
- dohtml -r ${D}/usr/lib/python${PYVER}/site-packages/dispatch/docs/*
- rm -r ${D}/usr/lib/python${PYVER}/site-packages/dispatch/docs
+ dohtml -r "${D}/$(python_get_sitedir)"/dispatch/docs/*
+ rm -r "${D}/$(python_get_sitedir)/dispatch/docs"
}
diff --git a/dev-python/pydispatcher/pydispatcher-2.0.1.ebuild b/dev-python/pydispatcher/pydispatcher-2.0.1.ebuild
new file mode 100644
index 000000000000..09ad482a23ef
--- /dev/null
+++ b/dev-python/pydispatcher/pydispatcher-2.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pydispatcher/pydispatcher-2.0.1.ebuild,v 1.1 2008/08/06 05:46:21 neurogeek Exp $
+
+inherit distutils
+
+MY_P="PyDispatcher"-${PV}
+
+DESCRIPTION="Multi-producer-multi-consumer signal dispatching mechanism for Python"
+HOMEPAGE="http://pydispatcher.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE="doc examples"
+DEPEND="virtual/python"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ distutils_src_install
+ distutils_python_version
+
+ if use examples; then
+ insinto /usr/share/doc/"${PF}"/examples
+ doins examples/*
+ fi
+
+ if use doc; then
+ insinto "${ROOT}/usr/share/doc/${PF}/html"
+ doins -r docs/*
+
+ PYTHONPATH=${PYTHONPATH}:/${D}$(python_get_sitedir)
+ ${python} docs/pydoc/builddocs.py
+ dohtml -r *html
+ fi
+
+}