svn commit: r495577 - in head: games/ski net-mgmt/librenms-agent sysutils/py-python-consul sysutils/xen-guest-tools

Mathieu Arnold mat at FreeBSD.org
Wed Mar 13 14:40:50 UTC 2019


Author: mat
Date: Wed Mar 13 14:40:48 2019
New Revision: 495577
URL: https://svnweb.freebsd.org/changeset/ports/495577

Log:
  Fixup invalid USES=python arguments.
  
  Reported by:	tobik (in D19569)

Modified:
  head/games/ski/Makefile   (contents, props changed)
  head/net-mgmt/librenms-agent/Makefile   (contents, props changed)
  head/sysutils/py-python-consul/Makefile   (contents, props changed)
  head/sysutils/xen-guest-tools/Makefile   (contents, props changed)

Modified: head/games/ski/Makefile
==============================================================================
--- head/games/ski/Makefile	Wed Mar 13 14:21:26 2019	(r495576)
+++ head/games/ski/Makefile	Wed Mar 13 14:40:48 2019	(r495577)
@@ -11,7 +11,7 @@ COMMENT=	Skiing simulation with curses interface in py
 
 LICENSE=	BSD3CLAUSE
 
-USES=		python:3.2+:run
+USES=		python:3.2+,run
 NO_BUILD=	yes
 
 PLIST_FILES=	bin/${PORTNAME} \

Modified: head/net-mgmt/librenms-agent/Makefile
==============================================================================
--- head/net-mgmt/librenms-agent/Makefile	Wed Mar 13 14:21:26 2019	(r495576)
+++ head/net-mgmt/librenms-agent/Makefile	Wed Mar 13 14:40:48 2019	(r495577)
@@ -11,7 +11,7 @@ COMMENT=	Agents and plugins for librenms
 
 LICENSE=	GPLv2
 
-USES=		shebangfix python:2.7:run php:cli
+USES=		shebangfix python:2.7,run php:cli
 NO_ARCH=	yes
 
 USE_GITHUB=	yes

Modified: head/sysutils/py-python-consul/Makefile
==============================================================================
--- head/sysutils/py-python-consul/Makefile	Wed Mar 13 14:21:26 2019	(r495576)
+++ head/sysutils/py-python-consul/Makefile	Wed Mar 13 14:40:48 2019	(r495577)
@@ -20,7 +20,11 @@ RUN_DEPENDS=	${LOCALBASE}/bin/consul:sysutils/consul \
 				${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \
 				${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR}
 
-USES=	python:2.7-3.6+
+IGNORE=	${IGNORE_${FLAVOR}}
+IGNORE_py35=	Does not work with Python 3.5
+
+# 2.7 or 3.6+, but it cannot be expressed right now.
+USES=	python
 
 USE_PYTHON=	distutils autoplist
 

Modified: head/sysutils/xen-guest-tools/Makefile
==============================================================================
--- head/sysutils/xen-guest-tools/Makefile	Wed Mar 13 14:21:26 2019	(r495576)
+++ head/sysutils/xen-guest-tools/Makefile	Wed Mar 13 14:40:48 2019	(r495577)
@@ -19,7 +19,7 @@ ONLY_FOR_ARCHS=		amd64 i386
 ONLY_FOR_ARCHS_REASON=	not yet ported to anything other than amd64 or i386
 CONFLICTS=	xen-tools-[0-9]*
 
-USES=		gmake python:2.7,configure perl5 gettext-runtime:build gettext-tools:build pkgconfig
+USES=		gmake python:2.7 perl5 gettext-runtime:build gettext-tools:build pkgconfig
 USE_PERL5=	build
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV+=	PYTHON=${PYTHON_CMD} PYTHON_PATH=${PYTHON_CMD}


More information about the svn-ports-all mailing list