mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-05 20:32:58 +02:00
New package: python3-crcmod-1.7
This commit is contained in:
parent
0a30f9f8ad
commit
267160971a
1 changed files with 23 additions and 0 deletions
23
srcpkgs/python3-crcmod/template
Normal file
23
srcpkgs/python3-crcmod/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue