python-cryptography_vectors: update to 3.3.2, split package

New package: python3-cryptography_vectors-3.4.4
This commit is contained in:
Andrew J. Hesford 2021-02-08 11:09:36 -05:00
parent 6baf048735
commit 64faf773cb
4 changed files with 24 additions and 14 deletions

View File

@ -1,27 +1,18 @@
# Template file for 'python-cryptography_vectors'
pkgname=python-cryptography_vectors
version=3.3.1
version=3.3.2
revision=1
wrksrc="cryptography_vectors-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
build_style=python2-module
hostmakedepends="python-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=03789c305dda8dccb4b8c9c019963a742469d88365abbc82e8e898ac478f5ca4
checksum=8c9d5afada647a6c937c6392c975f204b540c31f25fd4acd925ec0e180be0afa
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
}
}

View File

@ -0,0 +1,2 @@
# cryptography >= 3.4 does not support Python 2
pattern="cryptography_vectors-\K3\.3\.[0-9.]+(?=.tar.gz)"

View File

@ -1 +0,0 @@
python-cryptography_vectors

View File

@ -0,0 +1,18 @@
# Template file for 'python3-cryptography_vectors'
pkgname=python3-cryptography_vectors
version=3.4.4
revision=1
wrksrc="${pkgname#python3-}-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
short_desc="Test vectors for python3-cryptography"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
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=b0b53e3eaac12c8d8a0d373b35b43813406e884fcdac3c30f358c40e9f77093a
post_install() {
vlicense LICENSE
vlicense LICENSE.BSD
}