void-packages/srcpkgs/python3-keyutils/template

21 lines
744 B
Bash

# Template file for 'python3-keyutils'
pkgname=python3-keyutils
version=0.6
revision=8
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
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
rm -f keyutils/_keyutils.c
}