dev-python/tempora: needed as a new dep to dev-python/irc
authorLouis Sautier <sautier.louis@gmail.com>
Tue, 29 Dec 2015 13:35:54 +0000 (14:35 +0100)
committerIan Delaney <idella4@gentoo.org>
Tue, 29 Dec 2015 13:58:42 +0000 (21:58 +0800)
Package-Manager: portage-2.2.26

dev-python/tempora/Manifest [new file with mode: 0644]
dev-python/tempora/metadata.xml [new file with mode: 0644]
dev-python/tempora/tempora-1.4.ebuild [new file with mode: 0644]

diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest
new file mode 100644 (file)
index 0000000..7c45e1f
--- /dev/null
@@ -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 (file)
index 0000000..ba63b43
--- /dev/null
@@ -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 (file)
index 0000000..197aaad
--- /dev/null
@@ -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}"
+}