George Rawlinson pushed to branch main at Arch Linux / Packaging / Packages /
python-pylast
Commits:
03fe4b43 by George Rawlinson at 2026-02-03T08:38:40+00:00
reuse: simplify conf
- - - - -
a790fe2a by George Rawlinson at 2026-02-03T08:42:46+00:00
upgpkg: 7.0.2-1
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,17 +1,19 @@
pkgbase = python-pylast
pkgdesc = A Python interface to Last.fm and Libre.fm
- pkgver = 7.0.0
- pkgrel = 2
+ pkgver = 7.0.2
+ pkgrel = 1
url = https://github.com/pylast/pylast
arch = any
- license = Apache
+ license = Apache-2.0
makedepends = git
makedepends = python-build
makedepends = python-hatch-vcs
makedepends = python-hatchling
makedepends = python-installer
+ depends = python
depends = python-httpx
- source =
git+https://github.com/pylast/pylast.git#tag=b95a694b6af9cc8f8279e03c5b859cc0bd5dff52
- b2sums =
1bc52fd97ebfefe07b8269eb6fcc5790133880436f6e16a299dff076d782f5b97ce028dc88394ad14dc1641617d456559d1b66d6322ac48f89f2c36d40d8353c
+ source =
python-pylast::git+https://github.com/pylast/pylast.git#tag=7.0.2
+ sha512sums =
6e7094152490a2f82708dec1f304e73281fa0c5420768e97de43c446829f68e748f104129a914dc11044447ffc58f77ed68b4860d1f9a87cefd5fccc50cc407d
+ b2sums =
713cf4d4fff535fcedecd26297338285cd4e01d7139cf02b1998a26ab87c675efc0c4b0d6f19dd68eff830cac74d4386a1d32ccd4dae308bee3e78d0d6c5b3f4
pkgname = python-pylast
=====================================
PKGBUILD
=====================================
@@ -5,13 +5,14 @@
# Contributor: Amr Hassan <[email protected]>
pkgname=python-pylast
-pkgver=7.0.0
-pkgrel=2
+pkgver=7.0.2
+pkgrel=1
pkgdesc='A Python interface to Last.fm and Libre.fm'
arch=(any)
url='https://github.com/pylast/pylast'
-license=(Apache)
+license=(Apache-2.0)
depends=(
+ python
python-httpx
)
makedepends=(
@@ -21,22 +22,19 @@ makedepends=(
python-hatchling
python-installer
)
-_tag=b95a694b6af9cc8f8279e03c5b859cc0bd5dff52
-source=(git+https://github.com/pylast/pylast.git#tag=${_tag})
-b2sums=('1bc52fd97ebfefe07b8269eb6fcc5790133880436f6e16a299dff076d782f5b97ce028dc88394ad14dc1641617d456559d1b66d6322ac48f89f2c36d40d8353c')
-
-pkgver() {
- cd pylast
- git describe --tags
-}
+source=("$pkgname::git+https://github.com/pylast/pylast.git#tag=$pkgver")
+sha512sums=('6e7094152490a2f82708dec1f304e73281fa0c5420768e97de43c446829f68e748f104129a914dc11044447ffc58f77ed68b4860d1f9a87cefd5fccc50cc407d')
+b2sums=('713cf4d4fff535fcedecd26297338285cd4e01d7139cf02b1998a26ab87c675efc0c4b0d6f19dd68eff830cac74d4386a1d32ccd4dae308bee3e78d0d6c5b3f4')
build() {
- cd pylast
+ cd "$pkgname"
+
python -m build --wheel --no-isolation
}
package() {
- python -m installer --destdir="${pkgdir}" pylast/dist/*.whl
-}
+ cd "$pkgname"
+ 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-pylast/-/compare/5c6be27e9dfefeaed5b41ac7215d07743634de47...a790fe2acb1af64cae774fa243e5274b249f9484
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-pylast/-/compare/5c6be27e9dfefeaed5b41ac7215d07743634de47...a790fe2acb1af64cae774fa243e5274b249f9484
You're receiving this email because of your account on gitlab.archlinux.org.