diff options
Diffstat (limited to 'dev-util/buildbot-pkg/buildbot-pkg-3.2.0.ebuild')
-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 } |