Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2017 16:05:48 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r456217 - in head: deskutils/gnome-documents deskutils/spice-gtk multimedia/totem net/cjdns print/system-config-printer
Message-ID:  <201712131605.vBDG5mds043979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Dec 13 16:05:48 2017
New Revision: 456217
URL: https://svnweb.freebsd.org/changeset/ports/456217

Log:
  - Those ports fail to build with python3
  - Add some explicit FLAVOR to dependencies where needed
  - For totem, the pylint command is needed,  not the pylint module

Modified:
  head/deskutils/gnome-documents/Makefile
  head/deskutils/spice-gtk/Makefile
  head/multimedia/totem/Makefile
  head/net/cjdns/Makefile
  head/print/system-config-printer/Makefile

Modified: head/deskutils/gnome-documents/Makefile
==============================================================================
--- head/deskutils/gnome-documents/Makefile	Wed Dec 13 16:01:51 2017	(r456216)
+++ head/deskutils/gnome-documents/Makefile	Wed Dec 13 16:05:48 2017	(r456217)
@@ -25,14 +25,14 @@ LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
 		libgjs.so:lang/gjs \
 		libtracker-sparql-1.0.so:sysutils/tracker \
 		libzapojit-0.0.so:net/libzapojit
-RUN_DEPENDS=	py2?-dbus>0:devel/py-dbus \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
 		${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss \
 		unoconv:textproc/unoconv
 
 PORTSCOUT=	limitw:1,even
 
 USES=		compiler:c++11-lib gettext gmake gnome libtool pathfix \
-		pkgconfig tar:xz
+		pkgconfig python:2.7 tar:xz
 USE_GNOME=	gnomedesktop3 gtk30 intlhack \
 		introspection:build librsvg2 libxml2
 GNU_CONFIGURE=	yes

Modified: head/deskutils/spice-gtk/Makefile
==============================================================================
--- head/deskutils/spice-gtk/Makefile	Wed Dec 13 16:01:51 2017	(r456216)
+++ head/deskutils/spice-gtk/Makefile	Wed Dec 13 16:05:48 2017	(r456217)
@@ -19,13 +19,14 @@ USES=		autoreconf cpe gmake jpeg libtool pkgconfig tar
 CPE_VENDOR=	redhat
 
 BUILD_DEPENDS=	spice-protocol>=0.12.10:devel/spice-protocol \
-		${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:devel/py-pyparsing@${PY_FLAVOR}
 RUN_DEPENDS=	spice-protocol>=0.12.10:devel/spice-protocol
 
 .if defined(SPICE_SLAVE)
 PORTREVISION=	1
 CATEGORIES+=	python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+USES:=		${USES:Npython} python:2.7
 BUILD_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}gtk2>=0:x11-toolkits/py-gtk2
 RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}gtk2>=0:x11-toolkits/py-gtk2
 CONFIGURE_ARGS+=	--with-python

Modified: head/multimedia/totem/Makefile
==============================================================================
--- head/multimedia/totem/Makefile	Wed Dec 13 16:01:51 2017	(r456216)
+++ head/multimedia/totem/Makefile	Wed Dec 13 16:05:48 2017	(r456217)
@@ -13,7 +13,7 @@ COMMENT=	Gstreamer-based video player for the GNOME 3 
 
 BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
 		${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:misc/gnome-icon-theme \
-		pylint${PYTHON_PKGNAMESUFFIX}>=0:devel/pylint \
+		pylint:devel/pylint \
 		appstream-glib>=0:devel/appstream-glib \
 		itstool:textproc/itstool \
 		grilo-plugins2>=0:net/grilo-plugins2

Modified: head/net/cjdns/Makefile
==============================================================================
--- head/net/cjdns/Makefile	Wed Dec 13 16:01:51 2017	(r456216)
+++ head/net/cjdns/Makefile	Wed Dec 13 16:05:48 2017	(r456217)
@@ -18,7 +18,7 @@ BUILD_DEPENDS=	node:www/node \
 USE_GITHUB=	yes
 GH_ACCOUNT=	cjdelisle
 
-USES=		gmake python
+USES=		gmake python:2.7
 USE_RC_SUBR=	cjdns
 SUB_FILES=	cjdns pkg-message
 SUB_LIST=	LOCALBASE=${LOCALBASE}

Modified: head/print/system-config-printer/Makefile
==============================================================================
--- head/print/system-config-printer/Makefile	Wed Dec 13 16:01:51 2017	(r456216)
+++ head/print/system-config-printer/Makefile	Wed Dec 13 16:05:48 2017	(r456217)
@@ -13,8 +13,8 @@ COMMENT=	CUPS configuration Gtk+2.0 GUI
 BUILD_DEPENDS=	xmlto:textproc/xmlto \
 		docbook-xml>0:textproc/docbook-xml
 LIB_DEPENDS=	libcups.so:print/cups
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/cups.so:print/py-pycups \
-		${PYTHON_SITELIBDIR}/pycurl.so:ftp/py-pycurl \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pycups>=0:print/py-pycups@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pycurl>=0:ftp/py-pycurl@${PY_FLAVOR} \
 		${LOCALBASE}/libexec/cups-pk-helper-mechanism:print/cups-pk-helper
 
 # 1.5 series is python3 ignore them for now.



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