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

Filipe Laíns ffy00 at gemini.archlinux.org
Sat Sep 3 19:10:47 UTC 2022


    Date: Saturday, September 3, 2022 @ 19:10:47
  Author: ffy00
Revision: 1292697

upgpkg: python-pep621 0.6.1-1

Modified:
  python-pep621/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-03 19:08:45 UTC (rev 1292696)
+++ PKGBUILD	2022-09-03 19:10:47 UTC (rev 1292697)
@@ -1,14 +1,15 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
 
 pkgname=python-pep621
-pkgver=0.4.0
-pkgrel=3
+pkgver=0.6.1
+pkgrel=1
 pkgdesc='PEP 621 metadata parsing'
 arch=('any')
 url='https://github.com/FFY00/python-pep621'
 license=('MIT')
 depends=('python-packaging')
-makedepends=('git' 'python-setuptools' 'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
+makedepends=('git' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel'
+             'python-sphinx' 'python-sphinx-autodoc-typehints' 'python-sphinx-furo')
 checkdepends=('python-pytest' 'python-tomli')
 source=("git+$url#tag=$pkgver?signed")
 validpgpkeys=('3DCE51D60930EBA47858BA4146F633CBB0EB4BF2') # Filipe Laíns (FFY00) <lains at archlinux.org>
@@ -21,7 +22,7 @@
 build() {
   cd $pkgname
 
-  python setup.py build
+  python -m build -nw
 
   PYTHONPATH=. sphinx-build -b dirhtml -v docs docs/build/html
 }
@@ -35,8 +36,7 @@
 package() {
   cd $pkgname
 
-  python setup.py install --root="$pkgdir" --skip-build
-  python -m compileall --invalidation-mode=checked-hash "$pkgdir"
+  python -m installer -d "$destdir" dist/*.whl
 
   install -dm 755 "$pkgdir"/usr/share/doc/$pkgname
   cp -r -a --no-preserve=ownership docs/build/html "$pkgdir"/usr/share/doc/$pkgname



More information about the arch-commits mailing list