Date: Sunday, August 18, 2019 @ 16:01:08 Author: yan12125 Revision: 500058
upgpkg: buildbot 2.4.0-1 * Eliminate hard-coded Python version * Copy extra files for integration tests * git is needed for new tryclient tests Modified: buildbot/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-08-18 15:58:36 UTC (rev 500057) +++ PKGBUILD 2019-08-18 16:01:08 UTC (rev 500058) @@ -5,7 +5,7 @@ pkgname=buildbot pkgdesc='The Continuous Integration Framework' -pkgver=2.3.1 +pkgver=2.4.0 pkgrel=1 arch=(any) url='https://buildbot.net' @@ -16,7 +16,7 @@ checkdepends=(python-boto3 python-lz4 python-treq python-txrequests python-mock python-moto python-parameterized python-buildbot-pkg=$pkgver buildbot-worker=$pkgver python-buildbot-www=$pkgver - openssh) + openssh git) makedepends=(python-setuptools) optdepends=( 'python-boto3: for AWS EC2 latent worker' @@ -28,7 +28,7 @@ 'vault: to use SecretInVault provider' ) source=("https://github.com/buildbot/buildbot/releases/download/v$pkgver/buildbot-v$pkgver.gitarchive.tar.gz"{,.sig}) -sha256sums=('93241e1660cc8e0a37dba6c8c4bbb2e989f5da35006d6b5b523dfc3f37e8b927' +sha256sums=('a865074e4874f20e11990ab5c65f87276b2bce9f7c29ca5b3b0da53ae51afbfd' 'SKIP') validpgpkeys=( '390EB159056ED56F66AB1092AECD456B4D2531FC' # Pierre Tardy <[email protected]> (@tardyp on GitHub) @@ -43,9 +43,13 @@ check() { cd buildbot-$pkgver/master + site_packages_path=$(python -c 'import site; print(site.getsitepackages()[0])') + python setup.py install --root="$srcdir"/tmp_install + # Copy files over for integration tests + cp -v buildbot/test/integration/*.tgz "$srcdir"/tmp_install$site_packages_path/buildbot/test/integration/ - export PYTHONPATH="$srcdir"/tmp_install/usr/lib/python3.7/site-packages + export PYTHONPATH="$srcdir"/tmp_install$site_packages_path export PATH="$PATH:$srcdir/tmp_install/usr/bin" TZ=UTC trial3 --rterrors buildbot }
