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


Commits:
407354d9 by George Rawlinson at 2026-01-02T17:39:04+00:00
upgpkg: 1.1.4-8

* Rebuild for Python 3.14.
* Update license to use SPDX expressions.
* Switch to PEP-517 compatible system.
* Switch checksums from SKIP to sha512+b2.
* Simplify reuse configuration.

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,18 @@
 pkgbase = python-munkres
        pkgdesc = Munkres algorithm for Python
        pkgver = 1.1.4
-       pkgrel = 7
+       pkgrel = 8
        url = https://github.com/bmc/munkres
        arch = any
-       license = Apache
+       license = Apache-2.0
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
-       source = 
git+https://github.com/bmc/munkres.git#tag=ac8af9e3b6093e4be8e3935829bc7d7fc45a84d2
-       b2sums = SKIP
+       source = 
python-munkres::git+https://github.com/bmc/munkres#tag=release-1.1.4
+       sha512sums = 
cf1a18a8e8aed112d724f0ea7228e3530a3cfc7b188b4abde2763d64134de0c03982f50d8a196f746cada62bf656969e0a54dcfb4abc7aebfd14d4de7a7b9c98
+       b2sums = 
efd81b02099a3dccf32d2f37c3a0ee7b4ec17aa020a7bf00f600526db544daa87d4120d25bd384798886db4533eb3422f9b2bbcf51b701eb70e1e98823a4af83
 
 pkgname = python-munkres


=====================================
PKGBUILD
=====================================
@@ -3,36 +3,32 @@
 
 pkgname=python-munkres
 pkgver=1.1.4
-pkgrel=7
+pkgrel=8
 pkgdesc='Munkres algorithm for Python'
 arch=(any)
-url=https://github.com/bmc/munkres
-license=(Apache)
+url='https://github.com/bmc/munkres'
+license=(Apache-2.0)
 depends=(python)
 makedepends=(
   git
+  python-build
+  python-installer
   python-setuptools
+  python-wheel
 )
-_tag=ac8af9e3b6093e4be8e3935829bc7d7fc45a84d2
-source=(git+https://github.com/bmc/munkres.git#tag=${_tag})
-b2sums=(SKIP)
-
-pkgver() {
-  cd munkres
-
-  git describe --tags | sed 's/^release-//'
-}
+source=("$pkgname::git+$url#tag=release-$pkgver")
+sha512sums=('cf1a18a8e8aed112d724f0ea7228e3530a3cfc7b188b4abde2763d64134de0c03982f50d8a196f746cada62bf656969e0a54dcfb4abc7aebfd14d4de7a7b9c98')
+b2sums=('efd81b02099a3dccf32d2f37c3a0ee7b4ec17aa020a7bf00f600526db544daa87d4120d25bd384798886db4533eb3422f9b2bbcf51b701eb70e1e98823a4af83')
 
 build() {
-  cd munkres
+  cd "$pkgname"
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd munkres
+  cd "$pkgname"
 
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
-
 # vim: ts=2 sw=2 et:


=====================================
REUSE.toml
=====================================
@@ -7,16 +7,6 @@ path = [
     "keys/**",
     ".SRCINFO",
     ".nvchecker.toml",
-    "*.install",
-    "*.sysusers",
-    "*.tmpfiles",
-    "*.logrotate",
-    "*.pam",
-    "*.service",
-    "*.socket",
-    "*.timer",
-    "*.desktop",
-    "*.hook",
 ]
 SPDX-FileCopyrightText = "Arch Linux contributors"
 SPDX-License-Identifier = "0BSD"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-munkres/-/commit/407354d94d9ceaa81643e2b6af80e04506637e15

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


Reply via email to