freebsd-ports/security/py-pyptlib/Makefile
Fukang Chen ea0a8a81eb security/py-pyptlib: Limit Python version to 2.7
This port is not Python 3 compatible, failing with:

  File "/usr/local/lib/python3.6/site-packages/pyptlib/util/__init__.py", line 56
    m = re.match(ur'^\[(.+)\]:(\d*)$', spec)
                                    ^
SyntaxError: invalid syntax

Reviewed by: koobs, cs
Approved by: cs (maintainer), koobs (ports)
Differential Revision: https://reviews.freebsd.org/D13464
2018-04-24 06:15:57 +00:00

24 lines
447 B
Makefile

# Created by: Carlo Strub
# $FreeBSD$
PORTNAME= pyptlib
PORTVERSION= 0.0.6
CATEGORIES= security net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= cs@FreeBSD.org
COMMENT= Pluggable transport library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
NO_ARCH= yes
USES= python:2.7
USE_PYTHON= autoplist distutils
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>