python-Twisted: depend on pyOpenSSL explicitly

As of service_identity 18.1.0, pyOpenSSL is an optional dependency.

Fixes .
Closes .
This commit is contained in:
Alessio Sergi 2018-12-30 15:15:50 +01:00
parent e869733cd0
commit 0da5219f99

View file

@ -1,16 +1,16 @@
# Template file for 'python-Twisted'
pkgname=python-Twisted
version=18.9.0
revision=1
revision=2
wrksrc="Twisted-${version}"
build_style=python-module
pycompile_module="twisted"
hostmakedepends="python-setuptools python3-setuptools
python-incremental python3-incremental"
makedepends="python-devel python3-devel"
depends="python-setuptools python-zope.interface python-service_identity
python-constantly python-incremental python-automat python-hyperlink
python-PyHamcrest"
depends="python-setuptools python-zope.interface python-openssl
python-service_identity python-constantly python-incremental python-automat
python-hyperlink python-PyHamcrest"
short_desc="Asynchronous networking framework written in Python (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://twistedmatrix.com/"
@ -45,9 +45,9 @@ python3-Twisted_package() {
twisted:twist:/usr/bin/twist3
twisted:twistd:/usr/bin/twistd3"
pycompile_module="twisted"
depends="python3-setuptools python3-zope.interface python3-service_identity
python3-constantly python3-incremental python3-automat python3-hyperlink
python3-PyHamcrest"
depends="python3-setuptools python3-zope.interface python3-openssl
python3-service_identity python3-constantly python3-incremental
python3-automat python3-hyperlink python3-PyHamcrest"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/bin/*3