Date: Wednesday, January 19, 2022 @ 20:02:38 Author: orhun Revision: 1110617
archrelease: copy trunk to community-x86_64 Added: uutils-coreutils/repos/community-x86_64/PKGBUILD (from rev 1110616, uutils-coreutils/trunk/PKGBUILD) uutils-coreutils/repos/community-x86_64/tests.patch (from rev 1110616, uutils-coreutils/trunk/tests.patch) Deleted: uutils-coreutils/repos/community-x86_64/PKGBUILD uutils-coreutils/repos/community-x86_64/tests.patch -------------+ PKGBUILD | 119 ++++++++++++++++++++++++++++------------------------------ tests.patch | 20 ++++----- 2 files changed, 68 insertions(+), 71 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-19 20:02:29 UTC (rev 1110616) +++ PKGBUILD 2022-01-19 20:02:38 UTC (rev 1110617) @@ -1,61 +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.9 -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" - "stdbuf-dep.patch::$url/commit/c5e2515833f8eefc12fe65f0a3ffba7cbfea0ff9.patch" - tests.patch) -sha512sums=('b99f052d8e250a0c350e2e87c642b3c70ec07973f5795a21d79d02b5df7a098236bbfe42397ec78ebd14ed4d5feed83b7b0a6d6f7d9416120fa54df78c4a7ac8' - '10a5a149221b4a9a0c78555526033c00e4ba1923acdf97982281007eaf4b8f7469b968cf9e4a659e4cb5dcc8ac6885bcb1c212ad8d81e6011e61e9b8d5ad052c' - '1a84aefb95cf6d4ae7582948c5ab3c357269dcd5b2261006b006f7a1b37d3d2a336c47479ab98a390661ee376b9813408af849a91ba0f2bd2493c6a680e07f2a') -options=('!lto') - -prepare() { - cd $_pkgname-$pkgver - sed 's|"bin"|"builduser"|g' -i tests/by-util/test_{chgrp,chown}.rs - patch -Np1 < ../tests.patch - patch -Np1 < ../stdbuf-dep.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 - - 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 1110616, uutils-coreutils/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-19 20:02:38 UTC (rev 1110617) @@ -0,0 +1,58 @@ +# 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.12 +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=('9c78c1ffe8495e95ddb07ce104f68e48dc7ed0d5c156f9095a579b4a27fafbded276314b2a3a239dac693aa0e9bde9bfda6513dcf30ddb17c1925cea27a4578f' + '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 + + install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +# vim: ts=2 sw=2 et: Deleted: tests.patch =================================================================== --- tests.patch 2022-01-19 20:02:29 UTC (rev 1110616) +++ tests.patch 2022-01-19 20:02:38 UTC (rev 1110617) @@ -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 1110616, uutils-coreutils/trunk/tests.patch) =================================================================== --- tests.patch (rev 0) +++ tests.patch 2022-01-19 20:02:38 UTC (rev 1110617) @@ -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 \