[arch-commits] Commit in python-wcmatch/trunk (PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Wed Jun 1 11:15:03 UTC 2022


    Date: Wednesday, June 1, 2022 @ 11:15:03
  Author: freswa
Revision: 1218297

upgpkg: python-wcmatch 8.4-1

Modified:
  python-wcmatch/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-01 11:09:56 UTC (rev 1218296)
+++ PKGBUILD	2022-06-01 11:15:03 UTC (rev 1218297)
@@ -1,24 +1,24 @@
 # Maintainer: Frederik Schwan <freswa at archlinux dot org>
 
 pkgname=python-wcmatch
-pkgver=8.3
-pkgrel=3
+pkgver=8.4
+pkgrel=1
 pkgdesc='Wilcard File Name matching library'
 arch=('any')
 url='https://github.com/facelessuser/wcmatch'
 license=('MIT')
 depends=('python-bracex')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-hatchling' 'python-installer' 'python-wheel')
 source=("https://github.com/facelessuser/wcmatch/archive/${pkgver}/wcmatch-${pkgver}.tar.gz")
-b2sums=('8576a546278a69ba46af262bc925370e6d8b1828975d54fe3fe1a2e39fc8456134c7f7986e1674883ca0f0298c223be7efc67c7296a29d9a4f1b64e42614ce17')
+b2sums=('cdfbc243fa62f4854490510a563163f99dac09eed16248fa7a72d0a2a7b96484fab4edf3ba497e96a46dca1f734b9c1b098da4d71784775f51b48fcfa5b8a24c')
 
 build() {
   cd wcmatch-${pkgver}
-  python3 setup.py build
+  python -m build --wheel --skip-dependency-check --no-isolation
 }
 
 package() {
   cd wcmatch-${pkgver}
-  python3 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  python -m installer --destdir="${pkgdir}" dist/*.whl
   install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list