diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,10 +1,13 @@ pkgbase = python-glyphconstruction pkgdesc = a simple, powerful, human-readable language for describing how glyph shapes are built pkgver = 0.8.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/typemytype/GlyphConstruction arch = any license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools depends = python source = GlyphConstruction-d7c7dd5ffe8a48d089c49206197a9091886fcb10.tar.gz::https://github.com/typemytype/GlyphConstruction/archive/d7c7dd5ffe8a48d089c49206197a9091886fcb10.tar.gz @@ -5,13 +5,14 @@ _project=GlyphConstruction pkgname=python-$_pipname pkgver=0.8.3 _sha=d7c7dd5ffe8a48d089c49206197a9091886fcb10 -pkgrel=2 +pkgrel=3 pkgdesc='a simple, powerful, human-readable language for describing how glyph shapes are built' arch=(any) url="https://github.com/typemytype/$_project" license=(MIT) depends=(python) -makedepends=(python-setuptools) +makedepends=(python-{build,installer,wheel} + python-setuptools) _archive="$_project-$_sha" source=("$_archive.tar.gz::$url/archive/$_sha.tar.gz") sha256sums=('f0f6c48329f21aea6802dcf4d8790d1ca208723ace6e8c115c538be2c5809de5') @@ -23,10 +24,10 @@ prepare() { 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 } |