From ba834e0198495fcf497212615affedeb0979a085 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 11 Oct 2009 17:47:48 +0000 Subject: Version bump (bug #191260). Set SUPPORT_PYTHON_ABIS. (Portage version: 14568-svn/cvs/Linux x86_64) --- net-zope/zodb/ChangeLog | 8 +++++- net-zope/zodb/zodb-3.9.1.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 net-zope/zodb/zodb-3.9.1.ebuild (limited to 'net-zope') 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 + +zodb-3.9.1.ebuild: + Version bump (bug #191260). Set SUPPORT_PYTHON_ABIS. 04 Oct 2009; Arfrever Frehtes Taifersar Arahesis 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 +} -- cgit v1.2.3-65-gdbad