summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-25 00:39:47 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-03-25 00:39:47 +0000
commit3a950bbf98a587b05ad8cb19de99f771e7c046bf (patch)
tree186e78d7e7b2a16a24675d3cac4bb446189bef45 /net-zope/zope-testrunner
parentDelete older ebuild. (diff)
downloadgentoo-2-3a950bbf98a587b05ad8cb19de99f771e7c046bf.tar.gz
gentoo-2-3a950bbf98a587b05ad8cb19de99f771e7c046bf.tar.bz2
gentoo-2-3a950bbf98a587b05ad8cb19de99f771e7c046bf.zip
Version bump.
(Portage version: 2.2.0_alpha28_p7/cvs/Linux x86_64)
Diffstat (limited to 'net-zope/zope-testrunner')
-rw-r--r--net-zope/zope-testrunner/ChangeLog8
-rw-r--r--net-zope/zope-testrunner/zope-testrunner-4.0.3.ebuild50
2 files changed, 57 insertions, 1 deletions
diff --git a/net-zope/zope-testrunner/ChangeLog b/net-zope/zope-testrunner/ChangeLog
index bed573ef96df..e8192dcaaf8b 100644
--- a/net-zope/zope-testrunner/ChangeLog
+++ b/net-zope/zope-testrunner/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/zope-testrunner
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-testrunner/ChangeLog,v 1.3 2011/02/21 20:13:50 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-testrunner/ChangeLog,v 1.4 2011/03/25 00:39:47 arfrever Exp $
+
+*zope-testrunner-4.0.3 (25 Mar 2011)
+
+ 25 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +zope-testrunner-4.0.3.ebuild:
+ Version bump.
*zope-testrunner-4.0.1 (21 Feb 2011)
diff --git a/net-zope/zope-testrunner/zope-testrunner-4.0.3.ebuild b/net-zope/zope-testrunner/zope-testrunner-4.0.3.ebuild
new file mode 100644
index 000000000000..4ea8ff260401
--- /dev/null
+++ b/net-zope/zope-testrunner/zope-testrunner-4.0.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-testrunner/zope-testrunner-4.0.3.ebuild,v 1.1 2011/03/25 00:39:47 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2 3:3.1"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.0"
+
+inherit distutils
+
+MY_PN="${PN/-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Zope testrunner script."
+HOMEPAGE="http://pypi.python.org/pypi/zope.testrunner"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="examples"
+
+RDEPEND="net-zope/zope-exceptions
+ net-zope/zope-interface
+ !<net-zope/zope-testing-3.10.0"
+# net-zope/zope-fixers is required for building with Python 3.
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools
+ net-zope/zope-fixers"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES.txt README.txt"
+PYTHON_MODNAME="${PN/-//}"
+
+src_install() {
+ distutils_src_install
+
+ delete_examples() {
+ rm -fr "${D}$(python_get_sitedir)/zope/testrunner/testrunner-ex"*
+ }
+ python_execute_function -q delete_examples
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins -r src/zope/testrunner/testrunner-ex{,-pp-lib,-pp-products} || die "Installation of examples failed"
+ fi
+}