George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pyacoustid
Commits:
09be4e07 by George Rawlinson at 2026-01-02T07:17:28+00:00
reuse: simplify conf
- - - - -
cefb6a36 by George Rawlinson at 2026-01-02T07:29:06+00:00
upgpkg: 1.3.0-7
* Switch to PEP-517 compatible system.
* Move python-audioread from optdepends to depends.
* Switch checksums from SKIP to sha512+b2.
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,21 @@
pkgbase = python-pyacoustid
pkgdesc = Bindings for Chromaprint acoustic fingerprinting and the
Acoustid API
pkgver = 1.3.0
- pkgrel = 6
+ pkgrel = 7
url = https://github.com/beetbox/pyacoustid
arch = any
license = MIT
makedepends = git
+ makedepends = python-build
+ makedepends = python-installer
makedepends = python-setuptools
+ makedepends = python-wheel
depends = chromaprint
depends = python
depends = python-requests
- optdepends = python-audioread: fingerprint a file
- source =
git+https://github.com/beetbox/pyacoustid.git#tag=d2698e46aa23b9d3380c7b97278fc84fac502d7f
- sha256sums = SKIP
+ depends = python-audioread
+ source =
python-pyacoustid::git+https://github.com/beetbox/pyacoustid#tag=v1.3.0
+ sha512sums =
cf2dab12fb7bcdaf5cd47c8fcc57f1d1994cc3bdd0ca506f70da23db33895878c2bc2f366873e7d7feaba623d7cf00744d424c000cf9910d48e2fb81294d100f
+ b2sums =
0b0f01d19e23f8d72c69a3d1b5a833483bf4e7fe366edea9d43d2b073454fd513c2cd512e8c2b346c89e1a927973239bee78d0af4e494cd0cdec9cc8a09c3d0a
pkgname = python-pyacoustid
=====================================
PKGBUILD
=====================================
@@ -4,42 +4,40 @@
pkgname=python-pyacoustid
pkgver=1.3.0
-pkgrel=6
+pkgrel=7
pkgdesc='Bindings for Chromaprint acoustic fingerprinting and the Acoustid API'
arch=(any)
-url=https://github.com/beetbox/pyacoustid
+url='https://github.com/beetbox/pyacoustid'
license=(MIT)
depends=(
chromaprint
python
python-requests
+ python-audioread
)
makedepends=(
git
+ python-build
+ python-installer
python-setuptools
+ python-wheel
)
-optdepends=('python-audioread: fingerprint a file')
-_tag=d2698e46aa23b9d3380c7b97278fc84fac502d7f
-source=(git+https://github.com/beetbox/pyacoustid.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd pyacoustid
-
- git describe --tags | sed 's/^v//'
-}
+source=("$pkgname::git+$url#tag=v$pkgver")
+sha512sums=('cf2dab12fb7bcdaf5cd47c8fcc57f1d1994cc3bdd0ca506f70da23db33895878c2bc2f366873e7d7feaba623d7cf00744d424c000cf9910d48e2fb81294d100f')
+b2sums=('0b0f01d19e23f8d72c69a3d1b5a833483bf4e7fe366edea9d43d2b073454fd513c2cd512e8c2b346c89e1a927973239bee78d0af4e494cd0cdec9cc8a09c3d0a')
build() {
- cd pyacoustid
+ cd "$pkgname"
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
- cd pyacoustid
+ cd "$pkgname"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/python-pyacoustid/
-}
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
# 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-pyacoustid/-/compare/0953c11b760b19cc83a4cdeafd19931e8e74015d...cefb6a3689cbe215c358fd62c5b6a88ed0dd6ef6
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pyacoustid/-/compare/0953c11b760b19cc83a4cdeafd19931e8e74015d...cefb6a3689cbe215c358fd62c5b6a88ed0dd6ef6
You're receiving this email because of your account on gitlab.archlinux.org.