Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-i18n/
Date: Sun, 22 Nov 2015 23:13:34
Message-Id: 1448233977.f37cb56a17ee81e0b6e82b8e4274b8760a1d2073.alunduil@gentoo
1 commit: f37cb56a17ee81e0b6e82b8e4274b8760a1d2073
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 22 23:04:24 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 22 23:12:57 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f37cb56a
7
8 dev-python/oslo-i18n: add version 2.7.0
9
10 Package-Manager: portage-2.2.25
11
12 dev-python/oslo-i18n/Manifest | 1 +
13 dev-python/oslo-i18n/oslo-i18n-2.7.0.ebuild | 60 +++++++++++++++++++++++++++++
14 2 files changed, 61 insertions(+)
15
16 diff --git a/dev-python/oslo-i18n/Manifest b/dev-python/oslo-i18n/Manifest
17 index bc60d9a..20c1b13 100644
18 --- a/dev-python/oslo-i18n/Manifest
19 +++ b/dev-python/oslo-i18n/Manifest
20 @@ -1,3 +1,4 @@
21 +DIST oslo-i18n-2.7.0.tar.gz 36899 SHA256 9f510fd251510ca670ef876783a1727f67fe7a27595d772057273d33e4664f86 SHA512 c0733c63aa64046cf693676d43bece82a75f962e260d1e46f76120ada0139459184016c81a9a760d71493e414c0eb06311c9b89cc713d11c022a7faca4d46ab6 WHIRLPOOL dfb922bbf520d2a1e1691d865a0c133d0633572ede58c0ba28e51df08e5f9ad70ff40e31722b1612778ad0f96ec231978579f493b2db7b433ebbcee1d234f68c
22 DIST oslo.i18n-1.0.0.tar.gz 31042 SHA256 008f86bc297ee05c63b1e2e4a85985802f086c81b16b0853e8e47df0592b23bc SHA512 907971cf4a85bfd2f935faf30dced837614eaa08397b7243a497c6fb50c1228c5cd5f562fb452ebc2a0ad929073724b1e44b38df9b5f424833ed958dcbfc96ab WHIRLPOOL b6ffb2bfce611bb5dd99bd62d24709dfa8626bc93edc7e51aa27e422f556851b31a3525e15fcb2481a72d6b225acc957ecf1ae64bdd38dcae8411173cc8b999d
23 DIST oslo.i18n-1.3.1.tar.gz 35050 SHA256 8e1b9b3f87cea9e43a2414bb02d8c79b0a688c916afa1f1453f6a0a65ffd85f6 SHA512 987beef5e59b213988001fb53f1b2e41b122b830bd476c64a4481f7650db45d31d66c94d79da26e1fc346035393c00a63febb1254d3ab881ce3d2b00398c5ac8 WHIRLPOOL 7b590d93c478d855edfdfba8a31dac491913426100c8e216cfd4b82ff47b60f98b34a56ff69e2af49d0c16d3e2ac1813731527ab21bb4f9fe2f33dc5847d0835
24 DIST oslo.i18n-1.4.0.tar.gz 36140 SHA256 a3d64e8d2b4235a457da2c6269d8c97e867a90ba7d938fe0ed3cfc792c8c87bb SHA512 df1491bb4d98b9295c08f4b7dc18cfff2758834ff5edb9aa3bdc064e587ab475e7e060dc5212c5db1e7e2f34cc4177e5c713a4ac6908a9750f50dc6316105682 WHIRLPOOL 8e77849c0a8f3c5a7e5b314f756673f31a3464f2a65c35e8ad506fd0ce10430b2fea0fae97eaccfef258b74a24db2f86b0843575d25f3d3a84a3b19ae0c5ff12
25
26 diff --git a/dev-python/oslo-i18n/oslo-i18n-2.7.0.ebuild b/dev-python/oslo-i18n/oslo-i18n-2.7.0.ebuild
27 new file mode 100644
28 index 0000000..2ea557d
29 --- /dev/null
30 +++ b/dev-python/oslo-i18n/oslo-i18n-2.7.0.ebuild
31 @@ -0,0 +1,60 @@
32 +# Copyright 1999-2015 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-i18n/oslo-i18n-1.6.0.ebuild,v 1.1 2015/04/22 20:35:11 prometheanfire Exp $
35 +
36 +EAPI=5
37 +PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
38 +
39 +inherit distutils-r1 vcs-snapshot
40 +
41 +MY_PN=${PN/-/.}
42 +
43 +DESCRIPTION="Oslo i18n library"
44 +HOMEPAGE="http://launchpad.net/oslo"
45 +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="doc test"
51 +
52 +CDEPEND=">dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]"
53 +CRDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
54 +DEPEND="
55 + dev-python/setuptools[${PYTHON_USEDEP}]
56 + ${CRDEPEND}
57 + test? (
58 + ${CDEPEND}
59 + >=dev-python/mock-1.2[${PYTHON_USEDEP}]
60 + >=dev-python/oslo-config-2.3.0[${PYTHON_USEDEP}]
61 + )
62 + doc? (
63 + ${CDEPEND}
64 + >=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
65 + >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
66 + !~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
67 + <dev-python/sphinx-1.3[${PYTHON_USEDEP}]
68 + )
69 +"
70 +RDEPEND="
71 + ${CRDEPEND}
72 + >=dev-python/Babel-1.3[${PYTHON_USEDEP}]
73 + >=dev-python/six-1.9.0[${PYTHON_USEDEP}]
74 +"
75 +
76 +python_compile_all() {
77 + use doc && esetup.py build_sphinx
78 +}
79 +
80 +python_test() {
81 + rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
82 +
83 + testr init || die "testr init failed under ${EPYTHON}"
84 + testr run || die "testr run failed under ${EPYTHON}"
85 +}
86 +
87 +python_install_all() {
88 + use doc && local HTML_DOCS=( doc/build/html/. )
89 +
90 + distutils-r1_python_install_all
91 +}