diff options
author | Fabian Hafner | 2022-04-26 17:47:51 +0200 |
---|---|---|
committer | Fabian Hafner | 2022-04-26 17:47:51 +0200 |
commit | e91a9034429d2f1120f0f73c6cfb93e175e9a737 (patch) | |
tree | 5989f729813c11883fa475837bed8955bfae201c /PKGBUILD | |
parent | 3e16cf5f35e906ffcb9120f76d5f73e5ae5e01df (diff) | |
download | aur-python-netfilterqueue-git.tar.gz |
depends update2
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -8,6 +8,7 @@ arch=('any') url="https://github.com/kti/python-netfilterqueue" license=("GPL2") depends=('python' 'cython' 'libnetfilter_queue') +makedepends=('python-build' 'python-installer' 'python-wheel') source=("${_pkgbase}::git+https://github.com/kti/python-netfilterqueue") sha256sums=('SKIP') @@ -21,10 +22,12 @@ pkgver() { build() { cd "${srcdir}/${_pkgbase}" - python setup.py build + #python setup.py build + python -m build --wheel --no-isolation } package() { cd "${srcdir}/${_pkgbase}" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + #python setup.py install --root="$pkgdir/" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } |