diff options
author | tinywrkb | 2022-03-30 17:01:35 +0300 |
---|---|---|
committer | tinywrkb | 2022-03-30 17:01:35 +0300 |
commit | 860f0ab49c42efe9c5f96c3b15e07ffcc21481f7 (patch) | |
tree | 720f9ab98d5c1e184bdd4322ff6b1ebd762152f6 /PKGBUILD | |
parent | c0f1aab2d7d2121d8bd306f6d2460e45727e740b (diff) | |
download | aur-python-bidi.tar.gz |
bump to 0.4.2-4: follow the latest packaging guidelines
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -4,21 +4,22 @@ pkgname=python-bidi pkgver=0.4.2 -pkgrel=3 +pkgrel=4 pkgdesc="BIDI algorithm related functions" url="https://github.com/MeirKriheli/python-bidi" -license=('LGPL3') -arch=('any') -depends=('python') +license=(LGPL3) +arch=(any) +depends=(python) +makedepends=(python-build python-installer python-setuptools python-wheel) source=("https://github.com/MeirKriheli/python-bidi/archive/v${pkgver}/python-bidi-${pkgver}.tar.gz") sha256sums=('937295ce1369a329fabd6152be4212d6a4d80d6c278846580eabde0c1dd33077') build() { cd python-bidi-${pkgver} - python setup.py build + python -m build --wheel --no-isolation } package() { cd python-bidi-${pkgver} - python setup.py install --skip-build --root="$pkgdir" --prefix=/usr --optimize=1 + python -m installer --destdir="$pkgdir" dist/*.whl } |