diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2021-07-11 08:36:47 -0400 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2021-07-11 08:37:48 -0400 |
commit | b568c8d501962bf748ee1ff04f05e5a16b716b0f (patch) | |
tree | 682599bf7542388421340e669cb1b97e476f850d /dev-util/buildbot-pkg | |
parent | gui-libs/libhandy: remove old (diff) | |
download | gentoo-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>
Diffstat (limited to 'dev-util/buildbot-pkg')
-rw-r--r-- | dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild | 7 |
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 } |