summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-12-29 21:51:28 +0800
committerIan Delaney <idella4@gentoo.org>2015-12-29 21:58:43 +0800
commitd7c6bc5494f7dc2da22a0067a890998d733acc44 (patch)
treedf29aebc458a5834466094f0b10bd7c356a2210a
parentMerge remote-tracking branch 'remotes/sbraz/jaraco-classes' (diff)
parentdev-python/tempora: needed as a new dep to dev-python/irc (diff)
downloadgentoo-d7c6bc5494f7dc2da22a0067a890998d733acc44.tar.gz
gentoo-d7c6bc5494f7dc2da22a0067a890998d733acc44.tar.bz2
gentoo-d7c6bc5494f7dc2da22a0067a890998d733acc44.zip
Merge remote-tracking branch 'remotes/sbraz/tempora'
Pull request: https://github.com/gentoo/gentoo/pull/555
-rw-r--r--dev-python/tempora/Manifest1
-rw-r--r--dev-python/tempora/metadata.xml14
-rw-r--r--dev-python/tempora/tempora-1.4.ebuild35
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}"
+}