diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-14 15:47:06 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-11-14 15:47:06 +0000 |
commit | 7b57ad5f29a248d5d1b100055efe8cfa449dde2b (patch) | |
tree | 2550005628503d8eec35e1e66e91427a132baf60 /net-zope/zope-datetime/zope-datetime-3.4.0.ebuild | |
parent | ia64/sh/sparc stable wrt #287581 (diff) | |
download | gentoo-2-7b57ad5f29a248d5d1b100055efe8cfa449dde2b.tar.gz gentoo-2-7b57ad5f29a248d5d1b100055efe8cfa449dde2b.tar.bz2 gentoo-2-7b57ad5f29a248d5d1b100055efe8cfa449dde2b.zip |
Initial addition.
(Portage version: 14820-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope/zope-datetime/zope-datetime-3.4.0.ebuild')
-rw-r--r-- | net-zope/zope-datetime/zope-datetime-3.4.0.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-zope/zope-datetime/zope-datetime-3.4.0.ebuild b/net-zope/zope-datetime/zope-datetime-3.4.0.ebuild new file mode 100644 index 000000000000..335de58d8df1 --- /dev/null +++ b/net-zope/zope-datetime/zope-datetime-3.4.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/zope-datetime/zope-datetime-3.4.0.ebuild,v 1.1 2009/11/14 15:47:06 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Zope datetime" +HOMEPAGE="http://pypi.python.org/pypi/zope.datetime" +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" + +DEPEND="dev-python/setuptools + test? ( dev-python/nose )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${PN/-//}" +DOCS="README.txt" + +src_test() { + testing() { + nosetests-${PYTHON_ABI} + } + python_execute_function testing +} |