From owner-svn-ports-all@freebsd.org Fri Jan 22 20:40:10 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62FAE4FE158; Fri, 22 Jan 2021 20:40:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMrjk2LLhz3vyN; Fri, 22 Jan 2021 20:40:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3F13224C0E; Fri, 22 Jan 2021 20:40:10 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10MKe9nr018857; Fri, 22 Jan 2021 20:40:09 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10MKe9qG018855; Fri, 22 Jan 2021 20:40:09 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202101222040.10MKe9qG018855@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 22 Jan 2021 20:40:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562337 - in head/math/vtk9: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/vtk9: . files X-SVN-Commit-Revision: 562337 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2021 20:40:10 -0000 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