diff --git a/srcpkgs/python3-crcmod/template b/srcpkgs/python3-crcmod/template new file mode 100644 index 00000000000..4cd433d2420 --- /dev/null +++ b/srcpkgs/python3-crcmod/template @@ -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 " +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 +}