svn commit: r493688 - head/devel/py-molecule
Matthew Seaman
matthew at FreeBSD.org
Sat Feb 23 15:41:55 UTC 2019
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>
More information about the svn-ports-all
mailing list