diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ # Maintainer: nblock <nblock [/at\] archlinux DOT us> pkgname=cruft -pkgver=2.12.0 +pkgver=2.15.0 pkgrel=1 pkgdesc='Maintain all the necessary boilerplate for packaging and building projects separate from the code you intentionally write. Fully compatible with existing Cookiecutter templates' arch=('any') @@ -13,20 +13,20 @@ depends=('python' 'python-gitpython' 'python-typer') optdepends=('python-toml: specify patterns to ignore in toml files') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel' 'python-poetry') source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz") -sha1sums=('caa92f51a79e1f3b21f8345f89afd01fda2698a7') -sha256sums=('57455d33a60684c945d501dcea2b1c57dc0fb200a0090f07c83da1603382cbb1') +sha1sums=('312b0312ad460dd70ea8d55d1664e2819e47d728') +sha256sums=('9802af66037418655e7e4b6f30b531591e0761939b3ff5dd45d27c3a3f588abe') build() { cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } # vim:set ts=2 sw=2 noet: |