[arch-commits] Commit in golang-github-stretchr-testify/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 1 06:36:29 UTC 2022
Date: Thursday, September 1, 2022 @ 06:36:29
Author: felixonmars
Revision: 1289767
archrelease: copy trunk to community-any
Added:
golang-github-stretchr-testify/repos/community-any/PKGBUILD
(from rev 1289766, golang-github-stretchr-testify/trunk/PKGBUILD)
Deleted:
golang-github-stretchr-testify/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++----------------------------
1 file changed, 29 insertions(+), 28 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-01 06:36:15 UTC (rev 1289766)
+++ PKGBUILD 2022-09-01 06:36:29 UTC (rev 1289767)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-stretchr-testify
-pkgver=1.6.1
-pkgrel=2
-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' '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
-}
Copied: golang-github-stretchr-testify/repos/community-any/PKGBUILD (from rev 1289766, golang-github-stretchr-testify/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-01 06:36:29 UTC (rev 1289767)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-stretchr-testify
+pkgver=1.7.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' 'golang-github-davecgh-go-spew' 'golang-github-pmezard-go-difflib'
+ 'golang-github-stretchr-objx' 'golang-gopkg-yaml.v3')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/stretchr/testify/archive/v$pkgver.tar.gz")
+sha512sums=('8a8cff3ab5fba49a6bf9258cbf8c6110deec0644bfc66f665a99de33d96cbe62628c5d7f92afd0f96cc39408e69f6a227a5902b453868898a8ddc755f95d1642')
+
+check() {
+ export GO111MODULE=off
+ 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
+}
More information about the arch-commits
mailing list