Date: Tuesday, June 9, 2020 @ 20:01:18 Author: felixonmars Revision: 640912
archrelease: copy trunk to community-any Added: golang-github-stretchr-testify/repos/community-any/PKGBUILD (from rev 640911, 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 2020-06-09 20:01:02 UTC (rev 640911) +++ PKGBUILD 2020-06-09 20:01:18 UTC (rev 640912) @@ -1,28 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=golang-github-stretchr-testify -pkgver=1.6.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=('d6529a04a1b521d5a67f1c8d0e24efa499680f39fdb1c59a249c7afd755c3138e9cac6b1aed7927115caea7768d252e52e1decd4bbe15e362736bda2dea889c0') - -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 -} Copied: golang-github-stretchr-testify/repos/community-any/PKGBUILD (from rev 640911, golang-github-stretchr-testify/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-09 20:01:18 UTC (rev 640912) @@ -0,0 +1,28 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=golang-github-stretchr-testify +pkgver=1.6.1 +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=('f1f08ff9d6fd1b04838155a538da2b4cc25fb4adba798e57755b2e456365bdf169d2f84df586f083429c8e716e22f9b1ac7527d5e00fee6254b1721b9f765bdc') + +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 +}