buildbot_slave, enable architectures for twisted (#5425)

This commit is contained in:
Schrijvers Luc
2020-11-21 18:03:19 +01:00
committed by GitHub
parent bac1f0f98d
commit 2b0d26432c

View File

@@ -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
}