pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add wip/py-pyside-tools package



Module Name:	pkgsrc-wip
Committed By:	Rumko <rumko%NetBSD.org@localhost>
Pushed By:	rumko
Date:		Sun Aug 7 09:23:52 2016 +0200
Changeset:	faa68bd45d4e74a2e7ce6b891a49677409f1b9f3

Added Files:
	py-pyside-tools/DESCR
	py-pyside-tools/Makefile
	py-pyside-tools/PLIST
	py-pyside-tools/buildlink3.mk
	py-pyside-tools/distinfo
	py-pyside-tools/patches/patch-CMakeLists.txt
	py-pyside-tools/patches/patch-pylupdate_CMakeLists.txt
	py-pyside-tools/patches/patch-pyrcc_CMakeLists.txt

Log Message:
Add wip/py-pyside-tools package

This package adds PySide development tools (pyuic and pyrcc)

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=faa68bd45d4e74a2e7ce6b891a49677409f1b9f3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pyside-tools/DESCR                              |  7 ++++
 py-pyside-tools/Makefile                           | 46 ++++++++++++++++++++++
 py-pyside-tools/PLIST                              | 39 ++++++++++++++++++
 py-pyside-tools/buildlink3.mk                      | 15 +++++++
 py-pyside-tools/distinfo                           |  9 +++++
 py-pyside-tools/patches/patch-CMakeLists.txt       | 15 +++++++
 .../patches/patch-pylupdate_CMakeLists.txt         | 14 +++++++
 py-pyside-tools/patches/patch-pyrcc_CMakeLists.txt | 14 +++++++
 8 files changed, 159 insertions(+)

