a31a69692d
98 ports are affected. Approved by: tcberner (mentor, implicit)
30 lines
763 B
Makefile
30 lines
763 B
Makefile
# Created by: Yuri Victorovich
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyaxo
|
|
PORTVERSION= 0.8.2
|
|
CATEGORIES= security net python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python implementation of the Axolotl ratchet protocol
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
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}
|
|
|
|
USES= python:2.7
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "/'pytest-runner',/d" ${WRKSRC}/setup.py
|
|
|
|
do-test:
|
|
@(cd ${WRKSRC} && ${PYTHON_CMD} -m pytest)
|
|
|
|
.include <bsd.port.mk>
|