George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages / 
python-shippinglabel

Commits:
b4ffdea9 by George Rawlinson at 2024-12-17T14:07:25+13:00
upgpkg: 2.1.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-shippinglabel
        pkgdesc = Utilities for handling Python packages
-       pkgver = 1.7.1
-       pkgrel = 3
+       pkgver = 2.1.0
+       pkgrel = 1
        url = https://shippinglabel.readthedocs.io/
        arch = any
        license = MIT
@@ -18,7 +18,8 @@ pkgbase = python-shippinglabel
        depends = python-packaging
        depends = python-platformdirs
        depends = python-typing_extensions
-       source = 
python-shippinglabel::git+https://github.com/domdfcoding/shippinglabel#commit=bd8f77743ab3749631f947d61dd46dd4bb430ea1
-       b2sums = SKIP
+       source = 
python-shippinglabel::git+https://github.com/domdfcoding/shippinglabel#tag=v2.1.0
+       sha512sums = 
4b2a14a98b6ff90e0381ca6e7a5589b889308f70142d731cb119ae6a524364dd1c946732c7f51ac896c3888b16b6edaa6bb0c8f3172e2ea301bd75cf6684c312
+       b2sums = 
f309f4b3a2bb9f3a41bbbd91b6410fbf4a6993666396b54bac579e6179299c0e2b50920eb39cd85018846b9b2e1a5f9ac0612b3c1325ffc7a3d3a540d82fc151
 
 pkgname = python-shippinglabel


=====================================
PKGBUILD
=====================================
@@ -1,8 +1,8 @@
 # Maintainer: George Rawlinson <grawlin...@archlinux.org>
 
 pkgname=python-shippinglabel
-pkgver=1.7.1
-pkgrel=3
+pkgver=2.1.0
+pkgrel=1
 pkgdesc='Utilities for handling Python packages'
 arch=('any')
 url='https://shippinglabel.readthedocs.io/'
@@ -26,14 +26,17 @@ makedepends=(
 )
 #checkdepends=('')
 #optdepends=('')
-_commit='bd8f77743ab3749631f947d61dd46dd4bb430ea1'
-source=("$pkgname::git+https://github.com/domdfcoding/shippinglabel#commit=$_commit";)
-b2sums=('SKIP')
+source=("$pkgname::git+https://github.com/domdfcoding/shippinglabel#tag=v$pkgver";)
+sha512sums=('4b2a14a98b6ff90e0381ca6e7a5589b889308f70142d731cb119ae6a524364dd1c946732c7f51ac896c3888b16b6edaa6bb0c8f3172e2ea301bd75cf6684c312')
+b2sums=('f309f4b3a2bb9f3a41bbbd91b6410fbf4a6993666396b54bac579e6179299c0e2b50920eb39cd85018846b9b2e1a5f9ac0612b3c1325ffc7a3d3a540d82fc151')
 
-pkgver() {
+prepare() {
   cd "$pkgname"
 
-  git describe --tags | sed 's/^v//'
+  # remove version constraints
+  sed \
+    -e 's/^requires = \[.*/requires = \[ "setuptools", "wheel" \]/' \
+    -i pyproject.toml
 }
 
 build() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-shippinglabel/-/commit/b4ffdea91be6479d0e29a00ec4e5c09b5a03d70b

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-shippinglabel/-/commit/b4ffdea91be6479d0e29a00ec4e5c09b5a03d70b
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to