Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2018 03:25:31 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472592 - head/www/py-httmock
Message-ID:  <201806170325.w5H3PVTq095385@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806170325.w5H3PVTq095385>