2017-09-11 23:13:54 +02:00
|
|
|
# Created by: Yuri Victorovich
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pyaxo
|
2017-10-20 16:27:44 +02:00
|
|
|
PORTVERSION= 0.8.2
|
2017-09-11 23:13:54 +02:00
|
|
|
CATEGORIES= security net python
|
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2018-02-25 01:40:37 +01:00
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
2017-09-11 23:13:54 +02:00
|
|
|
COMMENT= Python implementation of the Axolotl ratchet protocol
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2017-11-30 16:50:30 +01:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.1:security/py-passlib@${FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl@${FLAVOR}
|
|
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${FLAVOR}
|
2017-09-11 23:13:54 +02:00
|
|
|
|
|
|
|
USES= python:2.7
|
|
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
NO_ARCH= yes
|
|
|
|
|
2017-10-20 16:27:44 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "/'pytest-runner',/d" ${WRKSRC}/setup.py
|
|
|
|
|
|
|
|
do-test:
|
|
|
|
@(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
|
|
|
|
|
2017-09-11 23:13:54 +02:00
|
|
|
.include <bsd.port.mk>
|