diff options
-rw-r--r-- | net-zope/zope-testing/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/zope-testing/Manifest | 4 | ||||
-rw-r--r-- | net-zope/zope-testing/metadata.xml | 6 | ||||
-rw-r--r-- | net-zope/zope-testing/zope-testing-3.8.3.ebuild | 43 |
4 files changed, 63 insertions, 0 deletions
diff --git a/net-zope/zope-testing/ChangeLog b/net-zope/zope-testing/ChangeLog new file mode 100644 index 000000000000..1de53c9e6fc9 --- /dev/null +++ b/net-zope/zope-testing/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/zope-testing +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-testing/ChangeLog,v 1.1 2009/10/10 16:23:14 arfrever Exp $ + +*zope-testing-3.8.3 (10 Oct 2009) + + 10 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +zope-testing-3.8.3.ebuild, +metadata.xml: + Initial import from python overlay (bug #191290). + diff --git a/net-zope/zope-testing/Manifest b/net-zope/zope-testing/Manifest new file mode 100644 index 000000000000..79469616cc6d --- /dev/null +++ b/net-zope/zope-testing/Manifest @@ -0,0 +1,4 @@ +DIST zope.testing-3.8.3.tar.gz 163020 RMD160 07dafaef70605c700d1e30ee7a2bd1b6a6c9bdbc SHA1 bf016b5a1f72a71e839540e07f8b8871e1a9ede0 SHA256 f530853f26e0c7deba300700ac3251e410e65169844a80d631aa6f297f6ae6fc +EBUILD zope-testing-3.8.3.ebuild 1210 RMD160 8a1a007c5eca52da951f67a12d47a4d88e5e4fe5 SHA1 7940b9084173132d3c53c0cf37e2b207d7c810e4 SHA256 cfabb7904028ea5e5235f6e312e3b3a79bc492a2424a090f202372b788d82926 +MISC ChangeLog 423 RMD160 1f91202cd505982c123dbb0a0a1135fe20d32dba SHA1 ad616b1f566f927c374d66e0404a7c34206c6a90 SHA256 74008921d7790a7e82b25898efc16d56d2d9f9b96f4b7de2c0d9cf6e547541ca +MISC metadata.xml 183 RMD160 0e2d86898897ee70cc1f6e9ceb76d00388d3b2fa SHA1 19635a9dfa15036e341a7cbdd8cbd018db62be82 SHA256 f480763451083d2f7be8fc23d38e02952ccc383b4cc65e103a9901a0907ce50d diff --git a/net-zope/zope-testing/metadata.xml b/net-zope/zope-testing/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/zope-testing/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>net-zope</herd> + <herd>python</herd> +</pkgmetadata> diff --git a/net-zope/zope-testing/zope-testing-3.8.3.ebuild b/net-zope/zope-testing/zope-testing-3.8.3.ebuild new file mode 100644 index 000000000000..2239932e7c1c --- /dev/null +++ b/net-zope/zope-testing/zope-testing-3.8.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-testing/zope-testing-3.8.3.ebuild,v 1.1 2009/10/10 16:23:14 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Zope testing framework, including the testrunner script." +HOMEPAGE="http://pypi.python.org/pypi/zope.testing" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="examples" + +RDEPEND="net-zope/zope-exceptions + net-zope/zope-interface" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${PN/-//}" +DOCS="CHANGES.txt documentation.txt README.txt" + +src_install() { + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins -r src/zope/testing/testrunner/testrunner-ex{,-pp-lib,-pp-products} || die "Installation of examples failed" + fi + + # Don't install examples in site-packages directories. + rm -fr src/zope/testing/testrunner/testrunner-ex* build-*/lib/zope/testing/testrunner/testrunner-ex* + + distutils_src_install +} |