diff options
author | Chih-Hsuan Yen | 2018-09-23 12:47:36 +0800 |
---|---|---|
committer | Chih-Hsuan Yen | 2018-09-23 12:47:36 +0800 |
commit | 2b1b94fc5c254bee72d4eed65b322d61a9beac16 (patch) | |
tree | b94e740938f63968a53821f84bdf2cfeef832433 | |
parent | dce4d4b5d8eb1e817e2e317e2a6c3b554547b83b (diff) | |
download | aur-2b1b94fc5c254bee72d4eed65b322d61a9beac16.tar.gz |
re-enable moto-related tests
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 18 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = buildbot-git pkgdesc = The Continuous Integration Framework - pkgver = 1.3.0.r53.g36d2e3332 - pkgrel = 1 + pkgver = 1.4.0.r99.gc8595820f + pkgrel = 2 url = https://buildbot.net arch = any license = GPL2 @@ -17,6 +17,7 @@ pkgbase = buildbot-git checkdepends = python-txrequests checkdepends = python-setuptools_trial checkdepends = python-pyjade + checkdepends = python-yaml checkdepends = python-buildbot-pkg-git checkdepends = buildbot-worker-git checkdepends = openssh @@ -30,6 +31,8 @@ pkgbase = buildbot-git depends = python-txaio depends = python-autobahn depends = python-pyjwt + provides = buildbot=1.4.0.r99.gc8595820f + conflicts = buildbot source = git+https://github.com/buildbot/buildbot.git source = skip-linux-distro-test.patch sha256sums = SKIP @@ -4,10 +4,11 @@ # Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: William Rea <sillywilly@gmail.com> +_pkgname=buildbot pkgname=buildbot-git pkgdesc="The Continuous Integration Framework" -pkgver=1.3.0.r53.g36d2e3332 -pkgrel=1 +pkgver=1.4.0.r99.gc8595820f +pkgrel=2 arch=('any') url="https://buildbot.net" license=("GPL2") @@ -18,9 +19,11 @@ makedepends=('git') checkdepends=('python-treq' 'python-boto3' 'python-mock' 'python-moto' 'python-lz4' 'python-isort' 'python-pylint' 'python-pyenchant' 'flake8' 'python-txrequests' 'python-setuptools_trial' - 'python-pyjade' + 'python-pyjade' 'python-yaml' 'python-buildbot-pkg-git' 'buildbot-worker-git' 'openssh') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") source=(git+https://github.com/buildbot/buildbot.git skip-linux-distro-test.patch) sha256sums=('SKIP' @@ -29,8 +32,7 @@ sha256sums=('SKIP' pkgver() { cd buildbot ( set -o pipefail - git describe --long --tag 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tag 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' ) } @@ -42,6 +44,11 @@ prepare() { patch -Np1 -i ../skip-linux-distro-test.patch } +build() { + cd buildbot/master + python setup.py build +} + check() { cd buildbot/master TZ=UTC python setup.py test --rterrors @@ -49,5 +56,5 @@ check() { package() { cd buildbot/master - python setup.py install --root="$pkgdir" --optimize=1 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |