mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user