diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -2,23 +2,24 @@ pkgname=python-standardstreams pkgver=0.2.0 -pkgrel=2 +pkgrel=3 pkgdesc='Standard output, standard error, and standard input stream library' arch=(any) url="https://github.com/chrissimpkins/${pkgname#python-}" license=(MIT) depends=(python) -makedepends=(python-setuptools) +makedepends=(python-{build,installer,wheel} + python-setuptools) _archive="${pkgname#python-}-$pkgver" source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('93d418bf48c3cad0bd158f5be0814fd17af60f74780e43f2e53976d2fb03425c') 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 } |