Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jul 2018 06:55:33 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474555 - in head: devel/msbuild devel/py-tox graphics/natron mail/mailutils net/google-cloud-sdk
Message-ID:  <201807130655.w6D6tXBV085685@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Jul 13 06:55:32 2018
New Revision: 474555
URL: https://svnweb.freebsd.org/changeset/ports/474555

Log:
  Remove dependencies on lang/python.
  
  Fix where appropriate.
  
  Sponsored by:	Absolight

Modified:
  head/devel/msbuild/Makefile   (contents, props changed)
  head/devel/py-tox/Makefile   (contents, props changed)
  head/graphics/natron/Makefile   (contents, props changed)
  head/mail/mailutils/Makefile   (contents, props changed)
  head/net/google-cloud-sdk/Makefile   (contents, props changed)

Modified: head/devel/msbuild/Makefile
==============================================================================
--- head/devel/msbuild/Makefile	Fri Jul 13 06:55:26 2018	(r474554)
+++ head/devel/msbuild/Makefile	Fri Jul 13 06:55:32 2018	(r474555)
@@ -14,8 +14,7 @@ COMMENT=	Build platform for .NET and Visual Studio
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	bash:shells/bash \
-		python:lang/python
+BUILD_DEPENDS=	bash:shells/bash
 
 NUGET_FEEDS=	DOTNET_CORE NUGET ROSLYN ROSLYN_TOOLS SYMREADER_CONVERTER
 NUGET_LAYOUT=	dotnet

Modified: head/devel/py-tox/Makefile
==============================================================================
--- head/devel/py-tox/Makefile	Fri Jul 13 06:55:26 2018	(r474554)
+++ head/devel/py-tox/Makefile	Fri Jul 13 06:55:32 2018	(r474555)
@@ -21,8 +21,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}py>=1.4.17:devel/p
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=3.0.0:devel/py-pytest@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR} \
-		python:lang/python
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent distutils

Modified: head/graphics/natron/Makefile
==============================================================================
--- head/graphics/natron/Makefile	Fri Jul 13 06:55:26 2018	(r474554)
+++ head/graphics/natron/Makefile	Fri Jul 13 06:55:32 2018	(r474555)
@@ -10,8 +10,7 @@ COMMENT=	Video compositing software
 LICENSE=	GPLv2
 
 ONLY_FOR_ARCHS=	amd64
-BUILD_DEPENDS=	python-config:lang/python \
-				pyside${PYTHON_PKGNAMESUFFIX}>0:devel/pyside
+BUILD_DEPENDS=	pyside${PYTHON_PKGNAMESUFFIX}>0:devel/pyside
 RUN_DEPENDS=	${LOCALBASE}/OFX/Plugins/IO.ofx.bundle/Contents/Info.plist:graphics/openfx-io \
 				${LOCALBASE}/OFX/Plugins/Shadertoy.ofx.bundle/Contents/Info.plist:graphics/openfx-misc \
 				${LOCALBASE}/OFX/Plugins/Arena.ofx.bundle/Contents/Info.plist:graphics/openfx-arena
@@ -24,7 +23,7 @@ LIB_DEPENDS=	libcairo.so:graphics/cairo \
 				libpyside-${PYTHON_VERSION}.so:devel/pyside \
 				libfreetype.so:print/freetype2
 
-USES=	pkgconfig python qmake qt:4 shebangfix desktop-file-utils shared-mime-info \
+USES=	pkgconfig python:2.7 qmake qt:4 shebangfix desktop-file-utils shared-mime-info \
 		gettext-runtime desktop-file-utils
 USE_GITHUB=	yes
 GH_ACCOUNT=	NatronGitHub
@@ -42,6 +41,8 @@ USE_XORG=	x11 pixman
 USE_GL=		gl
 
 SHEBANG_FILES=	OpenColorIO-Configs/nuke-default/make.py
+
+BINARY_ALIAS=	python2-config=python${PYTHON_VER}-config
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/OFX/Plugins|${PREFIX}/OFX/Plugins|g' \

Modified: head/mail/mailutils/Makefile
==============================================================================
--- head/mail/mailutils/Makefile	Fri Jul 13 06:55:26 2018	(r474554)
+++ head/mail/mailutils/Makefile	Fri Jul 13 06:55:32 2018	(r474555)
@@ -62,7 +62,7 @@ NLS_CONFIGURE_ENABLE=	nls
 
 PAM_CONFIGURE_ENABLE=	pam
 
-PYTHON_BUILD_DEPENDS=	python-config:lang/python
+PYTHON_BINARY_ALIAS=	python-config=python${PYTHON_VER}-config
 PYTHON_USES=		python:2.7
 PYTHON_CONFIGURE_ENABLE=python
 

Modified: head/net/google-cloud-sdk/Makefile
==============================================================================
--- head/net/google-cloud-sdk/Makefile	Fri Jul 13 06:55:26 2018	(r474554)
+++ head/net/google-cloud-sdk/Makefile	Fri Jul 13 06:55:32 2018	(r474555)
@@ -3,6 +3,7 @@
 
 PORTNAME=	google-cloud-sdk
 PORTVERSION=	208.0.1
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/
 DISTNAME=	google-cloud-sdk-${PORTVERSION}-linux-x86_64
@@ -15,8 +16,7 @@ WRKSRC=		${WRKDIR}/google-cloud-sdk
 
 PLIST_FILES=	bin/bq bin/gcloud bin/git-credential-gcloud.sh bin/gsutil
 
-RUN_DEPENDS=	python:lang/python \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 
 post-extract:
 	@${RM} -r \



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