David Runge pushed to branch main at Arch Linux / Packaging / Packages / python-gitpython
Commits: 1049b098 by David Runge at 2023-09-03T15:54:48+02:00 upgpkg: 3.1.33-1 Add pkgver() function to properly set version. - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -5,8 +5,8 @@ _name=gitpython pkgdesc="A python library used to interact with Git repositories" pkgname=python-gitpython -_commit=5598d37f64905a5906ba16975b53b59c0ab5381b # refs/tags/3.1.32 -pkgver=3.1.32 +_commit=c1c877b0ca1cd8429c6b8bd9d8a742360f995160 # refs/tags/3.1.33 +pkgver=3.1.33 pkgrel=1 url="https://github.com/gitpython-developers/gitpython" license=(BSD) @@ -34,6 +34,11 @@ sha512sums=('SKIP') b2sums=('SKIP') validpgpkeys=('27C50E7F590947D7273A741E85194C08421980C9') # Sebastian Thiel (In Rust I trust!) <byron...@gmail.com> +pkgver() { + cd $_name + git describe --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd $_name python -m build --wheel --no-isolation View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-gitpython/-/commit/1049b09805474250f151c85ba60260adf24282c7 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-gitpython/-/commit/1049b09805474250f151c85ba60260adf24282c7 You're receiving this email because of your account on gitlab.archlinux.org.