1 |
commit: 1330606f2976b6d5824c0189a41c949390184f25 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 2 07:13:45 2021 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 2 08:35:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1330606f |
7 |
|
8 |
dev-python/oslo-serialization: enable doc generation |
9 |
|
10 |
remove now useless msgpack sed |
11 |
|
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild | 11 +++++------ |
15 |
1 file changed, 5 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild b/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild |
18 |
index 276f78b8a82..6e7d6b1f95c 100644 |
19 |
--- a/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild |
20 |
+++ b/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild |
21 |
@@ -6,17 +6,16 @@ EAPI=8 |
22 |
PYTHON_COMPAT=( python3_{8..9} ) |
23 |
inherit distutils-r1 |
24 |
|
25 |
-MY_PN=${PN/-/.} |
26 |
+MY_P=${P/-/.} |
27 |
|
28 |
DESCRIPTION="Oslo Serialization library" |
29 |
HOMEPAGE="https://launchpad.net/oslo" |
30 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
31 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz" |
33 |
+S="${WORKDIR}/${MY_P}" |
34 |
|
35 |
LICENSE="Apache-2.0" |
36 |
SLOT="0" |
37 |
KEYWORDS="amd64 ~arm arm64 x86" |
38 |
-IUSE="" |
39 |
|
40 |
RDEPEND=" |
41 |
>=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}] |
42 |
@@ -33,10 +32,10 @@ BDEPEND=" |
43 |
" |
44 |
|
45 |
distutils_enable_tests unittest |
46 |
+distutils_enable_sphinx doc/source \ |
47 |
+ dev-python/openstackdocstheme |
48 |
|
49 |
python_prepare_all() { |
50 |
- # allow useage of renamed msgpack |
51 |
- sed -i -e '/^msgpack/d' requirements.txt || die |
52 |
# remove spurious rdep on pbr |
53 |
sed -i -e '/pbr/d' requirements.txt || die |
54 |
distutils-r1_python_prepare_all |