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


Commits:
1b94ecb3 by George Rawlinson at 2026-01-02T07:17:40+00:00
reuse: simplify conf

- - - - -
d6d6a070 by George Rawlinson at 2026-01-02T07:26:12+00:00
upgpkg: 0.7.1-10

* Update licenses to use SPDX expressions.
* Switch to PEP-517 compatible system.
* Switch checksums from SKIP to sha512+b2.

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,14 +1,19 @@
 pkgbase = python-musicbrainzngs
-       pkgdesc = Python bindings for Musicbrainz' NGS webservice
+       pkgdesc = Python bindings for Musicbrainz NGS webservice
        pkgver = 0.7.1
-       pkgrel = 9
+       pkgrel = 10
        url = https://github.com/alastair/python-musicbrainzngs
        arch = any
-       license = BSD
+       license = BSD-2-Clause
+       license = MIT
        makedepends = git
+       makedepends = python-build
+       makedepends = python-installer
        makedepends = python-setuptools
+       makedepends = python-wheel
        depends = python
-       source = 
git+https://github.com/alastair/python-musicbrainzngs.git#tag=e4bca39720c7c0a1de38b1663faa3475cf5b7eff
-       sha256sums = SKIP
+       source = 
python-musicbrainzngs::git+https://github.com/alastair/python-musicbrainzngs#tag=v0.7.1
+       sha512sums = 
7f2d225c5724c1f5312cd4191ba6a91118f749cfcb367a04168245bea34c7291882b5de3be97bc9bbfa3e088714ff48edfc338ddc79812da5be4b9053eab0074
+       b2sums = 
3432fc3b8a8b7f63510db3b426b25fb95fe5de66381b3e96efd7867de10f53e7978b96c2420dcc9624a40e6c083b163642f8026a1f05d065a7638cba0735247e
 
 pkgname = python-musicbrainzngs


=====================================
PKGBUILD
=====================================
@@ -3,36 +3,35 @@
 
 pkgname=python-musicbrainzngs
 pkgver=0.7.1
-pkgrel=9
-pkgdesc="Python bindings for Musicbrainz' NGS webservice"
+pkgrel=10
+pkgdesc='Python bindings for Musicbrainz NGS webservice'
 arch=(any)
-url=https://github.com/alastair/python-musicbrainzngs
-license=(BSD)
+url='https://github.com/alastair/python-musicbrainzngs'
+license=(BSD-2-Clause MIT)
 depends=(python)
 makedepends=(
   git
+  python-build
+  python-installer
   python-setuptools
+  python-wheel
 )
-source=(git+https://github.com/alastair/python-musicbrainzngs.git#tag=e4bca39720c7c0a1de38b1663faa3475cf5b7eff)
-sha256sums=(SKIP)
-
-pkgver() {
-  cd python-musicbrainzngs
-
-  git describe --tags | sed 's/^v//'
-}
+source=("$pkgname::git+$url#tag=v$pkgver")
+sha512sums=('7f2d225c5724c1f5312cd4191ba6a91118f749cfcb367a04168245bea34c7291882b5de3be97bc9bbfa3e088714ff48edfc338ddc79812da5be4b9053eab0074')
+b2sums=('3432fc3b8a8b7f63510db3b426b25fb95fe5de66381b3e96efd7867de10f53e7978b96c2420dcc9624a40e6c083b163642f8026a1f05d065a7638cba0735247e')
 
 build() {
-  cd python-musicbrainzngs
+  cd "$pkgname"
 
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd python-musicbrainzngs
+  cd "$pkgname"
 
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 COPYING -t 
"${pkgdir}"/usr/share/licenses/python-musicbrainzngs/
-}
+  python -m installer --destdir="$pkgdir" dist/*.whl
 
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" COPYING
+}
 # 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-musicbrainzngs/-/compare/4e38a2814182f65daf6f16e4d462666a247d3bd9...d6d6a0705b3331aee2d5e138c22e4fad8ea4f9a8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-musicbrainzngs/-/compare/4e38a2814182f65daf6f16e4d462666a247d3bd9...d6d6a0705b3331aee2d5e138c22e4fad8ea4f9a8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to