Date: Sunday, November 6, 2022 @ 08:10:24
  Author: alucryd
Revision: 1342708

upgpkg: python-pylast 5.1.0-1

Modified:
  python-pylast/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-11-06 08:03:09 UTC (rev 1342707)
+++ PKGBUILD    2022-11-06 08:10:24 UTC (rev 1342708)
@@ -5,8 +5,8 @@
 # Contributor: Amr Hassan <[email protected]>
 
 pkgname=python-pylast
-pkgver=5.0.0
-pkgrel=2
+pkgver=5.1.0
+pkgrel=1
 pkgdesc='A Python interface to Last.fm and Libre.fm'
 arch=(any)
 url='https://github.com/pylast/pylast'
@@ -17,10 +17,12 @@
 )
 makedepends=(
   git
-  python-setuptools
-  python-setuptools-scm
+  python-build
+  python-hatch-vcs
+  python-hatchling
+  python-installer
 )
-_tag=aefa7cef1bb4487f19914f2719c806ec891fdb93
+_tag=ce76c03581511499cf3d2163e0465c9aa05141a9
 source=(git+https://github.com/pylast/pylast.git#tag=${_tag})
 sha256sums=(SKIP)
 
@@ -31,12 +33,11 @@
 
 build() {
   cd pylast
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
-  cd pylast
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  python -m installer --destdir="${pkgdir}" pylast/dist/*.whl
 }
 
 # vim: ts=2 sw=2 et:

Reply via email to