diff options
author | Mark Wagie | 2022-04-15 10:45:05 -0600 |
---|---|---|
committer | Mark Wagie | 2022-04-15 10:45:05 -0600 |
commit | b8b54f8604b7fdfa17f298c69044c5daf0a40b76 (patch) | |
tree | a7448161c14f2cf135a3485e632cfc6c4fa13a9a /PKGBUILD | |
parent | 85e703125e8cbee91a2720949ffe8540d7cd4c68 (diff) | |
download | aur-b8b54f8604b7fdfa17f298c69044c5daf0a40b76.tar.gz |
standards based build
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,22 +2,22 @@ pkgname=python-types-setuptools _name=${pkgname#python-} pkgver=57.4.12 -pkgrel=1 +pkgrel=2 pkgdesc="Typing stubs for setuptools" arch=('any') url="https://github.com/python/typeshed" license=('Apache') depends=('python') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") sha256sums=('415a1c23101a05da17eb66bed5d5a865702e5a69f74c66dbf1af643dce9492ab') build() { cd "$_name-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$_name-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } |