New package: python3-crcmod-1.7

This commit is contained in:
Aluísio Augusto Silva Gonçalves 2019-08-05 09:42:21 -03:00 committed by Helmut Pozimski
parent 0a30f9f8ad
commit 267160971a

View file

@ -0,0 +1,23 @@
# Template file for 'python3-crcmod'
pkgname=python3-crcmod
version=1.7
revision=1
wrksrc="crcmod-${version}"
build_style=python3-module
pycompile_module="crcmod"
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
short_desc="Python3 CRC generator"
maintainer="Aluísio Augusto Silva Gonçalves <aluisio@aasg.name>"
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
}