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

Caleb Maclennan alerque at gemini.archlinux.org
Thu Mar 10 12:03:26 UTC 2022


    Date: Thursday, March 10, 2022 @ 12:03:26
  Author: alerque
Revision: 1145938

upgpkg: python-fonttools 4.30.0-1

Modified:
  python-fonttools/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-10 11:47:41 UTC (rev 1145937)
+++ PKGBUILD	2022-03-10 12:03:26 UTC (rev 1145938)
@@ -5,7 +5,7 @@
 
 pkgname=python-fonttools
 _pyname=${pkgname#python-}
-pkgver=4.29.1
+pkgver=4.30.0
 pkgrel=1
 pkgdesc='A library to manipulate font files from Python'
 url="https://github.com/fonttools/$_pyname"
@@ -13,7 +13,9 @@
 arch=('x86_64')
 depends=('python')
 makedepends=('cython'
-             'python-setuptools')
+             'python-'{build,installer}
+             'python-setuptools'
+             'python-wheel')
 checkdepends=('python-brotli'
               'python-fs'
               'python-pytest'
@@ -30,12 +32,11 @@
             'python-unicodedata2: for displaying the Unicode character names when dumping the cmap table with ttx'
             'python-zopfli: faster backend fom WOFF 1.0 web fonts compression')
 source=("$url/archive/$pkgver/$_pyname-$pkgver.tar.gz")
-sha256sums=('db2ec36d9d202af630be1e0cf05108afd8eda5aa66b82957e3ed75065d3e2cdd')
+sha256sums=('8ef987d58a5ba77d8f39842a418183ec3d6685b652418dc63c867a1fa31fb042')
 
 build() {
 	cd "$_pyname-$pkgver"
-	python setup.py build_ext --inplace
-	python setup.py build
+	python -m build -wn
 }
 
 check() {
@@ -45,6 +46,6 @@
 
 package() {
 	cd "$_pyname-$pkgver"
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	python -m installer -d "$pkgdir" dist/*.whl
 	install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }



More information about the arch-commits mailing list