Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tempora/
Date: Sat, 03 Nov 2018 15:41:51
Message-Id: 1541259495.c8c5a9d596f46740fa24ca2c7c82bf60329c05d1.sbraz@gentoo
1 commit: c8c5a9d596f46740fa24ca2c7c82bf60329c05d1
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 3 15:35:49 2018 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 3 15:38:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8c5a9d5
7
8 dev-python/tempora: bump to 1.14
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-python/tempora/Manifest | 1 +
14 dev-python/tempora/tempora-1.14.ebuild | 54 ++++++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/dev-python/tempora/Manifest b/dev-python/tempora/Manifest
18 index e2dd72f2cae..071d09b262a 100644
19 --- a/dev-python/tempora/Manifest
20 +++ b/dev-python/tempora/Manifest
21 @@ -1,3 +1,4 @@
22 DIST tempora-1.12.tar.gz 15208 BLAKE2B ced6e5d069780b516ff791ee598683f59d02588d45282f1b6b6c2b8b61d354bc399d10c961b5a112c7ef1185c3661cbe9b1b9c95ab28d42ed2429fa4f504917e SHA512 4acd38fb464e858db371fc4ac6d2082f4f0c676016cdb95d8415895b7d0bdd3c787c2678737e437d1f5861368dd54040ce289407cfeea3ca43b130c56da133b6
23 DIST tempora-1.13.tar.gz 15956 BLAKE2B 7b00c4cf04628c1bb6a84b7044a22921f81bd77ff340342d7256acf8bb8b1b427fb15b9c10c28cfa4c99b02e4cee6e2b26ae53be0ed7ef67e3d6f528fb2e9a3d SHA512 98927024f07196a51b8d61017786cfc258db289ab9c98942cca2501074c1675bf1213770ad00db1d38829017bb9928cccde7fb344c170b2f485fc68505737485
24 +DIST tempora-1.14.tar.gz 16009 BLAKE2B 2f4c90da2aed42c2eaa24e5764c0ec163eeda3f5d7db908f5dfa9057eabaaa67654c100d049a389d43c0f8286c0dea12db3cc3cb9a8eea098925d2d7b011c1c5 SHA512 dea359fcb5eebda2db6b0de2e615ef6681860e9b8ecdb6041316623b9072067f08cd19d72d9a9e1fc792da7c5760f5e2382bedcbe09467109557448bae1fd8cf
25 DIST tempora-1.7.tar.gz 11645 BLAKE2B d354fb863a8d30bd9e603ad942d7c7f61a70c24e7f1fe94fffd59982431190e2807c2dc577ff83eb90ffc5fd2b2f8415965de1d77e4dca0dd02291733bfbb97c SHA512 2420e32a9b8c990609d8f09225004e0b1c445cad1fe3c3c74625cb8317b552469acf2d3b28aa56633a87260a93c77d73b02178cb662016c514bc740aa01399e5
26
27 diff --git a/dev-python/tempora/tempora-1.14.ebuild b/dev-python/tempora/tempora-1.14.ebuild
28 new file mode 100644
29 index 00000000000..0d46a295b0f
30 --- /dev/null
31 +++ b/dev-python/tempora/tempora-1.14.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2018 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( pypy3 python{2_7,3_{4,5,6,7}} )
39 +
40 +inherit distutils-r1
41 +
42 +MY_PN="${PN/-/.}"
43 +DESCRIPTION="Objects and routines pertaining to date and time"
44 +HOMEPAGE="https://github.com/jaraco/tempora"
45 +SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc test"
51 +
52 +RDEPEND="
53 + >=dev-python/jaraco-functools-1.20[${PYTHON_USEDEP}]
54 + dev-python/pytz[${PYTHON_USEDEP}]
55 + dev-python/six[${PYTHON_USEDEP}]
56 +"
57 +DEPEND="
58 + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
59 + dev-python/setuptools[${PYTHON_USEDEP}]
60 + doc? (
61 + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
62 + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}]
63 + dev-python/sphinx[${PYTHON_USEDEP}]
64 + )
65 + test? (
66 + ${RDEPEND}
67 + >=dev-python/pytest-2.8[${PYTHON_USEDEP}]
68 + dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
69 + dev-python/freezegun[${PYTHON_USEDEP}]
70 + )
71 +"
72 +
73 +S="${WORKDIR}/${MY_PN}-${PV}"
74 +
75 +python_compile_all() {
76 + if use doc; then
77 + sphinx-build docs docs/_build/html || die
78 + HTML_DOCS=( docs/_build/html/. )
79 + fi
80 +}
81 +
82 +python_test() {
83 + # Override pytest options to skip flake8
84 + PYTHONPATH=. pytest -vv --override-ini="addopts=--doctest-modules" \
85 + || die "tests failed with ${EPYTHON}"
86 +}