diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-03-17 13:00:13 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-03-17 16:28:28 +0100 |
commit | 12a19ff2ab74875db25307371278c36008c65ba5 (patch) | |
tree | 96b974c33411abb8fa666bd5b91648332b47dac1 /dev-util/buildbot-pkg | |
parent | dev-util/buildbot-grid-view: Use pypi.eclass (diff) | |
download | gentoo-12a19ff2ab74875db25307371278c36008c65ba5.tar.gz gentoo-12a19ff2ab74875db25307371278c36008c65ba5.tar.bz2 gentoo-12a19ff2ab74875db25307371278c36008c65ba5.zip |
dev-util/buildbot-pkg: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-util/buildbot-pkg')
-rw-r--r-- | dev-util/buildbot-pkg/buildbot-pkg-3.6.1.ebuild | 10 |
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 } |