1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/ssh-audit/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

31 lines
845 B
Text

# Contributor: Michał Polański <michal@polanski.me>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=ssh-audit
pkgver=2.5.0
pkgrel=2
pkgdesc="SSH server and client configuration auditing"
url="https://github.com/jtesta/ssh-audit"
license="MIT"
arch="noarch"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
subpackages="$pkgname-doc"
source="https://github.com/jtesta/ssh-audit/archive/v$pkgver/ssh-audit-$pkgver.tar.gz"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD"/build/lib pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
install -Dm644 -t "$pkgdir"/usr/share/man/man1 ssh-audit.1
}
sha512sums="
252d29cb95dc5b0c40d2c47f2f884417a924fe08668db49d6284a931806730729569b9e3049157b0cee00515fbb04d99a98c3933ebcfd8ad847ab343d13e234e ssh-audit-2.5.0.tar.gz
"