summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-04 04:56:40 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-07-04 04:56:40 +0000
commit52c418f521a991e9ff0933cab9c11e2dc63335c8 (patch)
tree5f6aa96107fbd8a6afebb1ad37ae479a2c2d94b7 /net-zope
parentInitial addition. (diff)
downloadgentoo-2-52c418f521a991e9ff0933cab9c11e2dc63335c8.tar.gz
gentoo-2-52c418f521a991e9ff0933cab9c11e2dc63335c8.tar.bz2
gentoo-2-52c418f521a991e9ff0933cab9c11e2dc63335c8.zip
Initial addition.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/threadlock/ChangeLog10
-rw-r--r--net-zope/threadlock/metadata.xml5
-rw-r--r--net-zope/threadlock/threadlock-2.13.0.ebuild45
3 files changed, 60 insertions, 0 deletions
diff --git a/net-zope/threadlock/ChangeLog b/net-zope/threadlock/ChangeLog
new file mode 100644
index 000000000000..5faefc4b308c
--- /dev/null
+++ b/net-zope/threadlock/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-zope/threadlock
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/threadlock/ChangeLog,v 1.1 2010/07/04 04:56:40 arfrever Exp $
+
+*threadlock-2.13.0 (04 Jul 2010)
+
+ 04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +threadlock-2.13.0.ebuild, +metadata.xml:
+ Initial addition. Ebuild written by me.
+
diff --git a/net-zope/threadlock/metadata.xml b/net-zope/threadlock/metadata.xml
new file mode 100644
index 000000000000..42125e6223db
--- /dev/null
+++ b/net-zope/threadlock/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/threadlock/threadlock-2.13.0.ebuild b/net-zope/threadlock/threadlock-2.13.0.ebuild
new file mode 100644
index 000000000000..7ed07870e41c
--- /dev/null
+++ b/net-zope/threadlock/threadlock-2.13.0.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/threadlock/threadlock-2.13.0.ebuild,v 1.1 2010/07/04 04:56:40 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+MY_PN="ThreadLock"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Special ThreadLock objects used in Zope2."
+HOMEPAGE="http://pypi.python.org/pypi/ThreadLock"
+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 ThreadLock; 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
+}