aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-pyliblzma/Makefile
blob: d4102e20279bd644fa07b27f82e6f078fa5fbc09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# 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>