diff options
author | Caleb Maclennan | 2023-05-04 00:57:26 +0300 |
---|---|---|
committer | Caleb Maclennan | 2023-05-04 00:57:26 +0300 |
commit | ac2a65119fd319528667dc8698dbba4af4f7aa3c (patch) | |
tree | 6efa3e5b33dbd3d4be78df5e3ece88e00326ccc4 | |
parent | f1de3b771780cd580e26dbb6914a4237f00fc347 (diff) | |
download | aur-ac2a65119fd319528667dc8698dbba4af4f7aa3c.tar.gz |
upgpkg: font-line 3.1.4-3
Rebuild for Python 3.11, normalize PEP517 build tooling
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,10 +1,13 @@ pkgbase = font-line pkgdesc = OpenType vertical metrics reporting and font line spacing adjustment tool pkgver = 3.1.4 - pkgrel = 2 + pkgrel = 3 url = https://github.com/source-foundry/font-line arch = any license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools-scm depends = python depends = python-commandlines @@ -2,7 +2,7 @@ pkgname=font-line pkgver=3.1.4 -pkgrel=2 +pkgrel=3 pkgdesc='OpenType vertical metrics reporting and font line spacing adjustment tool' arch=(any) url="https://github.com/source-foundry/$pkgname" @@ -11,17 +11,18 @@ depends=(python python-commandlines python-fonttools python-standardstreams) -makedepends=(python-setuptools-scm) +makedepends=(python-{build,installer,wheel} + python-setuptools-scm) _archive="$pkgname-$pkgver" source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('033baa102ab9c61a653f213997610e0de308d5bc75e989923927a0519687cbb1') build() { cd "$_archive" - python setup.py build + python -m build -wn } package() { cd "$_archive" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer -d "$pkgdir" dist/*.whl } |