diff options
Diffstat (limited to 'community/flawfinder/APKBUILD')
-rw-r--r-- | community/flawfinder/APKBUILD | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/community/flawfinder/APKBUILD b/community/flawfinder/APKBUILD index 3b9a77166e2..59b68893fd2 100644 --- a/community/flawfinder/APKBUILD +++ b/community/flawfinder/APKBUILD @@ -1,27 +1,29 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> pkgname=flawfinder -pkgver=2.0.11 -pkgrel=0 +pkgver=2.0.19 +pkgrel=4 pkgdesc="Examines C/C++ source code for security flaws" -url="http://www.dwheeler.com/flawfinder/" +url="https://dwheeler.com/flawfinder/" arch="noarch" license="GPL-2.0" depends="python3" -makedepends="py3-setuptools" -subpackages="$pkgname-doc" -source="http://www.dwheeler.com/flawfinder/flawfinder-$pkgver.tar.gz" +makedepends="py3-gpep517 py3-setuptools py3-wheel" +subpackages="$pkgname-doc $pkgname-pyc" +source="https://dwheeler.com/flawfinder/flawfinder-$pkgver.tar.gz" -check() { - make check PYTHON=python3 PYTHON3=python3 +build() { + gpep517 build-wheel --wheel-dir .dist --output-fd 3 3>&1 >&2 } -build() { - python3 setup.py build +check() { + make check PYTHON=python3 PYTHON3=python3 } package() { - python3 setup.py install --prefix=/usr --root="$pkgdir" + python3 -m installer -d "$pkgdir" .dist/*.whl } -sha512sums="4236da49914fa6317eb2fae1b3fd7ba08aa96a34bc5245bfd15b6532049193cbd0367bb3620e32252ce71cdd1128bec4b20c0e88b02c55d0ede1bb5bb091ddeb flawfinder-2.0.11.tar.gz" +sha512sums=" +7ac8684f157f30cb7cc0e2d9c270f92bb26e9207d9879530c499cc93af10070c2558f3794cc8b1a0a51b52ae771a4aa47157b467d0e6578cab96360cb0c6d90b flawfinder-2.0.19.tar.gz +" |