Gentoo Archives: gentoo-commits

From: Matt Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-i18n/
Date: Mon, 27 Feb 2017 02:16:40
Message-Id: 1488161711.ddff79cd5293d9fa3849ef15e4425affe44dc6b7.prometheanfire@gentoo
1 commit: ddff79cd5293d9fa3849ef15e4425affe44dc6b7
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 27 01:20:33 2017 +0000
4 Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 27 02:15:11 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddff79cd
7
8 dev-python/oslo-i18n: bup
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-python/oslo-i18n/Manifest | 1 +
13 dev-python/oslo-i18n/oslo-i18n-3.12.0.ebuild | 62 ++++++++++++++++++++++++++++
14 2 files changed, 63 insertions(+)
15
16 diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest
17 index 1cd8ba5b90..c949310687 100644
18 --- a/dev-python/oslo-i18n/Manifest
19 +++ b/dev-python/oslo-i18n/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST oslo-i18n-3.12.0.tar.gz 40514 SHA256 6add28cbbe8254838f7f131de0cf0f3761786d57e5fe5716a488260b725f58d3 SHA512 a19cfec1acb1461d6373ffe5c13c275ce50c4e817e613c3cccd56b90955d99088162089753fba3b3185ee44598013e965c030d011e56140f95958dc9bfec4b61 WHIRLPOOL 64aefcf366b18db65f54b9277c6946ef013e02f49ebae6c8066227324ed807e644a14c17fccd6b5359d6e7fbf49f4e29e2c6fdfeacc8eeac98c79b5816e6ba74
22 DIST oslo-i18n-3.5.0.tar.gz 36093 SHA256 5fff5f6ceabed9d09b18d83e049864c29eff038efbbe67e03fe68c49cc189f10 SHA512 156b28fa1db65a57a8db2744d72cb5db2706ec773746e676895121c0d6459f4806d826b76428841ee7124c27eba281095fa50d64cbb68f82133c41560ea15950 WHIRLPOOL 8d599b0e989c650d305c0f2ad85596971e6b0e3c5a8f8daa00ba76b9fdc8cdf5486a346343123247efc8dbaf4d7825a62b5340a957c7e7881c2483ea051e90e1
23 DIST oslo-i18n-3.9.0.tar.gz 35973 SHA256 0bcb8108cf38b9ad4feb1ee08d27e34dc358f80dc7a7fe9a5b942ebf3b07c0b5 SHA512 7c176b8ac3ef0b52b2a08a7779c59b01fd32e084b99562eb232f9894ba4c9ae0bd810721fcf6fedf8729e3fdbfebce8b6210698aa0ae9e003855c8f2d66f2b0a WHIRLPOOL 34781968918cf6e7114301f7122f9d8f516be9f2db89798e64ad4589eb78f9b4a11e0f30b034b697734cfa3508cd997f13e8afe4b4abbc970d1705b42b060842
24
25 diff --git a/dev-python/oslo-i18n/oslo-i18n-3.12.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-3.12.0.ebuild
26 new file mode 100644
27 index 0000000000..9e491d0120
28 --- /dev/null
29 +++ b/dev-python/oslo-i18n/oslo-i18n-3.12.0.ebuild
30 @@ -0,0 +1,62 @@
31 +# Copyright 1999-2017 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python{2_7,3_{4,5}} )
37 +
38 +inherit distutils-r1 vcs-snapshot
39 +
40 +MY_PN=${PN/-/.}
41 +
42 +DESCRIPTION="Oslo i18n library"
43 +HOMEPAGE="https://launchpad.net/oslo"
44 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="Apache-2.0"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm64 ~x86"
49 +IUSE="doc test"
50 +
51 +CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
52 +DEPEND="
53 + dev-python/setuptools[${PYTHON_USEDEP}]
54 + ${CDEPEND}
55 + test? (
56 + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
57 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
58 + >=dev-python/coverage-4.0[${PYTHON_USEDEP}]
59 + >=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
60 + >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
61 + !~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
62 + )
63 + doc? (
64 + >=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
65 + >=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
66 + >=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
67 + <dev-python/sphinx-1.4[${PYTHON_USEDEP}]
68 + >=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
69 + )
70 +"
71 +RDEPEND="
72 + ${CDEPEND}
73 + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
74 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
75 +"
76 +
77 +python_compile_all() {
78 + use doc && esetup.py build_sphinx
79 +}
80 +
81 +python_test() {
82 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
83 +
84 + testr init || die "testr init failed under ${EPYTHON}"
85 + testr run || die "testr run failed under ${EPYTHON}"
86 +}
87 +
88 +python_install_all() {
89 + use doc && local HTML_DOCS=( doc/build/html/. )
90 +
91 + distutils-r1_python_install_all
92 +}