Date: Fri, 22 Jan 2021 20:40:09 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562337 - in head/math/vtk9: . files Message-ID: <202101222040.10MKe9qG018855@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Fri Jan 22 20:40:09 2021 New Revision: 562337 URL: https://svnweb.freebsd.org/changeset/ports/562337 Log: math/vtk9: Add pip's .egg-info directory that is normally installed with python packages At least one user, py-mayavi, needs it. Added: head/math/vtk9/files/PKG-INFO.in (contents, props changed) Modified: head/math/vtk9/Makefile Modified: head/math/vtk9/Makefile ============================================================================== --- head/math/vtk9/Makefile Fri Jan 22 20:37:53 2021 (r562336) +++ head/math/vtk9/Makefile Fri Jan 22 20:40:09 2021 (r562337) @@ -2,7 +2,7 @@ PORTNAME= vtk DISTVERSION= 9.0.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math graphics MASTER_SITES= https://vtk.org/files/release/${VTK_SHORT_VER}/ PKGNAMESUFFIX= 9 @@ -62,6 +62,7 @@ $w_DESC= $w wrapping PYTHON_USES= python:3.6+ PYTHON_CMAKE_BOOL= VTK_WRAP_PYTHON PYTHON_CMAKE_ON= -DVTK_PYTHON_VERSION=${PYTHON_MAJOR_VER} +PYTHON_VARS= SUB_FILES=PKG-INFO SUB_LIST=PORTVERSION=${PORTVERSION} QT5_USES= qt:5 QT5_USE= QT=core,gui,sql,uiplugin,widgets,x11extras,qmake_build,buildtools_build @@ -125,6 +126,10 @@ USE_GL= gl glu .endif CONFLICTS= vtk6 vtk8 + +do-install-PYTHON-on: # cmake doesn't install pip's .egg-info: https://gitlab.kitware.com/vtk/vtk/-/issues/18087 + @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info + @${INSTALL_DATA} ${WRKDIR}/PKG-INFO ${STAGEDIR}${PYTHON_SITELIBDIR}/vtk-${DISTVERSION}-py${PYTHON_VER}.egg-info post-install: # autoplist: thousands of files, complex dependencies on options @cd ${STAGEDIR}${PREFIX} && \ Added: head/math/vtk9/files/PKG-INFO.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/vtk9/files/PKG-INFO.in Fri Jan 22 20:40:09 2021 (r562337) @@ -0,0 +1,14 @@ +Metadata-Version: 1.1 +Name: VTK +Version: %%PORTVERSION%% +Summary: 3-D computer graphics, image processing, and visualization +Home-page: +Author: +Author-email: +License: BSD +Download-URL: http://www.vtk.org/ +Description: The Visualization Toolkit (VTK) is an open source, freely + available software system for 3D computer graphics, modeling, + image processing, volume rendering, scientific visualization and + information visualization. +Platform: UNKNOWN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101222040.10MKe9qG018855>