summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-04 04:48:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-04 04:48:30 +0000
commitd9204f5f0c7c4f15e0819e50699026e1842e8d23 (patch)
tree01c204e919d087880184579e57d666a354597f74 /net-zope/missing
parentInitial addition. (diff)
downloadgentoo-2-d9204f5f0c7c4f15e0819e50699026e1842e8d23.tar.gz
gentoo-2-d9204f5f0c7c4f15e0819e50699026e1842e8d23.tar.bz2
gentoo-2-d9204f5f0c7c4f15e0819e50699026e1842e8d23.zip
Initial addition.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-zope/missing')
-rw-r--r--net-zope/missing/ChangeLog10
-rw-r--r--net-zope/missing/metadata.xml5
-rw-r--r--net-zope/missing/missing-2.13.1.ebuild45
3 files changed, 60 insertions, 0 deletions
diff --git a/net-zope/missing/ChangeLog b/net-zope/missing/ChangeLog
new file mode 100644
index 000000000000..1cdbf87fbe80
--- /dev/null
+++ b/net-zope/missing/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-zope/missing
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/missing/ChangeLog,v 1.1 2010/07/04 04:48:30 arfrever Exp $
+
+*missing-2.13.1 (04 Jul 2010)
+
+ 04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +missing-2.13.1.ebuild, +metadata.xml:
+ Initial addition. Ebuild written by me.
+
diff --git a/net-zope/missing/metadata.xml b/net-zope/missing/metadata.xml
new file mode 100644
index 000000000000..42125e6223db
--- /dev/null
+++ b/net-zope/missing/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-zope</herd>
+</pkgmetadata>
diff --git a/net-zope/missing/missing-2.13.1.ebuild b/net-zope/missing/missing-2.13.1.ebuild
new file mode 100644
index 000000000000..6058dc06c7b1
--- /dev/null
+++ b/net-zope/missing/missing-2.13.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/missing/missing-2.13.1.ebuild,v 1.1 2010/07/04 04:48:30 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+MY_PN="Missing"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Special Missing objects used in Zope2."
+HOMEPAGE="http://pypi.python.org/pypi/Missing"
+SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="net-zope/extensionclass"
+DEPEND="${RDEPEND}
+ app-arch/unzip
+ dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES.txt README.txt"
+PYTHON_MODNAME="${MY_PN}"
+
+distutils_src_test_pre_hook() {
+ local module
+ for module in Missing; do
+ ln -fs "../../$(ls -d build-${PYTHON_ABI}/lib.*)/${module}/_${module}.so" "src/${module}/_${module}.so" || die "Symlinking ${module}/_${module}.so failed with Python ${PYTHON_ABI}"
+ done
+}
+
+src_install() {
+ distutils_src_install
+ python_clean_installation_image
+}