diff options
author | Caleb Maclennan | 2022-05-07 19:02:07 +0300 |
---|---|---|
committer | Caleb Maclennan | 2022-05-07 19:02:07 +0300 |
commit | f50192550f4491144add49262455172bbda04bed (patch) | |
tree | 3290a5971af4b9e471dd4ac9fef4dbc377f82819 | |
parent | b6a2deaea3bdf005ffc5e4b0c9b18fefae42a57b (diff) | |
download | aur-f50192550f4491144add49262455172bbda04bed.tar.gz |
upgpkg: python-fontmath 0.9.1-2
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 5 deletions
@@ -1,12 +1,15 @@ pkgbase = python-fontmath pkgdesc = A collection of objects that implement fast font, glyph, etc. math pkgver = 0.9.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/robotools/fontMath arch = any license = MIT checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools-scm + makedepends = python-wheel depends = python-fonttools source = https://files.pythonhosted.org/packages/source/f/fontMath/fontMath-0.9.1.zip sha256sums = 1c5e76e135409f49b15809d0ce94dfd00850f893f86d4d6a336808dbbf292700 @@ -5,21 +5,24 @@ _pyname=fontMath pkgname=python-${_pyname,,} pkgver=0.9.1 -pkgrel=1 +pkgrel=2 pkgdesc='A collection of objects that implement fast font, glyph, etc. math' arch=(any) url="https://github.com/robotools/$_pyname" license=(MIT) depends=(python-fonttools) checkdepends=(python-pytest) -makedepends=(python-setuptools-scm) +makedepends=(python-{build,installer} + python-setuptools-scm + python-wheel) +checkdepends=(python-pytest) _archive="$_pyname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.zip") sha256sums=('1c5e76e135409f49b15809d0ce94dfd00850f893f86d4d6a336808dbbf292700') build() { cd "$_archive" - python setup.py build + python -m build -wn } check() { @@ -29,6 +32,6 @@ check() { package() { cd "$_archive" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer -d "$pkgdir" dist/*.whl install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" License.txt } |