diff --git a/srcpkgs/python-cryptography_vectors/template b/srcpkgs/python-cryptography_vectors/template new file mode 100644 index 00000000000..d52e5f5e47c --- /dev/null +++ b/srcpkgs/python-cryptography_vectors/template @@ -0,0 +1,30 @@ +# Template file for 'python-cryptography_vectors' +pkgname=python-cryptography_vectors +version=2.7 +revision=1 +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 " +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=f12dfb9bd669a68004074cb5b26df6e93ed1a95ebd1a999dff0a840212ff68bc + +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 + } +} diff --git a/srcpkgs/python3-cryptography_vectors b/srcpkgs/python3-cryptography_vectors new file mode 120000 index 00000000000..321bb702bd9 --- /dev/null +++ b/srcpkgs/python3-cryptography_vectors @@ -0,0 +1 @@ +python-cryptography_vectors \ No newline at end of file