svn commit: r477153 - in head/devel: dispy pycos

Mikhail Teterin mi at FreeBSD.org
Tue Aug 14 14:02:06 UTC 2018


Author: mi
Date: Tue Aug 14 14:02:04 2018
New Revision: 477153
URL: https://svnweb.freebsd.org/changeset/ports/477153

Log:
  Collapse the MASTER_SITES/SUBDIR into one line and actually record
  the run-time dependency of dispy on pycos.
  
  Reported by:	mat
  
  Was going to put the Python's version into package-name's prefix
  as seems customary, to allow packages for different versions to be
  installed concurrently, but antoine beat me to it.

Modified:
  head/devel/dispy/Makefile
  head/devel/pycos/Makefile

Modified: head/devel/dispy/Makefile
==============================================================================
--- head/devel/dispy/Makefile	Tue Aug 14 13:37:34 2018	(r477152)
+++ head/devel/dispy/Makefile	Tue Aug 14 14:02:04 2018	(r477153)
@@ -4,8 +4,7 @@
 PORTNAME=	dispy
 PORTVERSION=	4.9.1
 CATEGORIES=	devel net
-MASTER_SITES=	SF
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES=	SF/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	mi at aldan.algebra.com
@@ -13,6 +12,8 @@ COMMENT=	Distributed and Parallel Computing with/for P
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycos>=4.7.7:devel/pycos@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils

Modified: head/devel/pycos/Makefile
==============================================================================
--- head/devel/pycos/Makefile	Tue Aug 14 13:37:34 2018	(r477152)
+++ head/devel/pycos/Makefile	Tue Aug 14 14:02:04 2018	(r477153)
@@ -4,8 +4,7 @@
 PORTNAME=	pycos
 PORTVERSION=	4.7.7
 CATEGORIES=	devel net
-MASTER_SITES=	SF
-MASTER_SITE_SUBDIR=${PORTNAME}
+MASTER_SITES=	SF/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	mi at aldan.algebra.com


More information about the svn-ports-head mailing list