summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-11 17:19:01 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-11 17:19:01 +0000
commit5dbe86490b74c025f70929001b22fb198158238a (patch)
tree1e5e80b052c458ef30db49af8c910c92ea0cf735 /net-zope
parentFix metadata (diff)
downloadgentoo-2-5dbe86490b74c025f70929001b22fb198158238a.tar.gz
gentoo-2-5dbe86490b74c025f70929001b22fb198158238a.tar.bz2
gentoo-2-5dbe86490b74c025f70929001b22fb198158238a.zip
Initial import from python overlay.
(Portage version: 14568-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope-event/ChangeLog10
-rw-r--r--net-zope/zope-event/metadata.xml6
-rw-r--r--net-zope/zope-event/zope-event-3.4.1.ebuild46
3 files changed, 62 insertions, 0 deletions
diff --git a/net-zope/zope-event/ChangeLog b/net-zope/zope-event/ChangeLog
new file mode 100644
index 000000000000..05b78a3f7022
--- /dev/null
+++ b/net-zope/zope-event/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-zope/zope-event
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-event/ChangeLog,v 1.1 2009/10/11 17:19:01 arfrever Exp $
+
+*zope-event-3.4.1 (11 Oct 2009)
+
+ 11 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +zope-event-3.4.1.ebuild, +metadata.xml:
+ Initial import from python overlay.
+
diff --git a/net-zope/zope-event/metadata.xml b/net-zope/zope-event/metadata.xml
new file mode 100644
index 000000000000..ecc751f37510
--- /dev/null
+++ b/net-zope/zope-event/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-event/zope-event-3.4.1.ebuild b/net-zope/zope-event/zope-event-3.4.1.ebuild
new file mode 100644
index 000000000000..331f6ec425ac
--- /dev/null
+++ b/net-zope/zope-event/zope-event-3.4.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-event/zope-event-3.4.1.ebuild,v 1.1 2009/10/11 17:19:01 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PN="${PN/-/.}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Very basic event publishing system"
+HOMEPAGE="http://pypi.python.org/pypi/zope.event"
+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="test"
+
+DEPEND="dev-python/setuptools
+ test? ( dev-python/nose )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="${PN/-//}"
+DOCS="README.txt"
+
+src_test() {
+ testing() {
+ # Future versions of dev-python/nose will support Python 3.
+ [[ "${PYTHON_ABI}" == 3.* ]] && return
+
+ PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ rm -f "${D}"usr/$(get_libdir)/python*/site-packages/zope/event/{README.txt,tests.py}
+ newdoc src/zope/event/README.txt event-README.txt
+}