diff options
author | Mark Wagie | 2022-04-15 09:10:34 -0600 |
---|---|---|
committer | Mark Wagie | 2022-04-15 09:10:34 -0600 |
commit | abc18da4b20e802001d5887b8cd19ae84cff4309 (patch) | |
tree | 8a9da08c6eaf4f4d4796da6c427b89a170a8c6b7 | |
parent | bd5bd1803bce41258ebcd2e56a3cb33da6012aec (diff) | |
download | aur-abc18da4b20e802001d5887b8cd19ae84cff4309.tar.gz |
standards based build
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 5 deletions
@@ -1,11 +1,14 @@ pkgbase = evillimiter pkgdesc = Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access. pkgver = 1.5.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/bitbrute/evillimiter arch = any license = MIT + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools + makedepends = python-wheel depends = python-colorama depends = python-netaddr depends = python-netifaces @@ -2,25 +2,25 @@ # Contributor: YaYPIXXO <viggo@lekdorf.com> pkgname=evillimiter pkgver=1.5.0 -pkgrel=1 +pkgrel=2 pkgdesc="Tool that monitors, analyzes and limits the bandwidth of devices on the local network without administrative access." arch=('any') url="https://github.com/bitbrute/evillimiter" license=('MIT') depends=('python-colorama' 'python-netaddr' 'python-netifaces' 'python-tqdm' 'python-scapy' 'python-terminaltables') -makedepends=('python-setuptools') +makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel') source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('e8894b7e0c6df3144abc07babf08d5ba4321895c8f85a52932aaf8adc06c9829') build() { cd "$pkgname-$pkgver" - python setup.py build + python -m build --wheel --no-isolation } package() { cd "$pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" |