diffs:
diff --git a/py-pyside-tools/DESCR b/py-pyside-tools/DESCR
new file mode 100644
index 0000000..8bf458a
--- /dev/null
+++ b/py-pyside-tools/DESCR
@@ -0,0 +1,7 @@
+The PySide project provides LGPL-licensed Python bindings for the Qt.
+It also includes complete toolchain for rapidly generating bindings for
+any Qt-based C++ class hierarchies. PySide Qt bindings allow both free
+open source and proprietary software development and ultimately aim to
+support Qt platforms.
+
+This package installs PySide development tools (pyuic and pyrcc).
diff --git a/py-pyside-tools/Makefile b/py-pyside-tools/Makefile
new file mode 100644
index 0000000..e1d6bba
--- /dev/null
+++ b/py-pyside-tools/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1 2013/11/15 12:14:47 rhialto Exp $
+
+VERSION=	0.2.15
+DISTNAME=	tools-${VERSION}
+PKGNAME=	${PYPKGPREFIX}-pyside-tools-${VERSION}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=PySide/}
+GITHUB_PROJECT=	Tools
+EXTRACT_SUFX=   .tar.gz
+CATEGORIES=	devel
+
+MAINTAINER=	rumko%netbsd.org@localhost
+HOMEPAGE=	http://qt-project.org/wiki/Get-PySide
+COMMENT=	Pyside tools
+LICENSE=	gnu-gpl-v2
+
+WRKSRC=		${WRKDIR}/Tools-${VERSION}
+
+USE_TOOLS+=	gmake cmake pkg-config
+USE_LANGUAGES+=	c c++
+USE_CMAKE=	yes
+CMAKE_ARGS+=    -DCMAKE_INSTALL_PREFIX:STRING="${PREFIX}"
+
+REPLACE_PYTHON+=	pyside-uic
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../wip/py-pyside-shiboken/buildlink3.mk"
+.include "../../wip/py-pyside/buildlink3.mk"
+.include "../../lang/python/application.mk"
+.include "../../lang/python/extension.mk"
+
+PLIST_SUBST+=   PYSITELIB=${PYSITELIB}
+PLIST_SUBST+=   PYVERSSUFFIX=${PYVERSSUFFIX}
+
+pre-configure:
+	cd ${WRKSRC} && ${MKDIR} build
+
+do-configure:
+	cd ${WRKSRC}/build && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} ..
+
+do-build:
+	cd ${WRKSRC}/build && ${SETENV} ${MAKE_ENV:Q} ${MAKE_PROGRAM}
+
+do-install:
+	cd ${WRKSRC}/build && ${SETENV} ${INSTALL_ENV} ${MAKE_PROGRAM} ${INSTALL_TARGET}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-pyside-tools/PLIST b/py-pyside-tools/PLIST
new file mode 100644
index 0000000..433f2c9
--- /dev/null
+++ b/py-pyside-tools/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD$
+bin/pyside-lupdate
+bin/pyside-rcc
+bin/pyside-uic
+${PYSITELIB}/pysideuic/Compiler/__init__.py
+${PYSITELIB}/pysideuic/Compiler/compiler.py
+${PYSITELIB}/pysideuic/Compiler/indenter.py
+${PYSITELIB}/pysideuic/Compiler/misc.py
+${PYSITELIB}/pysideuic/Compiler/proxy_type.py
+${PYSITELIB}/pysideuic/Compiler/qobjectcreator.py
+${PYSITELIB}/pysideuic/Compiler/qtproxies.py
+${PYSITELIB}/pysideuic/__init__.py
+${PYSITELIB}/pysideuic/driver.py
+${PYSITELIB}/pysideuic/exceptions.py
+${PYSITELIB}/pysideuic/icon_cache.py
+${PYSITELIB}/pysideuic/objcreator.py
+${PYSITELIB}/pysideuic/port_v2/__init__.py
+${PYSITELIB}/pysideuic/port_v2/as_string.py
+${PYSITELIB}/pysideuic/port_v2/ascii_upper.py
+${PYSITELIB}/pysideuic/port_v2/invoke.py
+${PYSITELIB}/pysideuic/port_v2/load_plugin.py
+${PYSITELIB}/pysideuic/port_v2/proxy_base.py
+${PYSITELIB}/pysideuic/port_v2/string_io.py
+${PYSITELIB}/pysideuic/port_v3/__init__.py
+${PYSITELIB}/pysideuic/port_v3/as_string.py
+${PYSITELIB}/pysideuic/port_v3/ascii_upper.py
+${PYSITELIB}/pysideuic/port_v3/invoke.py
+${PYSITELIB}/pysideuic/port_v3/load_plugin.py
+${PYSITELIB}/pysideuic/port_v3/proxy_base.py
+${PYSITELIB}/pysideuic/port_v3/string_io.py
+${PYSITELIB}/pysideuic/properties.py
+${PYSITELIB}/pysideuic/pyside-uic.1
+${PYSITELIB}/pysideuic/uiparser.py
+${PYSITELIB}/pysideuic/widget-plugins/phonon.py
+${PYSITELIB}/pysideuic/widget-plugins/qtdeclarative.py
+${PYSITELIB}/pysideuic/widget-plugins/qtwebkit.py
+man/man1/pyside-uic.1
+man/man1/pyside-lupdate.1
+man/man1/pyside-rcc.1
diff --git a/py-pyside-tools/buildlink3.mk b/py-pyside-tools/buildlink3.mk
new file mode 100644
index 0000000..a2b7dd5
--- /dev/null
+++ b/py-pyside-tools/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2013/11/15 12:14:47 rhialto Exp $
+
+BUILDLINK_TREE+=	py-pyside-tools
+
+.if !defined(PY_PYSIDE_TOOLS_BUILDLINK3_MK)
+PY_PYSIDE_TOOLS_BUILDLINK3_MK:=
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_API_DEPENDS.py-pyside-tools+=	${PYPKGPREFIX}-pyside-tools>=0.2.15
+BUILDLINK_ABI_DEPENDS.py-pyside-tools+=	${PYPKGPREFIX}-pyside-tools>=0.2.15
+BUILDLINK_PKGSRCDIR.py-pyside-tools?=	../../wip/py-pyside-tools
+.endif # PY_PYSIDE_TOOLS_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-py-pyside-tools
diff --git a/py-pyside-tools/distinfo b/py-pyside-tools/distinfo
new file mode 100644
index 0000000..a1a09e7
--- /dev/null
+++ b/py-pyside-tools/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2013/11/15 12:14:47 rhialto Exp $
+
+SHA1 (tools-0.2.15.tar.gz) = b668d15e8d67e25a653db5abf8f542802e2ee2dd
+RMD160 (tools-0.2.15.tar.gz) = 481654815c8fcdd5b805a155bc2ea9bfcbced9d4
+SHA512 (tools-0.2.15.tar.gz) = 7cee288b733e5f83a01683d7fc8f1017c044e46dbb02489c5e763e37db4e24f319ffd593e001ee6ca5a21a34cf1a6009ab1d4c9e4102c60693992b6f2f7c8991
+Size (tools-0.2.15.tar.gz) = 78989 bytes
+SHA1 (patch-CMakeLists.txt) = dfafef1be5d9764f0afc95e644a7297515f9a494
+SHA1 (patch-pylupdate_CMakeLists.txt) = 9ceca6b92998d7d072f3812a5eae9b867cb41b07
+SHA1 (patch-pyrcc_CMakeLists.txt) = 09294dace80149b8a07d9d9d7562a4ab9bee416d
diff --git a/py-pyside-tools/patches/patch-CMakeLists.txt b/py-pyside-tools/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000..a7505f3
--- /dev/null
+++ b/py-pyside-tools/patches/patch-CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix man page path
+
+--- CMakeLists.txt.orig	2013-08-16 07:29:17.000000000 +0000
++++ CMakeLists.txt
+@@ -45,7 +45,7 @@ install(DIRECTORY ${CMAKE_CURRENT_SOURCE
+ # Man pages for pyside-uic
+ if (NOT win32)
+     file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/pysideuic/*.1")
+-    install(FILES ${manpages} DESTINATION share/man/man1)
++    install(FILES ${manpages} DESTINATION man/man1)
+ endif()
+ 
+ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
diff --git a/py-pyside-tools/patches/patch-pylupdate_CMakeLists.txt b/py-pyside-tools/patches/patch-pylupdate_CMakeLists.txt
new file mode 100644
index 0000000..f66b495
--- /dev/null
+++ b/py-pyside-tools/patches/patch-pylupdate_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Fix man page path
+
+--- pylupdate/CMakeLists.txt.orig	2013-08-16 07:29:17.000000000 +0000
++++ pylupdate/CMakeLists.txt
+@@ -33,6 +33,6 @@ install(TARGETS pyside-lupdate RUNTIME D
+ # Man pages
+ if (NOT win32)
+     file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
+-    install(FILES ${manpages} DESTINATION share/man/man1)
++    install(FILES ${manpages} DESTINATION man/man1)
+ endif()
+ 
diff --git a/py-pyside-tools/patches/patch-pyrcc_CMakeLists.txt b/py-pyside-tools/patches/patch-pyrcc_CMakeLists.txt
new file mode 100644
index 0000000..7c2c44c
--- /dev/null
+++ b/py-pyside-tools/patches/patch-pyrcc_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Fix man page path
+
+--- pyrcc/CMakeLists.txt.orig	2013-08-16 07:29:17.000000000 +0000
++++ pyrcc/CMakeLists.txt
+@@ -15,6 +15,6 @@ install(TARGETS pyside-rcc RUNTIME DESTI
+ # Man pages
+ if (NOT win32)
+     file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
+-    install(FILES ${manpages} DESTINATION share/man/man1)
++    install(FILES ${manpages} DESTINATION man/man1)
+ endif()
+ 


Home | Main Index | Thread Index | Old Index