mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
b4cb334de7
The python restriction requires the '-' before the version, not after. Reported by: koobs@
27 lines
588 B
Makefile
27 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>
|