Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 14:53:13 +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: r471046 - head/deskutils/nemo-extensions
Message-ID:  <201805281453.w4SErDXi048767@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon May 28 14:53:13 2018
New Revision: 471046
URL: https://svnweb.freebsd.org/changeset/ports/471046

Log:
  - nemo-extensions is not compatible with python3
  - fix build with DEFAULT_VERSIONS=python=3.x

Modified:
  head/deskutils/nemo-extensions/Makefile

Modified: head/deskutils/nemo-extensions/Makefile
==============================================================================
--- head/deskutils/nemo-extensions/Makefile	Mon May 28 14:52:18 2018	(r471045)
+++ head/deskutils/nemo-extensions/Makefile	Mon May 28 14:53:13 2018	(r471046)
@@ -12,7 +12,7 @@ COMMENT=	File manager extensions for the Cinnamon desk
 
 BUILD_DEPENDS=	gnome-icon-theme>=0:misc/gnome-icon-theme \
 		gtkdocize:textproc/gtk-doc \
-		rst2html:textproc/py-docutils \
+		${PYTHON_PKGNAMEPREFIX}docutils>=0:textproc/py-docutils@${PY_FLAVOR} \
 		gnome-autogen.sh:devel/gnome-common \
 		${LOCALBASE}/libdata/pkgconfig/gsettings-desktop-schemas.pc:devel/gsettings-desktop-schemas
 LIB_DEPENDS=	libexif.so:graphics/libexif \
@@ -36,10 +36,11 @@ GH_TAGNAME=	6c8ec3a
 USE_GNOME=	gconf2 gnomeprefix gnomedocutils gtksourceview3 intlhack \
 		introspection:build libxml2 pygtk2
 USES=		autoreconf:build gettext gmake libtool pathfix pkgconfig \
-		python shebangfix
+		python:2.7 shebangfix
 SHEBANG_FILES=	nemo-dropbox/dropbox.in
 INSTALLS_ICONS=	yes
 USE_LDCONFIG=	yes
+CONFIGURE_ENV=	RST2MAN=${LOCALBASE}/bin/rst2man.py-${PYTHON_VER}
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip



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