28 lines
819 B
Bash
28 lines
819 B
Bash
# Template file for 'python-cryptography_vectors'
|
|
pkgname=python-cryptography_vectors
|
|
version=2.9
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="cryptography_vectors-${version}"
|
|
build_style=python-module
|
|
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=8c2ecdced5a296c6c26e24a1e8d869d83f0a21ddeb5935ff0a137799f963edc0
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vlicense LICENSE.BSD
|
|
}
|
|
|
|
python3-cryptography_vectors_package() {
|
|
short_desc="${short_desc/python/python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
vlicense LICENSE.BSD
|
|
}
|
|
}
|