diff options
author | Will Handley | 2023-02-23 11:20:59 +0000 |
---|---|---|
committer | Will Handley | 2023-02-23 11:20:59 +0000 |
commit | 1b8df8f7d1bc8d2aa4bf75d72564549cf7fa5380 (patch) | |
tree | 6c2cb157d42747cc8e2d01d56797b555eb66f874 | |
parent | 083a6fa52404c2e717836d2d1050d9f32a70eb9e (diff) | |
download | aur-1b8df8f7d1bc8d2aa4bf75d72564549cf7fa5380.tar.gz |
Updated for new format
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = python-anesthetic-git pkgdesc = nested sampling visualisation - pkgver = r354.48d6bc4 + pkgver = r393.06cb594 pkgrel = 1 url = https://github.com/williamjameshandley/anesthetic arch = any @@ -1,7 +1,7 @@ # Maintainer: Will Handley <wh260@cam.ac.uk> (aur.archlinux.org/account/wjhandley) _modulename=anesthetic pkgname=python-$_modulename-git -pkgver=r354.48d6bc4 +pkgver=r393.06cb594 pkgrel=1 pkgdesc="nested sampling visualisation" arch=(any) @@ -25,7 +25,12 @@ pkgver() { printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +build() { + cd "$srcdir/${pkgname%-git}/" + python -m build --wheel --no-isolation +} + package() { - cd "$srcdir/${pkgname%-git}/" - python setup.py install --root="$pkgdir/" --optimize=1 + cd "$srcdir/${pkgname%-git}/" + python -m installer --destdir="$pkgdir" dist/*.whl } |