python3-openssl: update to 22.0.0.
Split python3-openssl into own package since versions >21.0.0 don't support python2 anymore.
This commit is contained in:
parent
c02f8de603
commit
6754031439
|
@ -3,27 +3,13 @@ pkgname=python-openssl
|
||||||
version=20.0.1
|
version=20.0.1
|
||||||
revision=2
|
revision=2
|
||||||
wrksrc="pyOpenSSL-${version}"
|
wrksrc="pyOpenSSL-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools"
|
||||||
depends="python-cryptography python-six"
|
depends="python-cryptography python-six"
|
||||||
checkdepends="python3-cryptography python3-six
|
|
||||||
python3-pytest python3-flaky python3-pretend"
|
|
||||||
short_desc="Python2 interface to the OpenSSL library"
|
short_desc="Python2 interface to the OpenSSL library"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="Apache-2.0"
|
license="Apache-2.0"
|
||||||
homepage="https://pyopenssl.org/"
|
homepage="https://pyopenssl.org/"
|
||||||
changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst"
|
changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst"
|
||||||
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
||||||
checksum=4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
|
checksum=4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
|
||||||
|
|
||||||
do_check() {
|
|
||||||
PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-openssl_package() {
|
|
||||||
depends="python3-cryptography python3-six"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-openssl
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
# Template file for 'python3-openssl'
|
||||||
|
pkgname=python3-openssl
|
||||||
|
version=22.0.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="pyOpenSSL-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-cryptography"
|
||||||
|
checkdepends="python3-pytest $depends python3-flaky python3-pretend"
|
||||||
|
short_desc="Python3 interface to the OpenSSL library"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="https://pyopenssl.org/"
|
||||||
|
changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst"
|
||||||
|
distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
|
||||||
|
checksum=660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf
|
||||||
|
|
||||||
|
if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then
|
||||||
|
# https://github.com/pyca/pyopenssl/issues/974
|
||||||
|
make_check_args="-k not(test_verify_with_time)"
|
||||||
|
fi
|
|
@ -0,0 +1 @@
|
||||||
|
pkgname=pyOpenSSL
|
Loading…
Reference in New Issue