diff options
author | Caleb Maclennan | 2023-05-04 00:18:40 +0300 |
---|---|---|
committer | Caleb Maclennan | 2023-05-04 00:18:40 +0300 |
commit | e29fdeacd97032afcc36d341885657fc8c1d6ba2 (patch) | |
tree | 188c5fbb8a6776f0c125535b74cc7937e15311d1 | |
parent | 30d52b8f3b3e4064a4bcaf40e117279d6ae37065 (diff) | |
download | aur-e29fdeacd97032afcc36d341885657fc8c1d6ba2.tar.gz |
upgpkg: python-cu2qu 1.6.7.post2-2
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,13 +1,16 @@ pkgbase = python-cu2qu pkgdesc = Cubic-to-quadratic bezier curve conversion pkgver = 1.6.7.post2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/googlefonts/cu2qu arch = any license = Apache checkdepends = python-coverage checkdepends = python-pytest-runner makedepends = cython + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools-scm depends = python depends = python-defcon @@ -4,7 +4,7 @@ _pyname=cu2qu pkgname=python-$_pyname pkgver=1.6.7.post2 -pkgrel=1 +pkgrel=2 pkgdesc='Cubic-to-quadratic bezier curve conversion' arch=(any) url="https://github.com/googlefonts/$_pyname" @@ -15,6 +15,7 @@ _pydeps=(defcon depends=(python "${_pydeps[@]/#/python-}") makedepends=(cython + python-{build,installer,wheel} python-setuptools-scm) checkdepends=(python-coverage python-pytest-runner) @@ -24,16 +25,16 @@ sha256sums=('1df562d99bd6059226088f443702bf51cfdd8cc63623f23137459a78d7bf5808') build() { cd "$_archive" - python setup.py build + python -m build -wn } check() { cd "$_archive" - python setup.py test + python -m unittest discover } package() { cd "$_archive" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer -d "$pkgdir" dist/*.whl } |