Any missed ports, feel free to bump. Any ports that need setuptools at runtime can have the devel/py-setuptools manually added back to RUN_DEPENDS, but understand that this practice is deprecated; see CHANGES for details.
25 lines
589 B
Makefile
25 lines
589 B
Makefile
PORTNAME= olefile
|
|
PORTVERSION= 0.46
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= antoine@FreeBSD.org
|
|
COMMENT= Python module to read MS OLE2 files
|
|
WWW= https://www.decalage.info/en/olefile
|
|
|
|
LICENSE= BSD2CLAUSE MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
NO_ARCH= yes
|
|
USES= python 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>
|