From 2b0d26432c3f8bb30b2f8b2bcb3f15634cdca5fd Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 21 Nov 2020 18:03:19 +0100 Subject: [PATCH] buildbot_slave, enable architectures for twisted (#5425) --- .../buildbot_slave-0.9.5.recipe | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/dev-util/buildbot_slave/buildbot_slave-0.9.5.recipe b/dev-util/buildbot_slave/buildbot_slave-0.9.5.recipe index 233139f2d..d605115f9 100644 --- a/dev-util/buildbot_slave/buildbot_slave-0.9.5.recipe +++ b/dev-util/buildbot_slave/buildbot_slave-0.9.5.recipe @@ -23,38 +23,40 @@ executing builds and/or tests." HOMEPAGE="http://www.buildbot.net" COPYRIGHT="2005-2013 Bryan Warner and the Buildbot team members" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://pypi.python.org/packages/a4/bc/ea8d3115fca39cfd7492f0d3da1dffde659fc11072f07152247c8d903df6/buildbot-worker-$portVersion.tar.gz" CHECKSUM_SHA256="be89dbbd64ac4d10c8b43ea0fd8378803170247493c8ae023a4e8732aa9287aa" SOURCE_DIR="buildbot-worker-$portVersion" PATCHES="buildbot_slave-$portVersion.patchset" -ARCHITECTURES="any" +ARCHITECTURES="!x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="x86" + PROVIDES=" - buildbot_slave = $portVersion + buildbot_slave$secondaryArchSuffix = $portVersion cmd:buildslave = $portVersion " REQUIRES=" - haiku - twisted_python - cmd:python2 + haiku$secondaryArchSuffix + twisted${secondaryArchSuffix}_python3 + cmd:python3.7 " BUILD_REQUIRES=" haiku_devel " BUILD_PREREQUIRES=" - cmd:python2 + cmd:python3.7 " BUILD() { - $portPackageLinksDir/cmd~python2/bin/python2 setup.py build + $portPackageLinksDir/cmd~python3.7/bin/python3.7 setup.py build } INSTALL() { - $portPackageLinksDir/cmd~python2/bin/python2 setup.py install \ + $portPackageLinksDir/cmd~python3.7/bin/python3.7 setup.py install \ --prefix=$prefix }