void-packages/srcpkgs/python-keyutils/template

23 lines
725 B
Bash

# Template file for 'python-keyutils'
pkgname=python-keyutils
version=0.5
revision=1
build_style=python-module
pycompile_module="keyutils"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="python-devel python3-devel keyutils-devel"
short_desc="Python2 bindings for keyutils"
maintainer="Matthias Fulz <mfulz@olznet.de>"
homepage="https://github.com/sassoftware/python-keyutils"
license="Apache-2.0"
distfiles="https://github.com/sassoftware/python-keyutils/archive/v$version.tar.gz"
checksum=a1a12891e618f1568d9a873c0990e17ff39abf11ba81b65e5dae3cd7ced63441
python3-keyutils_package() {
pycompile_module="keyutils"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}