Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Mar 2020 00:14:40 +0000 (UTC)
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r527906 - head/devel/py-cle
Message-ID:  <202003070014.0270EeGp075746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: 0mp
Date: Sat Mar  7 00:14:39 2020
New Revision: 527906
URL: https://svnweb.freebsd.org/changeset/ports/527906

Log:
  Loosen version restrictions on runtime dependencies
  
  It turns out that it is not so practical to require a very specific version
  of a package using DISTVERSION because the dependency cannot be fulfilled
  when the dependency port gets it PORTREVISION bumped.
  
  While here, make it possible to run tests more than once in a row and set
  standard testing environment. Also, fix a typo in RUN_DEPENDS.

Modified:
  head/devel/py-cle/Makefile

Modified: head/devel/py-cle/Makefile
==============================================================================
--- head/devel/py-cle/Makefile	Sat Mar  7 00:00:17 2020	(r527905)
+++ head/devel/py-cle/Makefile	Sat Mar  7 00:14:39 2020	(r527906)
@@ -2,7 +2,7 @@
 
 PORTNAME=	cle
 DISTVERSION=	8.20.1.7
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +18,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cf
 		${PYTHON_PKGNAMEPREFIX}minidump>0:devel/py-minidump@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyelftools>0:devel/py-pyelftools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pyvex==${DISTVERSION}}:security/py-pyvex@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyvex==${DISTVERSION}:security/py-pyvex@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=2.0:devel/py-sortedcontainers@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
 
@@ -31,10 +31,10 @@ USE_PYTHON=	autoplist distutils
 NO_ARCH=	yes
 
 pre-test:
-	@${LN} -s ${WRKSRC_tests}/tests ${WRKSRC}/tests
-	@${LN} -s ${WRKSRC_binaries} ${WRKDIR}/binaries
+	@${LN} -Fs ${WRKSRC_tests}/tests ${WRKSRC}/tests
+	@${LN} -Fs ${WRKSRC_binaries} ${WRKDIR}/binaries
 
 do-test:
-	@(cd ${TEST_WRKSRC} && nosetests-${PYTHON_VER} tests/*)
+	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER} tests/*)
 
 .include <bsd.port.mk>



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