summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/buildbot-pkg')
-rw-r--r--dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild b/dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild
index 501c0f2c713d..d845a8f61fce 100644
--- a/dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild
+++ b/dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild
@@ -4,19 +4,15 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
PYTHON_REQ_USE="sqlite"
PYTHON_COMPAT=( python3_10 )
-inherit distutils-r1
-
-MY_PV="${PV/_p/.post}"
-MY_P="${PN}-${MY_PV}"
+inherit distutils-r1 pypi
DESCRIPTION="BuildBot common www build tools for packaging releases"
HOMEPAGE="https://buildbot.net/
https://github.com/buildbot/buildbot
https://pypi.org/project/buildbot-pkg/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
@@ -29,6 +25,6 @@ RESTRICT="test"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
src_prepare() {
- sed -e "/version/s/=.*$/=\"${MY_PV}\",/" -i setup.py || die
+ sed -e "/version/s/=.*$/=\"${PV/_p/.post}\",/" -i setup.py || die
distutils-r1_src_prepare
}