void-packages/srcpkgs/python-cryptography_vectors/template
2019-12-23 18:04:54 +01:00

30 lines
900 B
Bash

# Template file for 'python-cryptography_vectors'
pkgname=python-cryptography_vectors
version=2.8
revision=2
archs=noarch
wrksrc="cryptography_vectors-${version}"
build_style=python-module
pycompile_module="cryptography_vectors"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Test vectors for python-cryptography"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="BSD-3-Clause, Apache-2.0"
homepage="https://github.com/pyca/cryptography"
distfiles="${PYPI_SITE}/c/cryptography_vectors/cryptography_vectors-${version}.tar.gz"
checksum=6cd32174c56a3eca72f64af43c1daacaae758cfa5ff9d280dfcf818fa11ef116
post_install() {
vlicense LICENSE
vlicense LICENSE.BSD
}
python3-cryptography_vectors_package() {
pycompile_module="cryptography_vectors"
short_desc="${short_desc/python/python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
vlicense LICENSE.BSD
}
}