Date: Wednesday, December 28, 2022 @ 06:45:33 Author: alerque Revision: 1369829
archrelease: copy trunk to community-x86_64 Added: ruff/repos/community-x86_64/PKGBUILD (from rev 1369828, ruff/trunk/PKGBUILD) Deleted: ruff/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 98 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-12-28 06:45:24 UTC (rev 1369828) +++ PKGBUILD 2022-12-28 06:45:33 UTC (rev 1369829) @@ -1,49 +0,0 @@ -# Maintainer: David Runge <dv...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> - -pkgname=ruff -pkgver=0.0.196 -pkgrel=1 -pkgdesc="An extremely fast Python linter, written in Rust" -arch=(x86_64) -url="https://github.com/charliermarsh/ruff" -license=(MIT) -depends=(gcc-libs glibc python) -makedepends=(cargo maturin python-installer) -options=(!lto debug) -source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz) -sha512sums=('e333580a05f50fb3faad38e7b7f8a7a5053d3c2d6c43f43e61bdc673c4a08a083c75853ec30307f2f77b1a601bb04fa91639e163e5eca879ce169d221ce6752c') -b2sums=('444bbc50fc7a7006602756add00f9272f1af4026e0a1c516efc960c7b41369c52d2d2636e13d03c37ff3cfafe19df0401ddbaa6718df48a8d420b4d40bc322a2') - -prepare() { - cd $pkgname-$pkgver - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" -} - -build() { - local maturin_options=( - --release - --strip - --locked - --all-features - --target $CARCH-unknown-linux-gnu - ) - - cd $pkgname-$pkgver - - maturin build "${maturin_options[@]}" -} - -check() { - cd $pkgname-$pkgver - - cargo test --frozen --all-features -} - -package() { - cd $pkgname-$pkgver - - python -m installer --destdir="$pkgdir" target/wheels/*.whl - install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" - install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" -} Copied: ruff/repos/community-x86_64/PKGBUILD (from rev 1369828, ruff/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-12-28 06:45:33 UTC (rev 1369829) @@ -0,0 +1,49 @@ +# Maintainer: David Runge <dv...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> + +pkgname=ruff +pkgver=0.0.198 +pkgrel=1 +pkgdesc="An extremely fast Python linter, written in Rust" +arch=(x86_64) +url="https://github.com/charliermarsh/ruff" +license=(MIT) +depends=(gcc-libs glibc python) +makedepends=(cargo maturin python-installer) +options=(!lto debug) +source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz) +sha512sums=('6bb0597dc5e50dddcc1746c6ceea2e2162a0ca7fb43abba6c93c4b55aa65e23506cb28442dd523cdbab5eb486ab82d0f4f6f1d461997ebac3b6a6a2e5a0a6a3f') +b2sums=('2750262f24ec6a1f4a4130d5ab518150b73e3dd5815494339c4325203fa48fac010f46c6e009c0e638201b761ae380276709d6d39281e8170841ad0c43a3122e') + +prepare() { + cd $pkgname-$pkgver + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + local maturin_options=( + --release + --strip + --locked + --all-features + --target $CARCH-unknown-linux-gnu + ) + + cd $pkgname-$pkgver + + maturin build "${maturin_options[@]}" +} + +check() { + cd $pkgname-$pkgver + + cargo test --frozen --all-features +} + +package() { + cd $pkgname-$pkgver + + python -m installer --destdir="$pkgdir" target/wheels/*.whl + install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/" +}