summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-11 17:47:48 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-10-11 17:47:48 +0000
commitba834e0198495fcf497212615affedeb0979a085 (patch)
tree91e3d6800bc7928fb31def946183d654651b9520 /net-zope
parentStable on alpha, bug #287519 (diff)
downloadgentoo-2-ba834e0198495fcf497212615affedeb0979a085.tar.gz
gentoo-2-ba834e0198495fcf497212615affedeb0979a085.tar.bz2
gentoo-2-ba834e0198495fcf497212615affedeb0979a085.zip
Version bump (bug #191260). Set SUPPORT_PYTHON_ABIS.
(Portage version: 14568-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zodb/ChangeLog8
-rw-r--r--net-zope/zodb/zodb-3.9.1.ebuild60
2 files changed, 67 insertions, 1 deletions
diff --git a/net-zope/zodb/ChangeLog b/net-zope/zodb/ChangeLog
index ec7260afd36e..735ffc64769f 100644
--- a/net-zope/zodb/ChangeLog
+++ b/net-zope/zodb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-zope/zodb
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/ChangeLog,v 1.31 2009/10/04 20:10:06 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/ChangeLog,v 1.32 2009/10/11 17:47:48 arfrever Exp $
+
+*zodb-3.9.1 (11 Oct 2009)
+
+ 11 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +zodb-3.9.1.ebuild:
+ Version bump (bug #191260). Set SUPPORT_PYTHON_ABIS.
04 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
zodb-3.3.1.ebuild, zodb-3.3.1-r1.ebuild, zodb-3.6.0.ebuild,
diff --git a/net-zope/zodb/zodb-3.9.1.ebuild b/net-zope/zodb/zodb-3.9.1.ebuild
new file mode 100644
index 000000000000..1686025c3c2c
--- /dev/null
+++ b/net-zope/zodb/zodb-3.9.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zodb/zodb-3.9.1.ebuild,v 1.1 2009/10/11 17:47:48 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+MY_PN="ZODB3"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Zope Object DataBase"
+HOMEPAGE="http://pypi.python.org/pypi/ZODB3 http://zope.org/Products/ZODB3 http://wiki.zope.org/ZODB/FrontPage https://launchpad.net/zodb"
+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=""
+
+RDEPEND="net-zope/transaction
+ net-zope/zc-lockfile
+ net-zope/zconfig
+ net-zope/zdaemon
+ net-zope/zope-event
+ net-zope/zope-interface
+ net-zope/zope-proxy
+ net-zope/zope-testing"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+RESTRICT_PYTHON_ABIS="3.*"
+
+S="${WORKDIR}/${MY_P}"
+
+PYTHON_MODNAME="BTrees persistent ZEO ZODB"
+DOCS="doc/* HISTORY.txt README.txt"
+
+src_prepare() {
+ distutils_src_prepare
+ python_convert_shebangs -r 2 src
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" test
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ # Don't install tests.
+ rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/{BTrees,persistent,ZEO,ZODB}/tests
+ rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/{ZEO,ZODB}/scripts/manual_tests
+
+ # Don't install sources.
+ find "${D}"usr/$(get_libdir)/python*/site-packages -name "*.c" -o -name "*.h" | xargs rm -f
+}