summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-10-02 10:13:45 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-10-02 11:35:13 +0300
commit1330606f2976b6d5824c0189a41c949390184f25 (patch)
treee8bc9e4529ff4149a016eafbf1ea76143d9ea936 /dev-python/oslo-serialization
parentdev-python/oslo-context: enable doc generation, cleanup deps (diff)
downloadgentoo-1330606f2976b6d5824c0189a41c949390184f25.tar.gz
gentoo-1330606f2976b6d5824c0189a41c949390184f25.tar.bz2
gentoo-1330606f2976b6d5824c0189a41c949390184f25.zip
dev-python/oslo-serialization: enable doc generation
remove now useless msgpack sed Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/oslo-serialization')
-rw-r--r--dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild b/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild
index 276f78b8a82f..6e7d6b1f95c8 100644
--- a/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild
+++ b/dev-python/oslo-serialization/oslo-serialization-4.2.0.ebuild
@@ -6,17 +6,16 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
-MY_PN=${PN/-/.}
+MY_P=${P/-/.}
DESCRIPTION="Oslo Serialization library"
HOMEPAGE="https://launchpad.net/oslo"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-S="${WORKDIR}/${MY_PN}-${PV}"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/.}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 x86"
-IUSE=""
RDEPEND="
>=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
@@ -33,10 +32,10 @@ BDEPEND="
"
distutils_enable_tests unittest
+distutils_enable_sphinx doc/source \
+ dev-python/openstackdocstheme
python_prepare_all() {
- # allow useage of renamed msgpack
- sed -i -e '/^msgpack/d' requirements.txt || die
# remove spurious rdep on pbr
sed -i -e '/pbr/d' requirements.txt || die
distutils-r1_python_prepare_all