void-packages/srcpkgs/python3-crcmod/template

24 lines
624 B
Bash

# Template file for 'python3-crcmod'
pkgname=python3-crcmod
version=1.7
revision=6
build_style=python3-module
pycompile_module="crcmod"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
depends="python3"
short_desc="Python3 CRC generator"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://sourceforge.net/projects/crcmod/"
distfiles="${PYPI_SITE}/c/crcmod/crcmod-${version}.tar.gz"
checksum=dc7051a0db5f2bd48665a990d3ec1cc305a466a77358ca4492826f41f283601e
do_check() {
PYTHONPATH="$(echo "${PWD}/build/lib.linux-"*)" python3 -m crcmod.test
}
post_install() {
vlicense LICENSE
}