svn commit: r472592 - head/www/py-httmock
Tobias Kortkamp
tobik at FreeBSD.org
Sun Jun 17 03:25:32 UTC 2018
Author: tobik
Date: Sun Jun 17 03:25:31 2018
New Revision: 472592
URL: https://svnweb.freebsd.org/changeset/ports/472592
Log:
www/py-httmock: Fix build as user
mv: rename /portdistfiles/py-httmock/tests.py to /wrkdirs/usr/ports/www/py-httmock/work-py27/httmock-1.2.6/tests.py: Permission denied
- While here add NO_ARCH
PR: 227624
Submitted by: maintainer
Modified:
head/www/py-httmock/Makefile
Modified: head/www/py-httmock/Makefile
==============================================================================
--- head/www/py-httmock/Makefile Sun Jun 17 02:42:52 2018 (r472591)
+++ head/www/py-httmock/Makefile Sun Jun 17 03:25:31 2018 (r472592)
@@ -22,11 +22,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:ww
USES= python
USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
# Description: tests.py is missing from the pypi package
# Issue ID: https://github.com/patrys/httmock/issues/55
# TODO: Remove extra MASTER_SITES, DISTFILES/SUBDIR, EXTRACT_ONLY, post-extract
post-extract:
- @${MV} ${DISTDIR}/${DIST_SUBDIR}/tests.py ${WRKSRC}
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/tests.py ${WRKSRC}
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
More information about the svn-ports-all
mailing list