Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / lorcon
Commits: 2a25c58e by loqs at 2026-01-27T18:41:33+00:00 SPDX license identifier https://github.com/kismetwireless/lorcon/blob/2020.06.06/lorcon.c - - - - - 0d7cc201 by loqs at 2026-01-27T18:44:11+00:00 Use PEP 517 for building Related https://archlinux.org/todo/use-pep-517-for-building-if-supported/. - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -5,11 +5,14 @@ pkgbase = lorcon epoch = 2 url = https://github.com/kismetwireless/lorcon arch = x86_64 - license = GPL + license = GPL-2.0-or-later makedepends = glibc makedepends = python makedepends = libpcap + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel source = https://github.com/kismetwireless/lorcon/archive/2020.06.06/lorcon-2020.06.06.tar.gz sha512sums = 1f51dc221d01356b59fd615ebccabb6d00f1999fd9450f6f092f6234635e162f0407e203df9dde4f0f942691cd9395df30377478ec677c910c2d1603228cef30 b2sums = 6fe0d3578b8f91ed9ed0ea12ce110afc6764b694c78c57935b835e4fb8e4c4c81e07f7a8b069583382e91ef760a07bdcf3f9aa51167add052ac1f3f8c0758155 ===================================== PKGBUILD ===================================== @@ -12,9 +12,9 @@ pkgrel=7 epoch=2 pkgdesc='Generic library for injecting 802.11 frames' url='https://github.com/kismetwireless/lorcon' -license=('GPL') +license=('GPL-2.0-or-later') arch=('x86_64') -makedepends=('glibc' 'python' 'libpcap' 'python-setuptools') +makedepends=('glibc' 'python' 'libpcap' 'python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('1f51dc221d01356b59fd615ebccabb6d00f1999fd9450f6f092f6234635e162f0407e203df9dde4f0f942691cd9395df30377478ec677c910c2d1603228cef30') b2sums=('6fe0d3578b8f91ed9ed0ea12ce110afc6764b694c78c57935b835e4fb8e4c4c81e07f7a8b069583382e91ef760a07bdcf3f9aa51167add052ac1f3f8c0758155') @@ -35,7 +35,7 @@ build() { cd pylorcon2 # link against locally built lorcon instead of already installed version export LDFLAGS+=" -L../.libs" - python setup.py build + python -m build --wheel --no-isolation } package_lorcon() { @@ -49,7 +49,7 @@ package_python-pylorcon2() { depends=('glibc' 'python' 'lorcon') cd ${pkgbase}-${pkgver}/pylorcon2 - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl } # vim: ts=2 sw=2 et: View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lorcon/-/compare/44acbe19639c587a3db95483d01321a84edb6897...0d7cc201b9ba19e7e48360d56cd3834e27344fdb -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/lorcon/-/compare/44acbe19639c587a3db95483d01321a84edb6897...0d7cc201b9ba19e7e48360d56cd3834e27344fdb You're receiving this email because of your account on gitlab.archlinux.org.
