Date: Saturday, October 8, 2022 @ 21:54:35
Author: grawlinson
Revision: 1324440
fix: python-uri-template; fix version string for dist-info
Modified:
python-uri-template/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++++
1 file changed, 8 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-10-08 21:38:03 UTC (rev 1324439)
+++ PKGBUILD 2022-10-08 21:54:35 UTC (rev 1324440)
@@ -25,6 +25,14 @@
git describe --tags | sed 's/^v//'
}
+prepare() {
+ cd "$pkgname"
+
+ # below string is extracted from upstream's setup.py
+ # version='0.0.0', # version will get replaced by git version tag - do not
edit
+ sed -e "s:\(version='\)0.0.0:\1$pkgver:" -i setup.py
+}
+
build() {
cd "$pkgname"