Date: Saturday, September 7, 2019 @ 13:18:22 Author: felixonmars Revision: 508412
archrelease: copy trunk to community-any Added: golang-github-stretchr-testify/repos/community-any/PKGBUILD (from rev 508411, golang-github-stretchr-testify/trunk/PKGBUILD) Deleted: golang-github-stretchr-testify/repos/community-any/PKGBUILD ----------+ PKGBUILD | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-09-07 13:18:09 UTC (rev 508411) +++ PKGBUILD 2019-09-07 13:18:22 UTC (rev 508412) @@ -1,28 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=golang-github-stretchr-testify -pkgver=1.3.0 -pkgrel=1 -pkgdesc='A toolkit with common assertions and mocks that plays nicely with the standard library' -arch=('any') -url="https://github.com/stretchr/testify" -license=('MIT') -depends=('go-pie' 'golang-github-davecgh-go-spew' 'golang-github-pmezard-go-difflib' - 'golang-github-stretchr-objx') -source=("$pkgname-$pkgver.tar.gz::https://github.com/stretchr/testify/archive/v$pkgver.tar.gz") -sha512sums=('29dc8389f0efba9caeb2d2d5704878c93f3b00c21e6ad2712bac52bbc09c460d9028aecbfd5430f200a15fd0e8c8d0157e084b72463d82ceecc5459d93d4d896') - -check() { - export GOPATH="$srcdir/build:/usr/share/gocode" - mkdir -p "$srcdir"/build/src/github.com/stretchr - cp -a "$srcdir"/testify-$pkgver "$srcdir"/build/src/github.com/stretchr/testify - cd "$srcdir"/build/src/github.com/stretchr/testify - go test -v $(go list ./... | grep -v vendor) -} - -package() { - mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/stretchr - cp -a "$srcdir"/testify-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/stretchr/testify - - install -Dm644 testify-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: golang-github-stretchr-testify/repos/community-any/PKGBUILD (from rev 508411, golang-github-stretchr-testify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-09-07 13:18:22 UTC (rev 508412) @@ -0,0 +1,28 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=golang-github-stretchr-testify +pkgver=1.4.0 +pkgrel=1 +pkgdesc='A toolkit with common assertions and mocks that plays nicely with the standard library' +arch=('any') +url="https://github.com/stretchr/testify" +license=('MIT') +depends=('go-pie' 'golang-github-davecgh-go-spew' 'golang-github-pmezard-go-difflib' + 'golang-github-stretchr-objx') +source=("$pkgname-$pkgver.tar.gz::https://github.com/stretchr/testify/archive/v$pkgver.tar.gz") +sha512sums=('7a91c120f5425a1b89239a03ef9419d44c83342665beb3362384fe6512af52c49a5f914e5bbf9725656311ff0b826146f11b7db9f4cf4c1a69ce6033169d8c2d') + +check() { + export GOPATH="$srcdir/build:/usr/share/gocode" + mkdir -p "$srcdir"/build/src/github.com/stretchr + cp -a "$srcdir"/testify-$pkgver "$srcdir"/build/src/github.com/stretchr/testify + cd "$srcdir"/build/src/github.com/stretchr/testify + go test -v $(go list ./...) +} + +package() { + mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/stretchr + cp -a "$srcdir"/testify-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/stretchr/testify + + install -Dm644 testify-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}