Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/oslo-serialization/
Date: Thu, 02 Jul 2020 23:54:29
Message-Id: 1593734046.6ca5d73d1dffeccb1e07cde2aac7b7554d1066c0.prometheanfire@gentoo
1 commit: 6ca5d73d1dffeccb1e07cde2aac7b7554d1066c0
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 2 23:39:43 2020 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 2 23:54:06 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca5d73d
7
8 dev-python/oslo-serialization: 3.1.1 stable amd64/x86 with cleanup
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.23
11 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
12
13 dev-python/oslo-serialization/Manifest | 1 -
14 .../oslo-serialization-2.28.2.ebuild | 77 ----------------------
15 .../oslo-serialization-3.1.1.ebuild | 2 +-
16 3 files changed, 1 insertion(+), 79 deletions(-)
17
18 diff --git a/dev-python/oslo-serialization/Manifest b/dev-python/oslo-serialization/Manifest
19 index e18628a334a..08f8fc66414 100644
20 --- a/dev-python/oslo-serialization/Manifest
21 +++ b/dev-python/oslo-serialization/Manifest
22 @@ -1,2 +1 @@
23 -DIST oslo-serialization-2.28.2.tar.gz 30807 BLAKE2B ff0ee4d4215943d0fa419d0d0989c093812d354da6727f5e87a27ff0562baf5e3a22c781c686ce5156fcff065e03c7481bcf3e16041a2296366a1f297060eff5 SHA512 78305f20392348b73eca244464cd4167177cd82ea74597641ee9de60b51182e5e3d75e5d748fe2c39ddb322a08f2ee5044c846bc969022b738a0b89874451337
24 DIST oslo-serialization-3.1.1.tar.gz 32180 BLAKE2B 5ce0db206732430b2553b0eb01d5df717069a07370a20ef452b77e83ed95f1cd0542eac287ba28d4fd2a3f66541823c362a925e48a3ed175abdbab2c1aa5b2f2 SHA512 5a551c33a001eeb73213dac1b4e4bc50db2ceb7dc2f9881c07abbab05cc8ccfda4d73cc9bdc673e26628aaa05c3d66f9c76ba4eb370c851990f3614b33233a95
25
26 diff --git a/dev-python/oslo-serialization/oslo-serialization-2.28.2.ebuild b/dev-python/oslo-serialization/oslo-serialization-2.28.2.ebuild
27 deleted file mode 100644
28 index 0179307703c..00000000000
29 --- a/dev-python/oslo-serialization/oslo-serialization-2.28.2.ebuild
30 +++ /dev/null
31 @@ -1,77 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{6,7} )
37 -
38 -inherit distutils-r1
39 -
40 -MY_PN=${PN/-/.}
41 -
42 -DESCRIPTION="Oslo Serialization 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 -S="${WORKDIR}/${MY_PN}-${PV}"
46 -
47 -LICENSE="Apache-2.0"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~arm64 x86"
50 -IUSE="doc test"
51 -
52 -CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
53 - !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]"
54 -DEPEND="
55 - dev-python/setuptools[${PYTHON_USEDEP}]
56 - ${CDEPEND}
57 - test? (
58 - >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
59 - >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
60 - >=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
61 - >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
62 - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
63 - >=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
64 - )
65 - doc? (
66 - >=dev-python/sphinx-1.6.2[${PYTHON_USEDEP}]
67 - >=dev-python/openstackdocstheme-1.18.1[${PYTHON_USEDEP}]
68 - >=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
69 - >=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
70 - )
71 -"
72 -RDEPEND="
73 - ${CDEPEND}
74 - >=dev-python/six-1.10.0[${PYTHON_USEDEP}]
75 - >=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
76 - >=dev-python/oslo-utils-3.20.0[${PYTHON_USEDEP}]
77 - >=dev-python/pytz-2013.6[${PYTHON_USEDEP}]
78 -"
79 -
80 -python_prepare_all() {
81 - # allow useage of renamed msgpack
82 - sed -i '/^msgpack/d' requirements.txt || die
83 - use doc && esetup.py build_sphinx
84 - distutils-r1_python_prepare_all
85 -}
86 -
87 -# Note: Tests fail due to requiring installation.
88 -#
89 -# Installation appears to fail due ot the use of namespace packages but root
90 -# cause was never truly established.
91 -RESTRICT="test"
92 -
93 -python_test() {
94 - distutils_install_for_testing
95 -
96 - PYTHONPATH="${TEST_DIR}/lib:${PYTHONPATH}"
97 -
98 - rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPTYHON}"
99 -
100 - testr init || die "testr init failed under ${EPYTHON}"
101 - testr run || die "testr run failed under ${EPYTHON}"
102 -}
103 -
104 -python_install_all() {
105 - use doc && local HTML_DOCS=( doc/build/html/. )
106 -
107 - distutils-r1_python_install_all
108 -}
109
110 diff --git a/dev-python/oslo-serialization/oslo-serialization-3.1.1.ebuild b/dev-python/oslo-serialization/oslo-serialization-3.1.1.ebuild
111 index 2b721387653..f5f4d9cb8de 100644
112 --- a/dev-python/oslo-serialization/oslo-serialization-3.1.1.ebuild
113 +++ b/dev-python/oslo-serialization/oslo-serialization-3.1.1.ebuild
114 @@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
115
116 LICENSE="Apache-2.0"
117 SLOT="0"
118 -KEYWORDS="~amd64 ~arm64 ~x86"
119 +KEYWORDS="amd64 ~arm64 x86"
120 IUSE=""
121
122 CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]