diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 21:01:15 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 21:01:15 +0000 |
commit | 130e40a51f73c60388aee3b8e804ca4bb65c7e79 (patch) | |
tree | 6e18072c660f8829af2f23d41cffa7ce49e55e53 /net-zope | |
parent | Move jpeg blocker to RDEPEND as suggested by Zac Medico #288369 by Vlastimil ... (diff) | |
download | gentoo-2-130e40a51f73c60388aee3b8e804ca4bb65c7e79.tar.gz gentoo-2-130e40a51f73c60388aee3b8e804ca4bb65c7e79.tar.bz2 gentoo-2-130e40a51f73c60388aee3b8e804ca4bb65c7e79.zip |
Initial addition.
(Portage version: 14563-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/transaction/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/transaction/metadata.xml | 6 | ||||
-rw-r--r-- | net-zope/transaction/transaction-1.0.0.ebuild | 42 |
3 files changed, 58 insertions, 0 deletions
diff --git a/net-zope/transaction/ChangeLog b/net-zope/transaction/ChangeLog new file mode 100644 index 000000000000..f53be477572b --- /dev/null +++ b/net-zope/transaction/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/transaction +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/transaction/ChangeLog,v 1.1 2009/10/10 21:01:15 arfrever Exp $ + +*transaction-1.0.0 (10 Oct 2009) + + 10 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +transaction-1.0.0.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/transaction/metadata.xml b/net-zope/transaction/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/transaction/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/transaction/transaction-1.0.0.ebuild b/net-zope/transaction/transaction-1.0.0.ebuild new file mode 100644 index 000000000000..c7366923fd60 --- /dev/null +++ b/net-zope/transaction/transaction-1.0.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/transaction/transaction-1.0.0.ebuild,v 1.1 2009/10/10 21:01:15 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Transaction management for Python" +HOMEPAGE="http://pypi.python.org/pypi/transaction" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="net-zope/zope-interface" +DEPEND="${RDEPEND} + dev-python/setuptools + test? ( dev-python/nose net-zope/zope-testing )" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="CHANGES.txt README.txt" + +src_test() { + testing() { + # Future versions of dev-python/nose will support Python 3. + [[ "${PYTHON_ABI}" == 3.* ]] && return + + PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + # Don't install tests. + rm -fr "${D}"usr/$(get_libdir)/python*/site-packages/transaction/tests +} |