25 lines
673 B
Bash
25 lines
673 B
Bash
# Template file for 'python3-crcmod'
|
|
pkgname=python3-crcmod
|
|
version=1.7
|
|
revision=5
|
|
wrksrc="crcmod-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="crcmod"
|
|
hostmakedepends="python3-setuptools"
|
|
makedepends="python3-devel"
|
|
depends="python3"
|
|
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
|
|
}
|