Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
git-filter-repo
Commits:
d9ddd224 by Caleb Maclennan at 2024-11-25T10:31:55+03:00
upgpkg: 2.45.0-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,10 @@
pkgbase = git-filter-repo
pkgdesc = Quickly rewrite git repository history (filter-branch
replacement)
- pkgver = 2.38.0
- pkgrel = 4
+ pkgver = 2.45.0
+ pkgrel = 1
url = https://github.com/newren/git-filter-repo
arch = any
- license = MIT
+ license = MIT OR GLP-2.0-or-later
checkdepends = rsync
makedepends = python-build
makedepends = python-installer
@@ -12,11 +12,7 @@ pkgbase = git-filter-repo
makedepends = python-setuptools-scm
depends = git
depends = python
- source =
https://github.com/newren/git-filter-repo/releases/download/v2.38.0/git-filter-repo-2.38.0.tar.xz
- source =
https://src.fedoraproject.org/rpms/git-filter-repo/raw/rawhide/f/git-filter-repo-support-git-2_43.diff
- source =
https://src.fedoraproject.org/rpms/git-filter-repo/raw/rawhide/f/git-filter-repo-fix-t9390-t41.diff
- sha256sums =
db954f4cae9e47c6be3bd3161bc80540d44f5379cb9cf9df498f4e019f0a41a9
- sha256sums =
6d7be296681dc32c88d3e8aade1380e48cb62941d0261fe507109e78fb53ea4b
- sha256sums =
82399400e7c5c7b2dcad9aa685786a8d73de6bdea1f52189cc26b2f9ce896a92
+ source =
https://github.com/newren/git-filter-repo/releases/download/v2.45.0/git-filter-repo-2.45.0.tar.xz
+ sha256sums =
430a2c4a5d6f010ebeafac6e724e3d8d44c83517f61ea2b2d0d07ed8a6fc555a
pkgname = git-filter-repo
=====================================
PKGBUILD
=====================================
@@ -2,37 +2,23 @@
# Contributor: Jerome Leclanche <[email protected]>
pkgname=git-filter-repo
-pkgver=2.38.0
-pkgrel=4
+pkgver=2.45.0
+pkgrel=1
pkgdesc='Quickly rewrite git repository history (filter-branch replacement)'
arch=(any)
url="https://github.com/newren/$pkgname"
-license=(MIT)
+license=('MIT OR GLP-2.0-or-later')
depends=(git
python)
makedepends=(python-{build,installer,wheel}
python-setuptools-scm)
checkdepends=(rsync)
_archive="$pkgname-$pkgver"
-source=("$url/releases/download/v$pkgver/$_archive.tar.xz"
-
https://src.fedoraproject.org/rpms/git-filter-repo/raw/rawhide/f/git-filter-repo-support-git-2_43.diff
-
https://src.fedoraproject.org/rpms/git-filter-repo/raw/rawhide/f/git-filter-repo-fix-t9390-t41.diff)
-sha256sums=('db954f4cae9e47c6be3bd3161bc80540d44f5379cb9cf9df498f4e019f0a41a9'
- '6d7be296681dc32c88d3e8aade1380e48cb62941d0261fe507109e78fb53ea4b'
- '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
-}
+source=("$url/releases/download/v$pkgver/$_archive.tar.xz")
+sha256sums=('430a2c4a5d6f010ebeafac6e724e3d8d44c83517f61ea2b2d0d07ed8a6fc555a')
build() {
- cd "$_archive/release"
+ cd "$_archive"
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
python -m build -wn
}
@@ -43,9 +29,8 @@ check() {
}
package() {
- cd "$_archive/release"
+ cd "$_archive"
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
+ install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING{,.gpl,.mit}
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/git-filter-repo/-/commit/d9ddd224852661d0d02519312fba88b2361b1027
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/git-filter-repo/-/commit/d9ddd224852661d0d02519312fba88b2361b1027
You're receiving this email because of your account on gitlab.archlinux.org.