diff options
author | Louis Sautier <sautier.louis@gmail.com> | 2015-12-29 14:35:54 +0100 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-12-29 21:58:42 +0800 |
commit | 7af23565a9ade14cf605badd7ff61f7a99116408 (patch) | |
tree | 948025dcd846fc5700abdb6c4b94535de8f29e79 /dev-python/tempora | |
parent | media-plugins/gst-plugins-vaapi: Version bump (diff) | |
download | gentoo-7af23565a9ade14cf605badd7ff61f7a99116408.tar.gz gentoo-7af23565a9ade14cf605badd7ff61f7a99116408.tar.bz2 gentoo-7af23565a9ade14cf605badd7ff61f7a99116408.zip |
dev-python/tempora: needed as a new dep to dev-python/irc
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-python/tempora')
-rw-r--r-- | dev-python/tempora/Manifest | 1 | ||||
-rw-r--r-- | dev-python/tempora/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/tempora/tempora-1.4.ebuild | 35 |
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest new file mode 100644 index 000000000000..7c45e1f6b53f --- /dev/null +++ b/dev-python/tempora/Manifest @@ -0,0 +1 @@ +DIST tempora-1.4.tar.gz 7173 SHA256 ea5b4f8774408f2c7fe018fd04dae61d4910f032c8124b0b851f962884b65b7b SHA512 8ba86ec90ec3ade059ad683ff26586b4d32ded7aaa5031ef90c735393d183902015d63607f382fd950ef7d4bd8b4f9256aff6b70d20f57f6bbbc947a1dece365 WHIRLPOOL 2c185af421483bdb17736b3023c3c32014803f167ce5fa85b0634210b3c20143ee0f89e338dca33ba0976264b6f0d27d6dad92874a6f6ed1d97cb68672afed6c diff --git a/dev-python/tempora/metadata.xml b/dev-python/tempora/metadata.xml new file mode 100644 index 000000000000..ba63b4356976 --- /dev/null +++ b/dev-python/tempora/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>sautier.louis@gmail.com</email> + <name>Louis Sautier</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> + <upstream> + <remote-id type="pypi">tempora</remote-id> + <remote-id type="bitbucket">jaraco/tempora</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/tempora/tempora-1.4.ebuild b/dev-python/tempora/tempora-1.4.ebuild new file mode 100644 index 000000000000..197aaadaf2b8 --- /dev/null +++ b/dev-python/tempora/tempora-1.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +DESCRIPTION="Objects and routines pertaining to date and time" +HOMEPAGE="https://bitbucket.org/jaraco/tempora" +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# The binary calc-prorate used to be part of jaraco.util +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + !<=dev-python/jaraco-utils-10.0.2 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}] + test? ( + >=dev-python/pytest-2.8[${PYTHON_USEDEP}] + dev-python/pytest-runner[${PYTHON_USEDEP}] + ) +" + +S="${WORKDIR}/${MY_PN}-${PV}" + +python_test() { + py.test || die "tests failed with ${EPYTHON}" +} |