svn commit: r492520 - in head/graphics: . py-pivy-devel py-pivy-devel/files
Christoph Moench-Tegeder
cmt at FreeBSD.org
Sat Feb 9 20:53:35 UTC 2019
Author: cmt
Date: Sat Feb 9 20:53:33 2019
New Revision: 492520
URL: https://svnweb.freebsd.org/changeset/ports/492520
Log:
Add py-pivy, a modified version of pivy Coin bindings for Python
This fork has been prepared by the FreeCAD project to support Qt5
Added:
head/graphics/py-pivy-devel/
- copied from r492514, head/graphics/py-pivy/
head/graphics/py-pivy-devel/files/
head/graphics/py-pivy-devel/files/patch-CMakeLists.txt (contents, props changed)
head/graphics/py-pivy-devel/files/patch-setup.py (contents, props changed)
Modified:
head/graphics/Makefile
head/graphics/py-pivy-devel/Makefile
head/graphics/py-pivy-devel/distinfo
head/graphics/py-pivy-devel/pkg-descr
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sat Feb 9 20:48:10 2019 (r492519)
+++ head/graphics/Makefile Sat Feb 9 20:53:33 2019 (r492520)
@@ -862,6 +862,7 @@
SUBDIR += py-photocollage
SUBDIR += py-pillow
SUBDIR += py-pivy
+ SUBDIR += py-pivy-devel
SUBDIR += py-plotly
SUBDIR += py-png
SUBDIR += py-poppler
Modified: head/graphics/py-pivy-devel/Makefile
==============================================================================
--- head/graphics/py-pivy/Makefile Sat Feb 9 20:22:00 2019 (r492514)
+++ head/graphics/py-pivy-devel/Makefile Sat Feb 9 20:53:33 2019 (r492520)
@@ -2,24 +2,30 @@
# $FreeBSD$
PORTNAME= pivy
-PORTVERSION= 0.5.0
-PORTREVISION= 2
+PORTVERSION= 0.6.4
CATEGORIES= graphics python
-MASTER_SITES= https://bitbucket.org/Coin3D/pivy/get/
-DISTNAME= 8eab90908f2a
+PKGNAMESUFFIX= -devel
MAINTAINER= pfg at FreeBSD.org
COMMENT= Python binding for Coin
LICENSE= MIT
-BUILD_DEPENDS= swig3.0:devel/swig30
-LIB_DEPENDS= libSoQt.so:x11-toolkits/soqt
+BUILD_DEPENDS= cmake:devel/cmake \
+ swig3.0:devel/swig30
+LIB_DEPENDS= libCoin.so:graphics/Coin \
+ libSoQt.so:x11-toolkits/soqt-devel
-USES= compiler:c11 python:2.7 zip
+USES= compiler:c11 python:2.7 qt:5
+USE_GITHUB= yes
+GH_ACCOUNT= FreeCAD
USE_PYTHON= autoplist distutils
-BINARY_ALIAS= swig=swig3.0
+USE_QT= core gui opengl widgets
-WRKSRC= ${WRKDIR}/Coin3D-pivy-${DISTNAME}
+INSTALL_TARGET= install-strip
+
+CONFLICTS_INSTALL= py-pivy
+
+BINARY_ALIAS= swig=swig3.0
.include <bsd.port.mk>
Modified: head/graphics/py-pivy-devel/distinfo
==============================================================================
--- head/graphics/py-pivy/distinfo Sat Feb 9 20:22:00 2019 (r492514)
+++ head/graphics/py-pivy-devel/distinfo Sat Feb 9 20:53:33 2019 (r492520)
@@ -1,2 +1,3 @@
-SHA256 (8eab90908f2a.zip) = 045da82a84463fe1cfecf90c5fb6c04fe47be0647be69c8225e16364d9dc249a
-SIZE (8eab90908f2a.zip) = 7029165
+TIMESTAMP = 1549729985
+SHA256 (FreeCAD-pivy-0.6.4_GH0.tar.gz) = 0b09bc80007b61680ce13b2dd348da6fbaf19795be9a08eeb019ea2a1f51f97e
+SIZE (FreeCAD-pivy-0.6.4_GH0.tar.gz) = 6614744
Added: head/graphics/py-pivy-devel/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pivy-devel/files/patch-CMakeLists.txt Sat Feb 9 20:53:33 2019 (r492520)
@@ -0,0 +1,25 @@
+--- CMakeLists.txt.orig 2018-06-08 08:15:18 UTC
++++ CMakeLists.txt
+@@ -2,17 +2,17 @@ project(pivy_cmake_setup NONE)
+ cmake_minimum_required(VERSION 3.5)
+
+
+-find_package(Coin CONFIG REQUIRED)
++find_package(Coin3D REQUIRED)
+
+-if (Coin_INCLUDE_DIR)
++if (COIN3D_INCLUDE_DIR)
+ MESSAGE(STATUS "COIN_FOUND: " true)
+ else()
+ MESSAGE(STATUS "COIN_FOUND: " false)
+ endif()
+
+-MESSAGE(STATUS "COIN_INCLUDE_DIR: " ${Coin_INCLUDE_DIR})
+-MESSAGE(STATUS "COIN_LIB_DIR: " ${Coin_LIB_DIR})
+-MESSAGE(STATUS "COIN_VERSION: " ${Coin_VERSION})
++MESSAGE(STATUS "COIN_INCLUDE_DIR: " ${COIN3D_INCLUDE_DIRS})
++MESSAGE(STATUS "COIN_LIB_DIR: " ${COIN3D_LIBRARIES})
++# MESSAGE(STATUS "COIN_VERSION: " ${COIN3D_VERSION})
+
+
+
Added: head/graphics/py-pivy-devel/files/patch-setup.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-pivy-devel/files/patch-setup.py Sat Feb 9 20:53:33 2019 (r492520)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2018-06-08 08:15:18 UTC
++++ setup.py
+@@ -203,7 +203,7 @@ class pivy_build(build):
+ print(yellow('calling: ' + cmake_command[0] + ' ' + cmake_command[1]))
+ cmake = subprocess.Popen(cmake_command, stdout=subprocess.PIPE)
+ cmake_out, _ = cmake.communicate()
+- coin_vars = ['COIN_FOUND', 'COIN_VERSION', 'COIN_INCLUDE_DIR', 'COIN_LIB_DIR']
++ coin_vars = ['COIN_FOUND', 'COIN_INCLUDE_DIR', 'COIN_LIB_DIR']
+ soqt_vars = ['SOQT_FOUND', 'SOQT_VERSION', 'SOQT_INCLUDE_DIR', 'SOQT_LIB_DIR']
+ config_dict = {}
+ if cmake.returncode == 0:
Modified: head/graphics/py-pivy-devel/pkg-descr
==============================================================================
--- head/graphics/py-pivy/pkg-descr Sat Feb 9 20:22:00 2019 (r492514)
+++ head/graphics/py-pivy-devel/pkg-descr Sat Feb 9 20:53:33 2019 (r492520)
@@ -5,4 +5,6 @@ with a C++ Application Programming Interface. Coin use
structures to render real-time graphics suitable for mostly all kinds of
scientific and engineering visualization applications.
+This is a forked version provided by the FreeCAD project.
+
WWW: https://pypi.org/project/Pivy/
More information about the svn-ports-head
mailing list