diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-08 12:29:27 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-12-08 12:29:27 +0000 |
commit | 1a1b850800f15216654e16424c447baebfea8057 (patch) | |
tree | ba0bd9aeb6543727b22b5b8d6a6638ea27caea4e /net-zope | |
parent | Initial addition. (diff) | |
download | gentoo-2-1a1b850800f15216654e16424c447baebfea8057.tar.gz gentoo-2-1a1b850800f15216654e16424c447baebfea8057.tar.bz2 gentoo-2-1a1b850800f15216654e16424c447baebfea8057.zip |
Initial addition.
(Portage version: 14964-svn/cvs/Linux x86_64)
Diffstat (limited to 'net-zope')
-rw-r--r-- | net-zope/datetime/ChangeLog | 10 | ||||
-rw-r--r-- | net-zope/datetime/datetime-2.12.0.ebuild | 39 | ||||
-rw-r--r-- | net-zope/datetime/metadata.xml | 6 |
3 files changed, 55 insertions, 0 deletions
diff --git a/net-zope/datetime/ChangeLog b/net-zope/datetime/ChangeLog new file mode 100644 index 000000000000..33a63540f12c --- /dev/null +++ b/net-zope/datetime/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-zope/datetime +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/datetime/ChangeLog,v 1.1 2009/12/08 12:29:27 arfrever Exp $ + +*datetime-2.12.0 (08 Dec 2009) + + 08 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +datetime-2.12.0.ebuild, +metadata.xml: + Initial addition. Ebuild written by me. + diff --git a/net-zope/datetime/datetime-2.12.0.ebuild b/net-zope/datetime/datetime-2.12.0.ebuild new file mode 100644 index 000000000000..c8defec1b667 --- /dev/null +++ b/net-zope/datetime/datetime-2.12.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-zope/datetime/datetime-2.12.0.ebuild,v 1.1 2009/12/08 12:29:27 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +MY_PN="DateTime" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="DateTime data type from Zope 2" +HOMEPAGE="http://pypi.python.org/pypi/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" + +RDEPEND="dev-python/pytz + net-zope/zope-interface" +DEPEND="${RDEPEND} + dev-python/setuptools + test? ( dev-python/nose net-zope/zope-testing )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="${MY_PN}" +DOCS="CHANGES.txt README.txt" + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} diff --git a/net-zope/datetime/metadata.xml b/net-zope/datetime/metadata.xml new file mode 100644 index 000000000000..ecc751f37510 --- /dev/null +++ b/net-zope/datetime/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> |