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


Commits:
2c9f5fdc by George Rawlinson at 2026-02-03T08:40:34+00:00
reuse: simplify conf

- - - - -
c35a6421 by George Rawlinson at 2026-02-03T08:42:12+00:00
upgpkg: 2.8-3

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- REUSE.toml


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = python-discogs-client
        pkgdesc = Python Client for the Discogs API
        pkgver = 2.8
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/joalla/discogs_client
        arch = any
        license = BSD-2-Clause
@@ -14,7 +14,8 @@ pkgbase = python-discogs-client
        depends = python-dateutil
        depends = python-requests
        depends = python-oauthlib
-       source = 
git+https://github.com/joalla/discogs_client.git#tag=4320f830f85a66278046b35e65ebc3fa85c7556c
+       source = 
python-discogs-client::git+https://github.com/joalla/discogs_client.git#tag=v2.8
+       sha512sums = 
1cb175e5589b1f221187770a52ebe19b5c70351ab03a168532b7784ec1c50075f4a252350e09ef938b98ad6d306021b70b1656f951e0f22621e84fee53fc70bc
        b2sums = 
97934bc915043a73223b6e89cae6c2cbb0d4e43babf8f86015423cd69fbd536f2cb981d7c6b404625cf7482c38fd9a45e4c550795c957901168b026d0cb33cf1
 
 pkgname = python-discogs-client


=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@
 
 pkgname=python-discogs-client
 pkgver=2.8
-pkgrel=2
+pkgrel=3
 pkgdesc='Python Client for the Discogs API'
 arch=(any)
 url=https://github.com/joalla/discogs_client
@@ -24,24 +24,22 @@ makedepends=(
   python-setuptools
   python-wheel
 )
-_tag=4320f830f85a66278046b35e65ebc3fa85c7556c
-source=(git+https://github.com/joalla/discogs_client.git#tag=${_tag})
+source=("$pkgname::git+https://github.com/joalla/discogs_client.git#tag=v$pkgver";)
+sha512sums=('1cb175e5589b1f221187770a52ebe19b5c70351ab03a168532b7784ec1c50075f4a252350e09ef938b98ad6d306021b70b1656f951e0f22621e84fee53fc70bc')
 
b2sums=('97934bc915043a73223b6e89cae6c2cbb0d4e43babf8f86015423cd69fbd536f2cb981d7c6b404625cf7482c38fd9a45e4c550795c957901168b026d0cb33cf1')
 
-pkgver() {
-  cd discogs_client
-  git describe --tags | sed 's/^v//'
-}
-
 build() {
-  cd discogs_client
+  cd "$pkgname"
+
   python -m build --wheel --no-isolation
 }
 
 package() {
-  cd discogs_client
+  cd "$pkgname"
+
   python -m installer --destdir="$pkgdir" dist/*.whl
-  install -Dm 644 LICENSE -t 
"${pkgdir}"/usr/share/licenses/python-discogs-client
-}
 
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
 # vim: set 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-discogs-client/-/compare/11e93ab639bdc3c3095e2c166287122b4f75e4e6...c35a64217395cc98f9c589852921758bc03f6249

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-discogs-client/-/compare/11e93ab639bdc3c3095e2c166287122b4f75e4e6...c35a64217395cc98f9c589852921758bc03f6249
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to