- spike-proxy fails to run with python3

- py-openssl is a runtime dependency, not build time
- add explicit FLAVOR to dependency (useful when using
  DEFAULT_VERSIONS=python=3.x)
This commit is contained in:
Antoine Brodin
2017-12-04 20:40:17 +00:00
parent a0b9e3046f
commit fc98586f1d

View File

@@ -3,6 +3,7 @@
PORTNAME= spike-proxy
PORTVERSION= 1.4.8
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.immunitysec.com/downloads/
DISTNAME= SP${PORTVERSION:tl:C/\.//g}
@@ -13,9 +14,9 @@ COMMENT= Tool looking for vulnerabilities in web applications
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0:security/py-openssl@${PY_FLAVOR}
USES= python shebangfix tar:tgz
USES= python:2.7 shebangfix tar:tgz
SHEBANG_FILES= *.py
NO_BUILD= yes
NO_ARCH= yes