summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2021-07-11 08:36:47 -0400
committerBrian Dolbec <dolsen@gentoo.org>2021-07-11 08:37:48 -0400
commitb568c8d501962bf748ee1ff04f05e5a16b716b0f (patch)
tree682599bf7542388421340e669cb1b97e476f850d
parentgui-libs/libhandy: remove old (diff)
downloadgentoo-b568c8d501962bf748ee1ff04f05e5a16b716b0f.tar.gz
gentoo-b568c8d501962bf748ee1ff04f05e5a16b716b0f.tar.bz2
gentoo-b568c8d501962bf748ee1ff04f05e5a16b716b0f.zip
dev-util/buildbot-pkg: Fix version setting
Closes: https://bugs.gentoo.org/796980 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rw-r--r--dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild b/dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild
index ce173c787577..e78e9ab33131 100644
--- a/dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild
+++ b/dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild
@@ -26,7 +26,8 @@ KEYWORDS="~amd64 ~arm64 ~amd64-linux ~x86-linux"
S=${WORKDIR}/${MY_P}
-src_install() {
- export BUILDBOT_VERSION="${MY_PV}"
- distutils-r1_src_install
+python_prepare_all() {
+ sed -e "s:version=buildbot_pkg.getVersion(\".\"),:version=\"${MY_PV}\",:" \
+ -i setup.py || die
+ distutils-r1_python_prepare_all
}