diff options
Diffstat (limited to 'community/flawfinder/APKBUILD')
-rw-r--r-- | community/flawfinder/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/community/flawfinder/APKBUILD b/community/flawfinder/APKBUILD index 777f6e5808e..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.15 -pkgrel=0 +pkgver=2.0.19 +pkgrel=4 pkgdesc="Examines C/C++ source code for security flaws" url="https://dwheeler.com/flawfinder/" arch="noarch" license="GPL-2.0" depends="python3" -makedepends="py3-setuptools" -subpackages="$pkgname-doc" +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="12b637bae789ee86710c7d6ee203b811e78414ad5d173730bfffe3ea783a76ce999878c57ddaa8019744cac6bf94967663fd9fd80769d7a24b0a79d23c0b0d9d flawfinder-2.0.15.tar.gz" +sha512sums=" +7ac8684f157f30cb7cc0e2d9c270f92bb26e9207d9879530c499cc93af10070c2558f3794cc8b1a0a51b52ae771a4aa47157b467d0e6578cab96360cb0c6d90b flawfinder-2.0.19.tar.gz +" |