From 64faf773cbcf49fefcca01b129cc34aed15dceed Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 8 Feb 2021 11:09:36 -0500 Subject: [PATCH] python-cryptography_vectors: update to 3.3.2, split package New package: python3-cryptography_vectors-3.4.4 --- srcpkgs/python-cryptography_vectors/template | 17 ++++------------- srcpkgs/python-cryptography_vectors/update | 2 ++ srcpkgs/python3-cryptography_vectors | 1 - srcpkgs/python3-cryptography_vectors/template | 18 ++++++++++++++++++ 4 files changed, 24 insertions(+), 14 deletions(-) create mode 100644 srcpkgs/python-cryptography_vectors/update delete mode 120000 srcpkgs/python3-cryptography_vectors create mode 100644 srcpkgs/python3-cryptography_vectors/template diff --git a/srcpkgs/python-cryptography_vectors/template b/srcpkgs/python-cryptography_vectors/template index 8d705f4c322..41152144236 100644 --- a/srcpkgs/python-cryptography_vectors/template +++ b/srcpkgs/python-cryptography_vectors/template @@ -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 " 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 - } -} diff --git a/srcpkgs/python-cryptography_vectors/update b/srcpkgs/python-cryptography_vectors/update new file mode 100644 index 00000000000..051a14b7a81 --- /dev/null +++ b/srcpkgs/python-cryptography_vectors/update @@ -0,0 +1,2 @@ +# cryptography >= 3.4 does not support Python 2 +pattern="cryptography_vectors-\K3\.3\.[0-9.]+(?=.tar.gz)" diff --git a/srcpkgs/python3-cryptography_vectors b/srcpkgs/python3-cryptography_vectors deleted file mode 120000 index 321bb702bd9..00000000000 --- a/srcpkgs/python3-cryptography_vectors +++ /dev/null @@ -1 +0,0 @@ -python-cryptography_vectors \ No newline at end of file diff --git a/srcpkgs/python3-cryptography_vectors/template b/srcpkgs/python3-cryptography_vectors/template new file mode 100644 index 00000000000..362d89acdf8 --- /dev/null +++ b/srcpkgs/python3-cryptography_vectors/template @@ -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 " +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 +}