Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / rebar


Commits:
36be1fad by Carl Smedstad at 2025-01-29T21:48:16+01:00
Use SPDX license identifier

- - - - -
8dbbba18 by Carl Smedstad at 2025-01-29T22:51:51+01:00
upgpkg: 1:2.6.4-5: Add testing

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,16 @@
 pkgbase = rebar
        pkgdesc = A sophisticated build-tool for Erlang projects that follows 
OTP principles.
        pkgver = 2.6.4
-       pkgrel = 4
+       pkgrel = 5
        epoch = 1
        url = https://github.com/rebar/rebar
        arch = any
-       license = APACHE
+       license = Apache-2.0
        makedepends = git
        depends = erlang-nox
        source = 
rebar-2.6.4.tar.gz::https://github.com/rebar/rebar/archive/2.6.4.tar.gz
+       source = 
https://src.fedoraproject.org/rpms/erlang-rebar/raw/rawhide/f/rebar-0015-Disable-two-test-suites-in-Erlang-24.patch
        sha256sums = 
577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07
+       sha256sums = 
da6bd83431c232e79e96066792b93cd7eac4a64fb53d61024fdf5de0874e7213
 
 pkgname = rebar


=====================================
PKGBUILD
=====================================
@@ -5,21 +5,35 @@
 pkgname=rebar
 epoch=1
 pkgver=2.6.4
-pkgrel=4
+pkgrel=5
 pkgdesc="A sophisticated build-tool for Erlang projects that follows OTP 
principles."
 arch=('any')
 url="https://github.com/rebar/rebar";
-license=('APACHE')
+license=('Apache-2.0')
 depends=('erlang-nox')
 makedepends=('git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rebar/rebar/archive/$pkgver.tar.gz";)
-sha256sums=('577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07')
+source=(
+  
"$pkgname-$pkgver.tar.gz::https://github.com/rebar/rebar/archive/$pkgver.tar.gz";
+  
"https://src.fedoraproject.org/rpms/erlang-rebar/raw/rawhide/f/rebar-0015-Disable-two-test-suites-in-Erlang-24.patch";
+)
+sha256sums=('577246bafa2eb2b2c3f1d0c157408650446884555bf87901508ce71d5cc0bd07'
+            'da6bd83431c232e79e96066792b93cd7eac4a64fb53d61024fdf5de0874e7213')
+
+prepare() {
+  cd "$srcdir/rebar-$pkgver"
+  patch -Np1 -i ../rebar-0015-Disable-two-test-suites-in-Erlang-24.patch
+}
 
 build() {
   cd "$srcdir/rebar-$pkgver"
   make
 }
 
+check() {
+  cd "$srcdir/rebar-$pkgver"
+  ./rebar eunit
+}
+
 package() {
   cd "$srcdir/rebar-$pkgver"
   install -Dm0755 "rebar" "$pkgdir/usr/bin/rebar"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rebar/-/compare/7f396a60a3f42a8d50bcd0563d70ef1302cb5351...8dbbba184839b41f3c0be0f3f6b30c0039c68267

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rebar/-/compare/7f396a60a3f42a8d50bcd0563d70ef1302cb5351...8dbbba184839b41f3c0be0f3f6b30c0039c68267
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to