2021-06-20 11:56:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
PORTNAME= sequoia
|
2021-06-20 11:38:19 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2021-06-28 19:10:43 +00:00
|
|
|
DISTVERSION= 0.1.0
|
|
|
|
CATEGORIES= security python
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
MAINTAINER= phryk-ports@wzff.de
|
|
|
|
COMMENT= Python binding of sequoia (alpha)
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/../../../LICENSE.txt
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:46:50 +00:00
|
|
|
LIB_DEPENDS= libsequoia_ffi.so:security/sequoia
|
2021-06-28 19:10:43 +00:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1:devel/py-cffi@${PY_FLAVOR}
|
2021-07-03 13:38:14 +00:00
|
|
|
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pip>0:devel/py-pip@${PY_FLAVOR}
|
2021-07-03 13:54:38 +00:00
|
|
|
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
|
2021-06-28 19:10:43 +00:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1:devel/py-cffi@${PY_FLAVOR}
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
USES= python:3.4+
|
2021-07-03 13:17:04 +00:00
|
|
|
USE_PYTHON= distutils autoplist concurrent
|
2021-06-28 19:10:43 +00:00
|
|
|
USE_GITLAB= yes
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
WRKSRC_SUBDIR= ffi/lang/python
|
2021-06-20 11:38:19 +00:00
|
|
|
|
2021-06-28 19:10:43 +00:00
|
|
|
GL_ACCOUNT= sequoia-pgp
|
|
|
|
GL_PROJECT= sequoia
|
|
|
|
GL_COMMIT= f44d645fe665b031a1286e70075b69f92e5bb919
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
2021-06-20 11:56:55 +00:00
|
|
|
|
2021-07-03 14:02:37 +00:00
|
|
|
OPTIONS_DEFINE= TEST
|
2021-07-03 14:00:15 +00:00
|
|
|
post-build-TEST-on: test
|
|
|
|
|
2021-06-26 20:49:30 +00:00
|
|
|
do-test:
|
|
|
|
cd ${WRKSRC} && ${PYTHON_CMD} setup.py test
|
|
|
|
|
2021-06-20 11:38:19 +00:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_sequoia.abi3*.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|