diff options
author | Misaka13514 | 2024-01-27 13:24:04 +0800 |
---|---|---|
committer | Misaka13514 | 2024-01-27 13:24:04 +0800 |
commit | e8eb1854cc1101ad4fd46bdc0d0a7707286bd41c (patch) | |
tree | 273b70cc1e6f6aad7e28c88c53444b92a296be9b /PKGBUILD | |
parent | bfd8e860aedca8b48c7e65a7f1c60d68b87b1637 (diff) | |
download | aur-python-wallbreaker.tar.gz |
Follow Arch Linux RFC10: Adopt PEP 517 tooling for Python packages
In Arch Linux RFC10, Arch Linux decided to Replace setup.py with PEP 517 tooling (python-build/python-installer) for all Python packages where this approach is viable.[2]
1. https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0010-adopt-pep517-tooling.rst
2. https://wiki.archlinux.org/title/Python_package_guidelines#Standards_based_(PEP_517)
upgpkg: frida-dexdump 2.0.1-3
upgpkg: python-ite8291r3-ctl-git r22.d2c490a-3
upgpkg: python-largestinteriorrectangle 0.2.0-4
upgpkg: python-lzf 0.2.4-4
upgpkg: python-rdbtools 0.1.15-3
upgpkg: python-stitching 0.5.3-4
upgpkg: python-toml-sort 0.23.1-2
upgpkg: python-wallbreaker 1.0.3-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2,7 +2,7 @@ pkgname=python-wallbreaker _name=Wallbreaker pkgver=1.0.3 -pkgrel=2 +pkgrel=3 pkgdesc="A useful tool to live analyzing Java heap, powered by frida." arch=('any') url="https://github.com/hluwa/Wallbreaker" @@ -12,16 +12,16 @@ depends=( 'python-frida' 'python-click' ) -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('d0b2802e2d0a47b4249e72fd08213c580a7778d10b91d8651afd60b362b62641') 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 + python -m installer --destdir="$pkgdir" dist/*.whl } |