commit: 22636b167058464a73cb65d5af78a9c025eb18b1 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Sat Jul 11 00:10:23 2015 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Sat Jul 11 00:10:23 2015 +0000 URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=22636b16
[dev-python/pyrfc3339] Initial version. Package-Manager: portage-2.2.20 dev-python/pyrfc3339/Manifest | 1 + dev-python/pyrfc3339/metadata.xml | 8 ++++++++ dev-python/pyrfc3339/pyrfc3339-0.2.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) diff --git a/dev-python/pyrfc3339/Manifest b/dev-python/pyrfc3339/Manifest new file mode 100644 index 0000000..a4eab11 --- /dev/null +++ b/dev-python/pyrfc3339/Manifest @@ -0,0 +1 @@ +DIST pyRFC3339-0.2.tar.gz 5068 SHA256 a504ff6bcb363fa402d393f65fe5f542475e54fbfc55817b80892ba93b22e6de SHA512 54482528e429c0135823b333d18e6a9361ba99b18a62883e9b09f5533e75f08d12d9c1ee855296cecd98c11824f927984527bb0555a49e4284164b7fe4df8c4f WHIRLPOOL c84d3e1d38b2d57d6525f884a12e8e478aaf6e6e30a00b6267cc5043da9b3b58b1afd585d8350291e32e350df0431be96743b27d95769eecdbc738ded863e68e diff --git a/dev-python/pyrfc3339/metadata.xml b/dev-python/pyrfc3339/metadata.xml new file mode 100644 index 0000000..bfcb697 --- /dev/null +++ b/dev-python/pyrfc3339/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>mr...@gentoo.org</email> + <name>Manuel Rüger</name> + </maintainer> +</pkgmetadata> diff --git a/dev-python/pyrfc3339/pyrfc3339-0.2.ebuild b/dev-python/pyrfc3339/pyrfc3339-0.2.ebuild new file mode 100644 index 0000000..d43b092 --- /dev/null +++ b/dev-python/pyrfc3339/pyrfc3339-0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +PYTHON_COMPAT=(python2_7) + +inherit distutils-r1 +MY_PN=pyRFC3339 + +MY_P=${MY_PN}-${PV} +DESCRIPTION="Generates and parses RFC 3339 timestamps" +HOMEPAGE="https://github.com/kurtraschke/pyRFC3339" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/pytz[${PYTHON_USEDEP}]" +DEPEND="test? ( ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +python_test() { + nosetests || die +}