diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-04 04:38:41 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-07-04 04:38:41 +0000 |
commit | 696dda40726c5a6846d5473cea522c7b84d11f0b (patch) | |
tree | 675ee10cd00bc86d4576f837899ff3eec89cfd40 /net-zope/record | |
parent | Version bump. (diff) | |
download | gentoo-2-696dda40726c5a6846d5473cea522c7b84d11f0b.tar.gz gentoo-2-696dda40726c5a6846d5473cea522c7b84d11f0b.tar.bz2 gentoo-2-696dda40726c5a6846d5473cea522c7b84d11f0b.zip |
Initial addition.
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'net-zope/record')
-rw-r--r-- | net-zope/record/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/record/metadata.xml | 5 | ||||
-rw-r--r-- | net-zope/record/record-2.13.0.ebuild | 45 |
3 files changed, 60 insertions, 0 deletions
diff --git a/net-zope/record/ChangeLog b/net-zope/record/ChangeLog new file mode 100644 index 000000000000..8497880785d3 --- /dev/null +++ b/net-zope/record/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/record +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/record/ChangeLog,v 1.1 2010/07/04 04:38:41 arfrever Exp $ + +*record-2.13.0 (04 Jul 2010) + + 04 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +record-2.13.0.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/record/metadata.xml b/net-zope/record/metadata.xml new file mode 100644 index 000000000000..42125e6223db --- /dev/null +++ b/net-zope/record/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/record/record-2.13.0.ebuild b/net-zope/record/record-2.13.0.ebuild new file mode 100644 index 000000000000..c1d61d076566 --- /dev/null +++ b/net-zope/record/record-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/record/record-2.13.0.ebuild,v 1.1 2010/07/04 04:38:41 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +MY_PN="Record" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Special Record objects used in Zope2." +HOMEPAGE="http://pypi.python.org/pypi/Record" +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 Record; 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 +} |