PySide is Python library to create cross-platform graphical user interfaces

by providing access to the underlying Qt framework. PySide and its complete
generation toolchain is available under LGPL license. This allows developers
to create Qt and Qt Quick applications in Python programming language at no
cost.

WWW:	http://pyside.org/
This commit is contained in:
Nicola Vitale 2011-12-18 22:03:04 +00:00
parent 3cbf64b1c0
commit b79e748466
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287624
7 changed files with 183 additions and 0 deletions

View file

@ -3337,6 +3337,7 @@
SUBDIR += pyobfuscate
SUBDIR += pypersrc
SUBDIR += pyrex
SUBDIR += pyside
SUBDIR += pyst
SUBDIR += pysvn
SUBDIR += pythk

45
devel/pyside/Makefile Normal file
View file

@ -0,0 +1,45 @@
# New ports collection makefile for: pyside
# Date created: 2011-03-22
# Whom: Nicola Vitale <nivit@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pyside
PORTVERSION= 1.0.9
#PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://www.pyside.org/files/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}-qt${QT4_VERSION:R}+${PORTVERSION}
MAINTAINER= nivit@FreeBSD.org
COMMENT= Python bindings for the Qt applications and UI framework
LICENSE= LGPL21
LIB_DEPENDS= apiextractor.0:${PORTSDIR}/devel/apiextractor \
shiboken-${PYTHON_VERSION}.1:${PORTSDIR}/devel/shiboken
CMAKE_ARGS= -DGL_H:FILEPATH="${LOCALBASE}/include/GL/gl.h" \
-DGL_INCLUDE_DIR:FILEPATH="${LOCALBASE}/include"
# QT4_OPTIONS=QGTKSTYLE in /etc/make.conf removes some warnings
QT_COMPONENTS= declarative designer gui help qmake_build \
moc_build multimedia network opengl \
phonon rcc_build script scripttools \
svg uic_build webkit
PLIST_SUB= PORTVERSION=${PORTVERSION} \
PYTHON_VERSION=${PYTHON_VERSION}
USE_BZIP2= yes
USE_CMAKE= yes
USE_LDCONFIG= yes
USE_PYTHON= 2.5-2.7
USE_QT_VER= 4
# API documentation requires graphics/graphviz and Qt4 src to build
.include <bsd.port.mk>

2
devel/pyside/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (pyside-qt4.7+1.0.9.tar.bz2) = 54b611134fa2e2e3417a018059ae4369b50550f4b1ffcb0f923b900749d60040
SIZE (pyside-qt4.7+1.0.9.tar.bz2) = 3752302

View file

@ -0,0 +1,10 @@
--- ./PySide/QtOpenGL/CMakeLists.txt.orig 2011-11-29 15:13:14.000000000 +0100
+++ ./PySide/QtOpenGL/CMakeLists.txt 2011-12-17 17:12:56.000000000 +0100
@@ -37,6 +37,7 @@
${QT_QTCORE_INCLUDE_DIR}
${QT_QTGUI_INCLUDE_DIR}
${QT_QTOPENGL_INCLUDE_DIR}
+ ${GL_INCLUDE_DIR}
${SHIBOKEN_PYTHON_INCLUDE_DIR}
${SHIBOKEN_INCLUDE_DIR}
${libpyside_SOURCE_DIR}

View file

@ -0,0 +1,11 @@
--- ./libpyside/CMakeLists.txt.orig 2011-12-17 17:13:01.000000000 +0100
+++ ./libpyside/CMakeLists.txt 2011-12-17 17:13:07.000000000 +0100
@@ -76,7 +76,7 @@
LIBRARY DESTINATION "${LIB_INSTALL_DIR}"
ARCHIVE DESTINATION "${LIB_INSTALL_DIR}"
RUNTIME DESTINATION bin)
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pyside${pyside_SUFFIX}.pc" DESTINATION "${LIB_INSTALL_DIR}/pkgconfig")
+install(FILES "${CMAKE_CURRENT_BINARY_DIR}/pyside${pyside_SUFFIX}.pc" DESTINATION "${LIB_INSTALL_DIR}data/pkgconfig")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/PySideConfig.cmake"
DESTINATION "${LIB_INSTALL_DIR}/cmake/PySide-${BINDING_API_VERSION}")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/PySideConfig${SHIBOKEN_PYTHON_SUFFIX}.cmake"

7
devel/pyside/pkg-descr Normal file
View file

@ -0,0 +1,7 @@
PySide is Python library to create cross-platform graphical user interfaces
by providing access to the underlying Qt framework. PySide and its complete
generation toolchain is available under LGPL license. This allows developers
to create Qt and Qt Quick applications in Python programming language at no
cost.
WWW: http://pyside.org/

107
devel/pyside/pkg-plist Normal file
View file

