diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,10 +1,13 @@ pkgbase = ufodiff pkgdesc = UFO source file diff application pkgver = 1.0.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/source-foundry/ufodiff arch = any license = MIT + makedepends = python-build + makedepends = python-installer + makedepends = python-wheel makedepends = python-setuptools depends = python depends = python-commandlines @@ -2,7 +2,7 @@ pkgname=ufodiff pkgver=1.0.3 -pkgrel=2 +pkgrel=3 pkgdesc='UFO source file diff application' arch=(any) url="https://github.com/source-foundry/$pkgname" @@ -13,17 +13,18 @@ depends=(python python-gitpython python-smmap python-standardstreams) -makedepends=(python-setuptools) +makedepends=(python-{build,installer,wheel} + python-setuptools) _archive="$pkgname-$pkgver" source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('e549e7f3598c0cf0a6be207944fb632db0d834addb4cf202ee00967ceebd58dd') 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 } |