diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-06 00:53:52 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-06 00:53:52 +0000 |
commit | 8a25bcd4c85b356236763e85f62d49e9b25892e7 (patch) | |
tree | 1b407753d1a34420dddbb4d21e0020a6ce086bba /net-zope | |
parent | Version bump (diff) | |
download | historical-8a25bcd4c85b356236763e85f62d49e9b25892e7.tar.gz historical-8a25bcd4c85b356236763e85f62d49e9b25892e7.tar.bz2 historical-8a25bcd4c85b356236763e85f62d49e9b25892e7.zip |
Initial addition.
Package-Manager: portage-14931-svn/cvs/Linux x86_64
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/persistence/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/persistence/Manifest | 4 | ||||
-rw-r--r-- | net-zope/persistence/metadata.xml | 6 | ||||
-rw-r--r-- | net-zope/persistence/persistence-2.11.1.ebuild | 49 |
4 files changed, 69 insertions, 0 deletions
diff --git a/net-zope/persistence/ChangeLog b/net-zope/persistence/ChangeLog new file mode 100644 index 000000000000..94e6d7bb636f --- /dev/null +++ b/net-zope/persistence/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/persistence +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/persistence/ChangeLog,v 1.1 2009/12/06 00:53:52 arfrever Exp $ + +*persistence-2.11.1 (06 Dec 2009) + + 06 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +persistence-2.11.1.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/persistence/Manifest b/net-zope/persistence/Manifest new file mode 100644 index 000000000000..92e4fbb980ab --- /dev/null +++ b/net-zope/persistence/Manifest @@ -0,0 +1,4 @@ +DIST Persistence-2.11.1.tar.gz 68389 RMD160 8defc22102a88dccd5e2776b53476afda33b06d4 SHA1 63ed3142ffed076a85e6ceafee5c5fe24781259f SHA256 26634372f58bc896b4d4c4ba6385cfa27aef453566a13d84f544f68545710f46 +EBUILD persistence-2.11.1.ebuild 1258 RMD160 16116a3eeb5f2b697fe90e42197947861150a13a SHA1 3c925a194af26af182301c42c3155002b16750db SHA256 737f38083199a2cb5f9a8e719f7c8c17a61b997d83df132ad268163c9b176d3c +MISC ChangeLog 411 RMD160 2adc45d9fb79ab82ad06819ef95162cf1cd11ca2 SHA1 2df7c266b50f408edd899f85228627a30dfb164d SHA256 c135b8d68d8e0f286b32b36bf432c59bdfc79659ff8355e18393778dfac7a0ed +MISC metadata.xml 183 RMD160 0e2d86898897ee70cc1f6e9ceb76d00388d3b2fa SHA1 19635a9dfa15036e341a7cbdd8cbd018db62be82 SHA256 f480763451083d2f7be8fc23d38e02952ccc383b4cc65e103a9901a0907ce50d diff --git a/net-zope/persistence/metadata.xml b/net-zope/persistence/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/persistence/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/persistence/persistence-2.11.1.ebuild b/net-zope/persistence/persistence-2.11.1.ebuild new file mode 100644 index 000000000000..5c231bfa0412 --- /dev/null +++ b/net-zope/persistence/persistence-2.11.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/persistence/persistence-2.11.1.ebuild,v 1.1 2009/12/06 00:53:52 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="Persistence" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Persistent ExtensionClass" +HOMEPAGE="http://pypi.python.org/pypi/Persistence" +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" + +RDEPEND="net-zope/extensionclass + net-zope/zodb" +DEPEND="${RDEPEND} + test? ( dev-python/nose )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" + +src_test() { + testing() { + local module + for module in Persistence; 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 + + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + # Don't install sources. + find "${D}"usr/$(get_libdir)/python*/site-packages -name "*.c" | xargs rm -f +} |