@ -0,0 +1,107 @@
@comment $FreeBSD$
include/PySide/QtCore/pyside_qtcore_python.h
include/PySide/QtDeclarative/pyside_qtdeclarative_python.h
include/PySide/QtGui/pyside_qtgui_python.h
include/PySide/QtGui/qpytextobject.h
include/PySide/QtHelp/pyside_qthelp_python.h
include/PySide/QtMultimedia/pyside_qtmultimedia_python.h
include/PySide/QtNetwork/pyside_qtnetwork_python.h
include/PySide/QtOpenGL/pyside_qtopengl_python.h
include/PySide/QtScript/pyside_qtscript_python.h
include/PySide/QtScriptTools/pyside_qtscripttools_python.h
include/PySide/QtSql/pyside_qtsql_python.h
include/PySide/QtSvg/pyside_qtsvg_python.h
include/PySide/QtTest/pyside_qttest_python.h
include/PySide/QtUiTools/pyside_qtuitools_python.h
include/PySide/QtWebKit/pyside_qtwebkit_python.h
include/PySide/QtXml/pyside_qtxml_python.h
include/PySide/QtXmlPatterns/pyside_qtxmlpatterns_python.h
include/PySide/destroylistener.h
include/PySide/dynamicqmetaobject.h
include/PySide/globalreceiver.h
include/PySide/phonon/pyside_phonon_python.h
include/PySide/pyside.h
include/PySide/pyside_global.h
include/PySide/pysideclassinfo.h
include/PySide/pysideconversions.h
include/PySide/pysidemacros.h
include/PySide/pysidemetafunction.h
include/PySide/pysideproperty.h
include/PySide/pysideqflags.h
include/PySide/pysidesignal.h
include/PySide/pysideweakref.h
include/PySide/signalmanager.h
lib/cmake/PySide-%%PORTVERSION%%/PySideConfig-%%PYTHON_VERSION%%.cmake
lib/cmake/PySide-%%PORTVERSION%%/PySideConfig.cmake
lib/cmake/PySide-%%PORTVERSION%%/PySideConfigVersion.cmake
lib/libpyside-%%PYTHON_VERSION%%.so
lib/libpyside-%%PYTHON_VERSION%%.so.1.0
lib/libpyside-%%PYTHON_VERSION%%.so.%%PORTVERSION%%
libdata/pkgconfig/pyside.pc
%%PYTHON_SITELIBDIR%%/PySide/QtCore.so
%%PYTHON_SITELIBDIR%%/PySide/QtDeclarative.so
%%PYTHON_SITELIBDIR%%/PySide/QtGui.so
%%PYTHON_SITELIBDIR%%/PySide/QtHelp.so
%%PYTHON_SITELIBDIR%%//PySide/QtMultimedia.so
%%PYTHON_SITELIBDIR%%/PySide/QtNetwork.so
%%PYTHON_SITELIBDIR%%/PySide/QtOpenGL.so
%%PYTHON_SITELIBDIR%%/PySide/QtScript.so
%%PYTHON_SITELIBDIR%%/PySide/QtScriptTools.so
%%PYTHON_SITELIBDIR%%/PySide/QtSql.so
%%PYTHON_SITELIBDIR%%/PySide/QtSvg.so
%%PYTHON_SITELIBDIR%%/PySide/QtTest.so
%%PYTHON_SITELIBDIR%%/PySide/QtUiTools.so
%%PYTHON_SITELIBDIR%%/PySide/QtWebKit.so
%%PYTHON_SITELIBDIR%%/PySide/QtXml.so
%%PYTHON_SITELIBDIR%%/PySide/QtXmlPatterns.so
%%PYTHON_SITELIBDIR%%/PySide/__init__.py
%%PYTHON_SITELIBDIR%%/PySide/phonon.so
%%PYTHON_SITELIBDIR%%/PySide/private.py
share/PySide/typesystems/typesystem_core.xml
share/PySide/typesystems/typesystem_core_win.xml
share/PySide/typesystems/typesystem_declarative.xml
share/PySide/typesystems/typesystem_gui.xml
share/PySide/typesystems/typesystem_gui_common.xml
share/PySide/typesystems/typesystem_gui_mac.xml
share/PySide/typesystems/typesystem_gui_maemo.xml
share/PySide/typesystems/typesystem_gui_simulator.xml
share/PySide/typesystems/typesystem_gui_win.xml
share/PySide/typesystems/typesystem_gui_x11.xml
share/PySide/typesystems/typesystem_help.xml
share/PySide/typesystems/typesystem_multimedia.xml
share/PySide/typesystems/typesystem_network.xml
share/PySide/typesystems/typesystem_opengl.xml
share/PySide/typesystems/typesystem_phonon.xml
share/PySide/typesystems/typesystem_script.xml
share/PySide/typesystems/typesystem_scripttools.xml
share/PySide/typesystems/typesystem_sql.xml
share/PySide/typesystems/typesystem_svg.xml
share/PySide/typesystems/typesystem_templates.xml
share/PySide/typesystems/typesystem_test.xml
share/PySide/typesystems/typesystem_uitools.xml
share/PySide/typesystems/typesystem_webkit.xml
share/PySide/typesystems/typesystem_webkit_simulator.xml
share/PySide/typesystems/typesystem_xml.xml
share/PySide/typesystems/typesystem_xmlpatterns.xml
@dirrm share/PySide/typesystems
@dirrm share/PySide
@dirrm %%PYTHON_SITELIBDIR%%/PySide
@dirrm lib/cmake/PySide-%%PORTVERSION%%
@dirrm include/PySide/phonon
@dirrm include/PySide/QtXmlPatterns
@dirrm include/PySide/QtXml
@dirrm include/PySide/QtWebKit
@dirrm include/PySide/QtUiTools
@dirrm include/PySide/QtTest
@dirrm include/PySide/QtSvg
@dirrm include/PySide/QtSql
@dirrm include/PySide/QtScriptTools
@dirrm include/PySide/QtScript
@dirrm include/PySide/QtOpenGL
@dirrm include/PySide/QtNetwork
@dirrm include/PySide/QtMultimedia
@dirrm include/PySide/QtHelp
@dirrm include/PySide/QtGui
@dirrm include/PySide/QtDeclarative
@dirrm include/PySide/QtCore
@dirrm include/PySide