void-packages/srcpkgs/python-keyutils/template

23 lines
721 B
Bash

# Template file for 'python-keyutils'
pkgname=python-keyutils
version=0.4
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"
distfiles="https://github.com/sassoftware/python-keyutils/archive/v$version.tar.gz"
checksum=c452b6f387443586d5737a5969d8fe044d443b98f1f1440a65610e9caf5bcd6a
python3-keyutils_package() {
pycompile_module="keyutils"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}