Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/
Date: Tue, 29 Dec 2015 13:59:03
Message-Id: 1451397522.7af23565a9ade14cf605badd7ff61f7a99116408.idella4@gentoo
1 commit: 7af23565a9ade14cf605badd7ff61f7a99116408
2 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com>
3 AuthorDate: Tue Dec 29 13:35:54 2015 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 29 13:58:42 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7af23565
7
8 dev-python/tempora: needed as a new dep to dev-python/irc
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/tempora/Manifest | 1 +
13 dev-python/tempora/metadata.xml | 14 ++++++++++++++
14 dev-python/tempora/tempora-1.4.ebuild | 35 +++++++++++++++++++++++++++++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest
18 new file mode 100644
19 index 0000000..7c45e1f
20 --- /dev/null
21 +++ b/dev-python/tempora/Manifest
22 @@ -0,0 +1 @@
23 +DIST tempora-1.4.tar.gz 7173 SHA256 ea5b4f8774408f2c7fe018fd04dae61d4910f032c8124b0b851f962884b65b7b SHA512 8ba86ec90ec3ade059ad683ff26586b4d32ded7aaa5031ef90c735393d183902015d63607f382fd950ef7d4bd8b4f9256aff6b70d20f57f6bbbc947a1dece365 WHIRLPOOL 2c185af421483bdb17736b3023c3c32014803f167ce5fa85b0634210b3c20143ee0f89e338dca33ba0976264b6f0d27d6dad92874a6f6ed1d97cb68672afed6c
24
25 diff --git a/dev-python/tempora/metadata.xml b/dev-python/tempora/metadata.xml
26 new file mode 100644
27 index 0000000..ba63b43
28 --- /dev/null
29 +++ b/dev-python/tempora/metadata.xml
30 @@ -0,0 +1,14 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <herd>proxy-maintainers</herd>
35 + <maintainer>
36 + <email>sautier.louis@×××××.com</email>
37 + <name>Louis Sautier</name>
38 + <description>Proxied maintainer; set to assignee in all bugs</description>
39 + </maintainer>
40 + <upstream>
41 + <remote-id type="pypi">tempora</remote-id>
42 + <remote-id type="bitbucket">jaraco/tempora</remote-id>
43 + </upstream>
44 +</pkgmetadata>
45
46 diff --git a/dev-python/tempora/tempora-1.4.ebuild b/dev-python/tempora/tempora-1.4.ebuild
47 new file mode 100644
48 index 0000000..197aaad
49 --- /dev/null
50 +++ b/dev-python/tempora/tempora-1.4.ebuild
51 @@ -0,0 +1,35 @@
52 +# Copyright 1999-2015 Gentoo Foundation
53 +# Distributed under the terms of the GNU General Public License v2
54 +# $Id$
55 +
56 +EAPI=5
57 +
58 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
59 +
60 +inherit distutils-r1
61 +
62 +MY_PN="${PN/-/.}"
63 +DESCRIPTION="Objects and routines pertaining to date and time"
64 +HOMEPAGE="https://bitbucket.org/jaraco/tempora"
65 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64 ~x86"
70 +IUSE="test"
71 +
72 +# The binary calc-prorate used to be part of jaraco.util
73 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
74 + !<=dev-python/jaraco-utils-10.0.2
75 + >=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
76 + test? (
77 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
78 + dev-python/pytest-runner[${PYTHON_USEDEP}]
79 + )
80 +"
81 +
82 +S="${WORKDIR}/${MY_PN}-${PV}"
83 +
84 +python_test() {
85 + py.test || die "tests failed with ${EPYTHON}"
86 +}