[arch-commits] Commit in uutils-coreutils/repos/community-x86_64 (3 files)

Levente Polyak anthraxx at archlinux.org
Wed Mar 10 19:30:19 UTC 2021


    Date: Wednesday, March 10, 2021 @ 19:30:18
  Author: anthraxx
Revision: 887241

archrelease: copy trunk to community-x86_64

Added:
  uutils-coreutils/repos/community-x86_64/PKGBUILD
    (from rev 887240, uutils-coreutils/trunk/PKGBUILD)
  uutils-coreutils/repos/community-x86_64/tests.patch
    (from rev 887240, uutils-coreutils/trunk/tests.patch)
Deleted:
  uutils-coreutils/repos/community-x86_64/PKGBUILD

-------------+
 PKGBUILD    |   80 ++++++++++++++++++++++++++++++++++++++--------------------
 tests.patch |   10 +++++++
 2 files changed, 63 insertions(+), 27 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-10 19:30:06 UTC (rev 887240)
+++ PKGBUILD	2021-03-10 19:30:18 UTC (rev 887241)
@@ -1,27 +0,0 @@
-# Maintainer: Filipe Laíns (ffy00) <lains at archlinux.org>
-
-_pkgname=coreutils
-pkgname=uutils-$_pkgname
-pkgver=0.0.3
-pkgrel=1
-pkgdesc='Cross-platform Rust rewrite of the GNU coreutils'
-arch=('x86_64')
-url='https://github.com/uutils/coreutils'
-license=('MIT')
-makedepends=('rust' 'cargo' 'python-sphinx')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha512sums=('69b654d0f40bf5b1e1daf812def765d4f508a5926a65c9ba82a5a07feae6ec38f4e3aff43eeba3170f831d67b6d61c3d2e25c720ecb4ea87d9a4ea7fea12d0c9')
-
-package() {
-  cd $_pkgname-$pkgver
-
-  make \
-      DESTDIR="$pkgdir" \
-      PREFIX=/usr \
-      MANDIR=/share/man/man1 \
-      PROG_PREFIX=uu- \
-      install
-
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 887240, uutils-coreutils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-10 19:30:18 UTC (rev 887241)
@@ -0,0 +1,53 @@
+# Maintainer: Filipe Laíns (ffy00) <lains at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=coreutils
+pkgname=uutils-$_pkgname
+pkgver=0.0.4
+pkgrel=1
+pkgdesc='Cross-platform Rust rewrite of the GNU coreutils'
+arch=('x86_64')
+url='https://github.com/uutils/coreutils'
+license=('MIT')
+depends=('glibc' 'gcc-libs')
+makedepends=('rust' 'cargo' 'python-sphinx')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
+        tests.patch)
+sha512sums=('5d5719a0362a20c3a5ee85683c436a1bfcf5b8bf922ebe60c58f620b93d3bdf67c658a987cb8281b160442bd98cb7b4b00bacd9e3814d1b0ae3b6dd1cd43ec83'
+            '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a')
+
+prepare() {
+  cd $_pkgname-$pkgver
+  sed 's|"bin"|"builduser"|g' -i tests/by-util/test_{chgrp,chown}.rs
+  patch -Np1 < ../tests.patch
+}
+
+build() {
+  cd $_pkgname-$pkgver
+
+  make PROFILE=release
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  make test \
+      PROFILE=release \
+      CARGOFLAGS=--release \
+      TEST_NO_FAIL_FAST="--no-fail-fast -- --skip test_chown::test_big_p --skip test_chgrp::test_big_p"
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  make install \
+      DESTDIR="$pkgdir" \
+      PREFIX=/usr \
+      MANDIR=/share/man/man1 \
+      PROG_PREFIX=uu- \
+      PROFILE=release
+
+  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim: ts=2 sw=2 et:

Copied: uutils-coreutils/repos/community-x86_64/tests.patch (from rev 887240, uutils-coreutils/trunk/tests.patch)
===================================================================
--- tests.patch	                        (rev 0)
+++ tests.patch	2021-03-10 19:30:18 UTC (rev 887241)
@@ -0,0 +1,10 @@
+--- a/GNUmakefile	2021-03-10 16:28:55.907870273 +0100
++++ b/GNUmakefile	2021-03-10 16:29:10.181165402 +0100
+@@ -175,6 +175,7 @@
+ 	fold \
+ 	hashsum \
+ 	head \
++	id \
+ 	install \
+ 	link \
+ 	ln \



More information about the arch-commits mailing list