Date: Sunday, November 6, 2022 @ 08:10:34
Author: alucryd
Revision: 1342709
archrelease: copy trunk to community-any
Added:
python-pylast/repos/community-any/PKGBUILD
(from rev 1342708, python-pylast/trunk/PKGBUILD)
Deleted:
python-pylast/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-06 08:10:24 UTC (rev 1342708)
+++ PKGBUILD 2022-11-06 08:10:34 UTC (rev 1342709)
@@ -1,42 +0,0 @@
-# Maintainer: Maxime Gauduin <[email protected]>
-# Contributor: Steven Allen <[email protected]>
-# Contributor: Limao Luo <[email protected]>
-# Contributor: Wieland Hoffmann <[email protected]>
-# Contributor: Amr Hassan <[email protected]>
-
-pkgname=python-pylast
-pkgver=5.0.0
-pkgrel=2
-pkgdesc='A Python interface to Last.fm and Libre.fm'
-arch=(any)
-url='https://github.com/pylast/pylast'
-license=(Apache)
-depends=(
- python-httpx
- python-importlib-metadata
-)
-makedepends=(
- git
- python-setuptools
- python-setuptools-scm
-)
-_tag=aefa7cef1bb4487f19914f2719c806ec891fdb93
-source=(git+https://github.com/pylast/pylast.git#tag=${_tag})
-sha256sums=(SKIP)
-
-pkgver() {
- cd pylast
- git describe --tags
-}
-
-build() {
- cd pylast
- python setup.py build
-}
-
-package() {
- cd pylast
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-pylast/repos/community-any/PKGBUILD (from rev 1342708,
python-pylast/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-06 08:10:34 UTC (rev 1342709)
@@ -0,0 +1,43 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Steven Allen <[email protected]>
+# Contributor: Limao Luo <[email protected]>
+# Contributor: Wieland Hoffmann <[email protected]>
+# Contributor: Amr Hassan <[email protected]>
+
+pkgname=python-pylast
+pkgver=5.1.0
+pkgrel=1
+pkgdesc='A Python interface to Last.fm and Libre.fm'
+arch=(any)
+url='https://github.com/pylast/pylast'
+license=(Apache)
+depends=(
+ python-httpx
+ python-importlib-metadata
+)
+makedepends=(
+ git
+ python-build
+ python-hatch-vcs
+ python-hatchling
+ python-installer
+)
+_tag=ce76c03581511499cf3d2163e0465c9aa05141a9
+source=(git+https://github.com/pylast/pylast.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+ cd pylast
+ git describe --tags
+}
+
+build() {
+ cd pylast
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ python -m installer --destdir="${pkgdir}" pylast/dist/*.whl
+}
+
+# vim: ts=2 sw=2 et: