git » python-license-expression.git » commit c7ed664

upgpkg: 30.3.0-1

author George Rawlinson
2024-06-01 08:21:29 UTC
committer George Rawlinson
2024-06-01 08:21:29 UTC
parent 8612ad27dc53c8ac8c3fb3ef30b16d4083b096ec

upgpkg: 30.3.0-1

* New upstream release.
* Add sha512 checksum (for dual hashing).
* Remove pkgver function.

.SRCINFO +5 -4
PKGBUILD +4 -9

diff --git a/.SRCINFO b/.SRCINFO
index 09e2cf4..c2c0e20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = python-license-expression
 	pkgdesc = Utility to parse, normalize and compare license expressions
-	pkgver = 30.2.0
-	pkgrel = 2
+	pkgver = 30.3.0
+	pkgrel = 1
 	url = https://github.com/nexB/license-expression
 	arch = any
 	license = Apache-2.0
@@ -14,7 +14,8 @@ pkgbase = python-license-expression
 	makedepends = python-wheel
 	depends = python
 	depends = python-boolean.py
-	source = python-license-expression::git+https://github.com/nexB/license-expression#tag=v30.2.0
-	b2sums = 06edddfabb6b04008253ec9b8553a93bc6f35228b3cafb5779822a02c0149254254a0260b32160fc81c06bd2c445358ebdd59c52fc31bbc5d1499b38e6833daf
+	source = python-license-expression::git+https://github.com/nexB/license-expression#tag=v30.3.0
+	sha512sums = 60bdc7317e52fc43893d4b0a17e8caf3052ef43fa244e0b5d7529236b5382025c7c7daa860c0a5f94e71c130e532f80ec30b7efc8073146312142cf87e42760d
+	b2sums = c2fb9378301f18f5a631c7fcbe0c3a0cd2b175c3ead5aba7d1d4e61930a8fad063759cf51ece2c90ac07ab02a1f47030f8855ca41fad46ee121f02f951cfdbd0
 
 pkgname = python-license-expression
diff --git a/PKGBUILD b/PKGBUILD
index bdacde1..541774e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,8 +4,8 @@
 # SPDX-License-Identifier: CC0-1.0
 
 pkgname=python-license-expression
-pkgver=30.2.0
-pkgrel=2
+pkgver=30.3.0
+pkgrel=1
 pkgdesc='Utility to parse, normalize and compare license expressions'
 arch=('any')
 url='https://github.com/nexB/license-expression'
@@ -26,13 +26,8 @@ checkdepends=(
   'python-pytest-xdist'
 )
 source=("$pkgname::git+$url#tag=v$pkgver")
-b2sums=('06edddfabb6b04008253ec9b8553a93bc6f35228b3cafb5779822a02c0149254254a0260b32160fc81c06bd2c445358ebdd59c52fc31bbc5d1499b38e6833daf')
-
-pkgver() {
-  cd "$pkgname"
-
-  git describe --tags | sed 's/^v//'
-}
+sha512sums=('60bdc7317e52fc43893d4b0a17e8caf3052ef43fa244e0b5d7529236b5382025c7c7daa860c0a5f94e71c130e532f80ec30b7efc8073146312142cf87e42760d')
+b2sums=('c2fb9378301f18f5a631c7fcbe0c3a0cd2b175c3ead5aba7d1d4e61930a8fad063759cf51ece2c90ac07ab02a1f47030f8855ca41fad46ee121f02f951cfdbd0')
 
 prepare() {
   cd "$pkgname"