Date: Sunday, August 21, 2022 @ 00:34:10 Author: orhun Revision: 1271491
archrelease: copy trunk to community-x86_64 Added: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 1271490, uutils-coreutils/trunk/PKGBUILD) uutils-coreutils/repos/community-x86_64/tests.patch (from rev 1271490, uutils-coreutils/trunk/tests.patch) Deleted: uutils-coreutils/repos/community-x86_64/PKGBUILD uutils-coreutils/repos/community-x86_64/tests.patch -------------+ PKGBUILD | 118 +++++++++++++++++++++++++++++----------------------------- tests.patch | 20 ++++----- 2 files changed, 69 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-21 00:33:48 UTC (rev 1271490) +++ PKGBUILD 2022-08-21 00:34:10 UTC (rev 1271491) @@ -1,59 +0,0 @@ -# Maintainer: Filipe Laíns (ffy00) <la...@archlinux.org> -# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> -# Maintainer: Orhun Parmaksız <or...@archlinux.org> - -_pkgname=coreutils -pkgname=uutils-$_pkgname -pkgver=0.0.14 -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=('99a023d192505bafc2cbd25bd1df63d35bb89ef6aca2d5a71404aef95f13d7cc42ceec5ad0cba8b2a63a6e5abefbb5be3e8c2375144b55e0cb47e1e2361d1577' - '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a') -options=('!lto') - -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 \ - --skip test_chgrp::test_big_h" -} - -package() { - cd $_pkgname-$pkgver - - make install \ - DESTDIR="$pkgdir" \ - PREFIX=/usr \ - MANDIR=/share/man/man1 \ - PROG_PREFIX=uu- \ - PROFILE=release \ - MULTICALL=y - - install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -# vim: ts=2 sw=2 et: Copied: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 1271490, uutils-coreutils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-21 00:34:10 UTC (rev 1271491) @@ -0,0 +1,59 @@ +# Maintainer: Filipe Laíns (ffy00) <la...@archlinux.org> +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Maintainer: Orhun Parmaksız <or...@archlinux.org> + +_pkgname=coreutils +pkgname=uutils-$_pkgname +pkgver=0.0.15 +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=('7bb617c7adb32d6e1b0b53266276cfdeff31922ada632daa780a49598a25985da610110f67447cacd2f11050f3b264f43a97f0a2194a18625f752ff02f3c6cf3' + '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a') +options=('!lto') + +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 \ + --skip test_chgrp::test_big_h" +} + +package() { + cd $_pkgname-$pkgver + + make install \ + DESTDIR="$pkgdir" \ + PREFIX=/usr \ + MANDIR=/share/man/man1 \ + PROG_PREFIX=uu- \ + PROFILE=release \ + MULTICALL=y + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim: ts=2 sw=2 et: Deleted: tests.patch =================================================================== --- tests.patch 2022-08-21 00:33:48 UTC (rev 1271490) +++ tests.patch 2022-08-21 00:34:10 UTC (rev 1271491) @@ -1,10 +0,0 @@ ---- 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 \ Copied: uutils-coreutils/repos/community-x86_64/tests.patch (from rev 1271490, uutils-coreutils/trunk/tests.patch) =================================================================== --- tests.patch (rev 0) +++ tests.patch 2022-08-21 00:34:10 UTC (rev 1271491) @@ -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 \