diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2018-02-11 17:02:51 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2018-02-11 17:02:51 +0800 |
commit | 184ec75c0d99bd5ca0f106cd882e8cd0a005c187 (patch) | |
tree | dfbe78ab4e730bf9674cda89800a4664106817b0 /archivers | |
parent | 16ab8d01c0a4f6fdc17ed7c6887cfdd8e2eed7c1 (diff) | |
download | freebsd-ports-graphics-184ec75c0d99bd5ca0f106cd882e8cd0a005c187.tar.gz freebsd-ports-graphics-184ec75c0d99bd5ca0f106cd882e8cd0a005c187.tar.zst freebsd-ports-graphics-184ec75c0d99bd5ca0f106cd882e8cd0a005c187.zip |
- Switch to new test framework
- Simplify stripping
Approved by: portmgr blanket
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/py-attic/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/archivers/py-attic/Makefile b/archivers/py-attic/Makefile index 8409d809c14..3e52e8ae387 100644 --- a/archivers/py-attic/Makefile +++ b/archivers/py-attic/Makefile @@ -20,14 +20,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msgpack-python>=0.1.10:devel/py-msgpack-pyth USES= python:3.3+ ssl USE_PYTHON= autoplist distutils -STRIP_FILES= hashindex.so platform_freebsd.so chunker.so crypto.so PYDISTUTILS_BUILDPATH=${BUILD_WRKSRC}/build/lib.${OPSYS:tl}-${UNAMER}-${ARCH}-${PYTHON_VER} -regression-test: build - ${SETENV} PYTHONPATH="${PYDISTUTILS_BUILDPATH}:${PYTHONPATH}" \ - ${PYTHON_CMD} -m attic.testsuite.run - post-install: - ${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/,} + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/attic/*.so + +do-test: + cd ${WRKDIR} && ${SETENV} PYTHONPATH="${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}:${PYTHONPATH}" \ + ${PYTHON_CMD} -m attic.testsuite.run .include <bsd.port.mk> |