Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2019 15:41:55 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493688 - head/devel/py-molecule
Message-ID:  <201902231541.x1NFftge006509@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: matthew
Date: Sat Feb 23 15:41:54 2019
New Revision: 493688
URL: https://svnweb.freebsd.org/changeset/ports/493688

Log:
  Somewhere in the dependency tree of py-molecule, some package or
  packages have stopped depending on two backports of standard modules
  from python-3.x which py-molecule needs.  Therefore to re-enable
  support for python-2.7, explicitly add those packages to RUN_DEPENDS
  conditional on PYTHON_REL.
  
  Reported by:	pkg-fallout

Modified:
  head/devel/py-molecule/Makefile

Modified: head/devel/py-molecule/Makefile
==============================================================================
--- head/devel/py-molecule/Makefile	Sat Feb 23 15:41:01 2019	(r493687)
+++ head/devel/py-molecule/Makefile	Sat Feb 23 15:41:54 2019	(r493688)
@@ -2,6 +2,7 @@
 
 PORTNAME=	molecule
 PORTVERSION=	2.19.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -50,7 +51,14 @@ NO_ARCH=	yes
 # The click module demands a UTF-8 locale when used with python-3.x
 TEST_ENV=	LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
 
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3500
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing>=0:devel/py-typing@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}functools32>=0:devel/py-functools32@${PY_FLAVOR}
+.endif
+
 do-test:
 	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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