[arch-commits] Commit in kconfig-hardened-check/trunk (PKGBUILD)

Levente Polyak anthraxx at gemini.archlinux.org
Sat Apr 30 12:59:58 UTC 2022


    Date: Saturday, April 30, 2022 @ 12:59:58
  Author: anthraxx
Revision: 1191939

upgpkg: kconfig-hardened-check 0.5.17-1: version bump and PEP 517 packaging

Modified:
  kconfig-hardened-check/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-30 12:59:33 UTC (rev 1191938)
+++ PKGBUILD	2022-04-30 12:59:58 UTC (rev 1191939)
@@ -1,22 +1,26 @@
 # Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
 
 pkgname=kconfig-hardened-check
-pkgver=0.5.10
-pkgrel=2
-pkgdesc='a script for checking the hardening options in the Linux kernel config'
+pkgver=0.5.17
+pkgrel=1
+pkgdesc='Tool for checking the security hardening options of the Linux kernel'
 url="https://github.com/a13xp0p0v/kconfig-hardened-check"
 arch=(any)
 license=(GPL3)
-depends=(python python-setuptools)
-source=($pkgname-$pkgver::https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver.tar.gz)
-sha256sums=('f2f0b4399d6d99c091d2351f63d2a576d4211e52c81a7c0d04bb1dd3e16c5bf6')
+depends=(python)
+makedepends=(python-setuptools python-build python-installer python-wheel)
+source=(https://github.com/a13xp0p0v/kconfig-hardened-check/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('1bd47dc7a3ab38ac87496d7af31d7cbd301b44e455c3c55df1333e4c3e2e2abd')
+b2sums=('4cc1212fa98742cd195e6ea2e0d1804f7b5ac98357723db88956d9c48813e2c2c3a8215c284e9a9cd5a44f6555f68532d06f047345f106ab0f99e7cd7109d770')
 
 build() {
   cd "$pkgname-$pkgver"
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  python setup.py install -O1 --root="${pkgdir}" --skip-build
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm 644 README.md -t "$pkgdir/usr/share/docs/$pkgname"
 }



More information about the arch-commits mailing list