[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Sunday, November 15, 2020 @ 16:39:36 Author: shibumi Revision: 754590 upgpkg: yaegi 0.9.6-1 disable tests, because of errors I hope we can enable them soon again :( Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-15 16:39:10 UTC (rev 754589) +++ PKGBUILD2020-11-15 16:39:36 UTC (rev 754590) @@ -1,19 +1,26 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.8.10 +pkgver=0.9.6 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') url='https://github.com/containous/yaegi' license=('Apache') -makedepends=('go-pie') +makedepends=('go') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('f80354b377e934582e5300c6fe97cd5c7ae285c57d47e34084948004b7c16d92fc9a600754e31ff53eb617b09d0953a84b0fcd33ea6692640780e52d02a0ea5a') +sha512sums=('b3bd7b82dd5605205d991e1f7fa10541420e98845b0b9cd773fe70acfb5db6eb76d4cec97783eac9ca5ad36c15da2ad73d36533055da94af910e149dad1cc109') +prepare() { + export GOPATH="${srcdir}" + mkdir -p src/github.com/containous "${GOPATH}/bin" + mv "${pkgname}-${pkgver}" "src/github.com/containous/${pkgname}" + export PACKAGE_ROOT="${GOPATH}/src/github.com/containous/${pkgname}" +} + build() { - cd "${pkgname}-${pkgver}" + cd "${PACKAGE_ROOT}" export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CFLAGS="${CFLAGS}" export CGO_CXXFLAGS="${CXXFLAGS}" @@ -22,14 +29,13 @@ go build ./cmd/yaegi } -# These checks fail right now :( #check() { -# cd "${pkgname}-${pkgver}" +# cd "${PACKAGE_ROOT}" # go test ./... #} package() { - cd "${pkgname}-${pkgver}" + cd "${PACKAGE_ROOT}" install -Dm755 yaegi "${pkgdir}/usr/bin/${pkgname}" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Thursday, July 2, 2020 @ 22:10:44 Author: shibumi Revision: 657558 upgpkg: yaegi 0.8.10-1 Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-02 22:00:38 UTC (rev 657557) +++ PKGBUILD2020-07-02 22:10:44 UTC (rev 657558) @@ -1,7 +1,7 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.8.8 +pkgver=0.8.10 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') @@ -10,7 +10,7 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('15e6334c935640f22913100e9c154392fd81a1734a26a1cf47f3eeccaf2ddd9993f71995996c67d0d7b4d0dcb763a415df7c2c4679f9fa45568ce7672ec848e6') +sha512sums=('f80354b377e934582e5300c6fe97cd5c7ae285c57d47e34084948004b7c16d92fc9a600754e31ff53eb617b09d0953a84b0fcd33ea6692640780e52d02a0ea5a') build() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Sunday, June 21, 2020 @ 20:55:21 Author: shibumi Revision: 650276 upgpkg: yaegi 0.8.8-1 apply golang guidelines Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-21 20:55:11 UTC (rev 650275) +++ PKGBUILD2020-06-21 20:55:21 UTC (rev 650276) @@ -1,7 +1,7 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.8.4 +pkgver=0.8.8 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') @@ -10,11 +10,16 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('fe405b7ce92835ffdfdd6fbbefe78f6081a5aead143a8ef65ef9c5227711ed129dc3a4d7590d979c3b295d9b31a1250c78a22ce23d1d04a4002d050d634bfe9b') +sha512sums=('15e6334c935640f22913100e9c154392fd81a1734a26a1cf47f3eeccaf2ddd9993f71995996c67d0d7b4d0dcb763a415df7c2c4679f9fa45568ce7672ec848e6') build() { cd "${pkgname}-${pkgver}" - go build -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/yaegi + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" + go build ./cmd/yaegi } # These checks fail right now :(
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Sunday, May 10, 2020 @ 21:43:28 Author: shibumi Revision: 626233 upgpkg: yaegi 0.8.4-1 Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-10 20:55:44 UTC (rev 626232) +++ PKGBUILD2020-05-10 21:43:28 UTC (rev 626233) @@ -1,7 +1,7 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.8.0 +pkgver=0.8.4 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') @@ -10,7 +10,7 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('80f9f8570fa0505aed10b43fb0a81fa06ccc944f7f5781a9c387b66883264f28e95968819bfc0ec77e2fd5468caf938a1d4db4072a0b4eb5bbe4d55edd183c9b') +sha512sums=('fe405b7ce92835ffdfdd6fbbefe78f6081a5aead143a8ef65ef9c5227711ed129dc3a4d7590d979c3b295d9b31a1250c78a22ce23d1d04a4002d050d634bfe9b') build() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Sunday, March 22, 2020 @ 11:41:58 Author: felixonmars Revision: 603444 upgpkg: yaegi 0.8.0-1 Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-22 11:40:52 UTC (rev 603443) +++ PKGBUILD2020-03-22 11:41:58 UTC (rev 603444) @@ -1,7 +1,7 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.7.6 +pkgver=0.8.0 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') @@ -10,7 +10,7 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('d59921cfad3ec9be1b6ba0a4813b768cc0c9c14d9edcb2075ba9c8179946b9c83c447411e9cdc38d624e45a84c90fb1b3d1238a8e83c41528ad34d40185db1eb') +sha512sums=('80f9f8570fa0505aed10b43fb0a81fa06ccc944f7f5781a9c387b66883264f28e95968819bfc0ec77e2fd5468caf938a1d4db4072a0b4eb5bbe4d55edd183c9b') build() { cd "${pkgname}-${pkgver}"
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Saturday, February 22, 2020 @ 11:23:47 Author: shibumi Revision: 578379 upgpkg: yaegi 0.7.6-1 Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-22 11:22:21 UTC (rev 578378) +++ PKGBUILD2020-02-22 11:23:47 UTC (rev 578379) @@ -1,7 +1,7 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.7.4 +pkgver=0.7.6 pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') @@ -10,7 +10,7 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('667836d976668ac0ce52dec4d597662da70816a55941f3b8d6dc614001788b339eab73cd428258947f327614ba88455bf14ff13d6e4acf39b471d23abcc5b1ac') +sha512sums=('d59921cfad3ec9be1b6ba0a4813b768cc0c9c14d9edcb2075ba9c8179946b9c83c447411e9cdc38d624e45a84c90fb1b3d1238a8e83c41528ad34d40185db1eb') build() { cd "${pkgname}-${pkgver}" @@ -17,6 +17,12 @@ go build -trimpath -ldflags "-extldflags ${LDFLAGS}" ./cmd/yaegi } +# These checks fail right now :( +#check() { +# cd "${pkgname}-${pkgver}" +# go test ./... +#} + package() { cd "${pkgname}-${pkgver}" install -Dm755 yaegi "${pkgdir}/usr/bin/${pkgname}"
[arch-commits] Commit in yaegi/trunk (PKGBUILD)
Date: Saturday, January 18, 2020 @ 10:25:38 Author: shibumi Revision: 552969 upgpkg: yaegi 0.7.4-1 Modified: yaegi/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-01-18 10:22:30 UTC (rev 552968) +++ PKGBUILD2020-01-18 10:25:38 UTC (rev 552969) @@ -1,8 +1,8 @@ # Maintainer: Christian Rebischke # Contributor: navigaid pkgname=yaegi -pkgver=0.7.0 -pkgrel=2 +pkgver=0.7.4 +pkgrel=1 pkgdesc='Yet another Elegant Go Interpreter' arch=('x86_64') url='https://github.com/containous/yaegi' @@ -10,7 +10,7 @@ makedepends=('go-pie') depends=('glibc') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/containous/yaegi/archive/v${pkgver}.tar.gz;) -sha512sums=('5be7bc27af6e37e092f76d8d770ba415ec0241eccd39328cc21aa20eb078e8621ac23b7bd2b48c93f285d3e43dffa43fabaf697593439bbaf9aab813011b97cf') +sha512sums=('667836d976668ac0ce52dec4d597662da70816a55941f3b8d6dc614001788b339eab73cd428258947f327614ba88455bf14ff13d6e4acf39b471d23abcc5b1ac') build() { cd "${pkgname}-${pkgver}"