[arch-commits] Commit in golang-golang-x-crypto/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 1 06:55:05 UTC 2022
Date: Thursday, September 1, 2022 @ 06:55:04
Author: felixonmars
Revision: 1289783
archrelease: copy trunk to community-any
Added:
golang-golang-x-crypto/repos/community-any/PKGBUILD
(from rev 1289782, golang-golang-x-crypto/trunk/PKGBUILD)
Deleted:
golang-golang-x-crypto/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 31 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-01 06:54:50 UTC (rev 1289782)
+++ PKGBUILD 2022-09-01 06:55:04 UTC (rev 1289783)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-golang-x-crypto
-pkgver=0.0.20200303
-_commit=78000ba7a073cafc0278790f6bce552a0f25850e
-pkgrel=2
-pkgdesc='Go supplementary cryptography libraries'
-arch=('any')
-url="https://github.com/golang/crypto"
-license=('BSD')
-depends=('go' 'golang-golang-x-net' 'golang-golang-x-sys')
-source=("$pkgname-$_commit.tar.gz::https://github.com/golang/crypto/archive/$_commit.tar.gz")
-sha512sums=('8d59096bb93936f03155b2b5520ad14c2ac3963c40638e0d715a566257058646cdb614d0afbff94a2d9c4f03228dc8cad58e6ea0e6f34a565dbfa27e9114eeeb')
-
-prepare() {
- # Removed pinned version
- rm crypto-$_commit/go.{mod,sum}
-}
-
-check() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- mkdir -p "$srcdir"/build/src/golang.org/x
- cp -a "$srcdir"/crypto-$_commit "$srcdir"/build/src/golang.org/x/crypto
- cd "$srcdir"/build/src/golang.org/x/crypto
- go test -v $(go list ./...)
-}
-
-package() {
- mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
- cp -a "$srcdir"/crypto-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/crypto
-
- install -Dm644 crypto-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: golang-golang-x-crypto/repos/community-any/PKGBUILD (from rev 1289782, golang-golang-x-crypto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-01 06:55:04 UTC (rev 1289783)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-golang-x-crypto
+pkgver=0.0.20220830
+_commit=c86fa9a7ed909e2f2a8ab8298254fca727aba16a
+pkgrel=1
+pkgdesc='Go supplementary cryptography libraries'
+arch=('any')
+url="https://github.com/golang/crypto"
+license=('BSD')
+depends=('go' 'golang-golang-x-net' 'golang-golang-x-sys' 'golang-golang-x-term')
+checkdepends=('openssh')
+source=("$pkgname-$_commit.tar.gz::https://github.com/golang/crypto/archive/$_commit.tar.gz")
+sha512sums=('e691c60b1f9558274cb3d6edc198ae88cc3a52439e8eec0d352f8d303071ccfcdbc8cd7b2a0286c679ef4eea6387d45105da2766eafef2cdbd65856c62168543')
+
+check() {
+ export GO_BUILDER_FLAKY_NET=1
+ export GO111MODULE=off
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p "$srcdir"/build/src/golang.org/x
+ cp -a "$srcdir"/crypto-$_commit "$srcdir"/build/src/golang.org/x/crypto
+ cd "$srcdir"/build/src/golang.org/x/crypto
+ go test -v $(go list ./...)
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/gocode/src/golang.org/x
+ cp -a "$srcdir"/crypto-$_commit "$pkgdir"/usr/share/gocode/src/golang.org/x/crypto
+
+ install -Dm644 crypto-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list