Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2019 16:55:01 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r499460 - head/graphics/partio
Message-ID:  <201904201655.x3KGt1uJ077504@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Sat Apr 20 16:55:01 2019
New Revision: 499460
URL: https://svnweb.freebsd.org/changeset/ports/499460

Log:
  graphics/partio: Use python 2.7
  
  Some of the scripts don't work yet with python 3.0. Use python 2.7 instead.
  
  Remove also two problematic scripts due to lack of necessary wrappers.
  
  Reported by:	tcberner

Modified:
  head/graphics/partio/Makefile
  head/graphics/partio/pkg-plist

Modified: head/graphics/partio/Makefile
==============================================================================
--- head/graphics/partio/Makefile	Sat Apr 20 16:26:18 2019	(r499459)
+++ head/graphics/partio/Makefile	Sat Apr 20 16:55:01 2019	(r499460)
@@ -12,7 +12,7 @@ LICENSE=	BSD3CLAUSE
 
 BUILD_DEPENDS=	swig3.0:devel/swig30
 
-USES=		cmake compiler:c++11-lang gl python shebangfix
+USES=		cmake compiler:c++11-lang gl python:2.7 shebangfix
 SHEBANG_FILES=	src/tools/partedit.py src/tools/partinspect.py \
 		src/tools/partjson.py
 USE_GL=		gl glu glut
@@ -47,6 +47,10 @@ post-patch:
 post-patch-DOCS-off:
 	@${REINPLACE_CMD} -e '/ADD_SUBDIRECTORY.*src\/doc.*/d' \
 		${WRKSRC}/CMakeLists.txt
+
+# Remove those files that don't yet work
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/partedit ${STAGEDIR}${PREFIX}/bin/partinspect
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/graphics/partio/pkg-plist
==============================================================================
--- head/graphics/partio/pkg-plist	Sat Apr 20 16:26:18 2019	(r499459)
+++ head/graphics/partio/pkg-plist	Sat Apr 20 16:55:01 2019	(r499460)
@@ -1,8 +1,6 @@
 bin/partattr
 bin/partconvert
-bin/partedit
 bin/partinfo
-bin/partinspect
 bin/partjson
 bin/partview
 include/Partio.h



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