mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
26 lines
605 B
Makefile
26 lines
605 B
Makefile
# Created by: Antoine Brodin <antoine@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= olefile
|
|
PORTVERSION= 0.46
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Python module to read MS OLE2 files
|
|
|
|
LICENSE= BSD2CLAUSE MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
NO_ARCH= yes
|
|
USES= python:3.6+ zip
|
|
USE_PYTHON= distutils autoplist
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests/test_olefile.py)
|
|
|
|
.include <bsd.port.mk>
|