freebsd-ports/archivers/py-pyliblzma/Makefile
David Naylor b4cb334de7 archivers/py-pyliblzma: fix python version restriction
The python restriction requires the '-' before the version, not after.

Reported by:	koobs@
2017-04-17 18:42:12 +00:00

26 lines
588 B
Makefile

# Created by: David Naylor <naylor.b.david@gmail.com>
# $FreeBSD$
PORTNAME= pyliblzma
PORTVERSION= 0.5.3
PORTREVISION= 6
CATEGORIES= archivers python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dbn@FreeBSD.org
COMMENT= Python binding for the LZMA compression library
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig python:-2.7 tar:bzip2
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lzma.so
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>