void-packages/srcpkgs/python3-keyutils/template
2022-01-05 22:02:14 +01:00

20 lines
733 B
Bash

# Template file for 'python3-keyutils'
pkgname=python3-keyutils
version=0.6
revision=7
wrksrc=python-keyutils-$version
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel keyutils-devel"
depends="python3"
short_desc="Python3 bindings for keyutils"
maintainer="Matthias Fulz <mfulz@olznet.de>"
license="Apache-2.0"
homepage="https://github.com/sassoftware/python-keyutils"
distfiles="https://github.com/sassoftware/python-keyutils/archive/${version}.tar.gz"
checksum=f69e6cadc50525dcb117714e440ee6579b0e5b7f12910b2bb2e910b236a2b18b
post_patch() {
# Package does not *need* pytest-runner to build, and Void doesn't have it
vsed -e "/setup_requires/s/['\"]pytest-runner['\"],*//" -i setup.py
}