summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-03-25 11:05:59 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-03-25 11:05:59 +0000
commit7be4e23e4d9f3c3e56b572b28f21b3067ed51067 (patch)
treee7213c2c8ec3f033860a76be5e7d638c34d99916 /dev-python/pp
parentFix postinst message, bug 172143 (diff)
downloadgentoo-2-7be4e23e4d9f3c3e56b572b28f21b3067ed51067.tar.gz
gentoo-2-7be4e23e4d9f3c3e56b572b28f21b3067ed51067.tar.bz2
gentoo-2-7be4e23e4d9f3c3e56b572b28f21b3067ed51067.zip
Re-added examples.
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python/pp')
-rw-r--r--dev-python/pp/ChangeLog5
-rw-r--r--dev-python/pp/files/digest-pp-1.3.23
-rw-r--r--dev-python/pp/pp-1.3.2.ebuild19
3 files changed, 22 insertions, 5 deletions
diff --git a/dev-python/pp/ChangeLog b/dev-python/pp/ChangeLog
index 28b45033f1c5..5bdf5c357f0d 100644
--- a/dev-python/pp/ChangeLog
+++ b/dev-python/pp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/pp
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pp/ChangeLog,v 1.1 2007/03/24 12:09:13 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pp/ChangeLog,v 1.2 2007/03/25 11:05:59 dev-zero Exp $
+
+ 25 Mar 2007; Tiziano Müller <dev-zero@gentoo.org> pp-1.3.2.ebuild:
+ Re-added examples.
*pp-1.3.2 (24 Mar 2007)
diff --git a/dev-python/pp/files/digest-pp-1.3.2 b/dev-python/pp/files/digest-pp-1.3.2
index c229f2cb59bd..fbebcfffef44 100644
--- a/dev-python/pp/files/digest-pp-1.3.2
+++ b/dev-python/pp/files/digest-pp-1.3.2
@@ -1,3 +1,6 @@
+MD5 7fc4d5b4f557b9a2de0c8bac76f7c83f pp-1.3-examples-1.0.tar.bz2 2868
+RMD160 fbab22bc07cf68a613fe662dc8cc45142cc54b48 pp-1.3-examples-1.0.tar.bz2 2868
+SHA256 278c15cbb9b7241dbc7d15b498f80571c93dae42bbca376226aa1adf058bf762 pp-1.3-examples-1.0.tar.bz2 2868
MD5 1cd0692877a5b19dcc9d4a40aea7ef4d pp-1.3.2.tar.gz 9024
RMD160 7e23ef7731402456e3c48c187385be1e0c524177 pp-1.3.2.tar.gz 9024
SHA256 3dff3acad3a16a87ecba7e557afc2b7d55c5692e71c67a6d60972f8a549e64b7 pp-1.3.2.tar.gz 9024
diff --git a/dev-python/pp/pp-1.3.2.ebuild b/dev-python/pp/pp-1.3.2.ebuild
index 5b6a8dadfe05..ee78b482bf08 100644
--- a/dev-python/pp/pp-1.3.2.ebuild
+++ b/dev-python/pp/pp-1.3.2.ebuild
@@ -1,19 +1,30 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pp/pp-1.3.2.ebuild,v 1.1 2007/03/24 12:09:13 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pp/pp-1.3.2.ebuild,v 1.2 2007/03/25 11:05:59 dev-zero Exp $
NEED_PYTHON=2.3
-inherit distutils
+inherit distutils versionator
+
+EX_P=${PN}-$(get_version_component_range 1-2)-examples-1.0
DESCRIPTION="Parallel and distributed programming for Python"
HOMEPAGE="http://www.parallelpython.com/"
-SRC_URI="http://www.parallelpython.com/downloads/${PN}/${P}.tar.gz"
+SRC_URI="http://www.parallelpython.com/downloads/${PN}/${P}.tar.gz
+ examples? ( http://www.parallelpython.com/downloads/${PN}/${EX_P}.tar.bz2 )"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="examples"
DEPEND=""
RDEPEND=""
+
+src_install() {
+ distutils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r "${WORKDIR}/examples"
+ fi
+}