David Runge pushed to branch main at Arch Linux / Packaging / Packages / git-filter-repo
Commits: 77f7763d by David Runge at 2024-09-29T15:58:53+02:00 Remove tab poisoning Signed-off-by: David Runge <dv...@archlinux.org> - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -22,30 +22,30 @@ sha256sums=('db954f4cae9e47c6be3bd3161bc80540d44f5379cb9cf9df498f4e019f0a41a9' '82399400e7c5c7b2dcad9aa685786a8d73de6bdea1f52189cc26b2f9ce896a92') prepare() { - cd "$_archive" - # if it is defined both in setup.cfg and setup.py, installation will explode... - sed -e '/scripts/d' -i release/setup.cfg - patch -p1 -i "$srcdir/git-filter-repo-support-git-2_43.diff" - patch -p1 -i "$srcdir/git-filter-repo-fix-t9390-t41.diff" - # Neuter test returning different results with new Git 2.44 - sed -e '721a exit 0' -i t/t9390-filter-repo.sh + cd "$_archive" + # if it is defined both in setup.cfg and setup.py, installation will explode... + sed -e '/scripts/d' -i release/setup.cfg + patch -p1 -i "$srcdir/git-filter-repo-support-git-2_43.diff" + patch -p1 -i "$srcdir/git-filter-repo-fix-t9390-t41.diff" + # Neuter test returning different results with new Git 2.44 + sed -e '721a exit 0' -i t/t9390-filter-repo.sh } build() { - cd "$_archive/release" - export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver - python -m build -wn + cd "$_archive/release" + export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver + python -m build -wn } check() { - cd "$_archive" - ./t/run_tests + cd "$_archive" + ./t/run_tests } package() { - cd "$_archive/release" - python -m installer -d "$pkgdir" dist/*.whl - pushd .. - install -Dm644 -t "$pkgdir/usr/share/man/man1/" Documentation/man1/$pkgname.1 - install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING COPYING.mit + cd "$_archive/release" + python -m installer -d "$pkgdir" dist/*.whl + pushd .. + install -Dm644 -t "$pkgdir/usr/share/man/man1/" Documentation/man1/$pkgname.1 + install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING COPYING.mit } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/git-filter-repo/-/commit/77f7763d3f9d8d4e9aa02903bf6755793de7d0a3 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/git-filter-repo/-/commit/77f7763d3f9d8d4e9aa02903bf6755793de7d0a3 You're receiving this email because of your account on gitlab.archlinux.org.