Date: Sat, 27 Jan 2018 00:38:14 +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: r460066 - in head/devel: . py-QtPy Message-ID: <201801270038.w0R0cE2o007178@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Jan 27 00:38:14 2018 New Revision: 460066 URL: https://svnweb.freebsd.org/changeset/ports/460066 Log: New port: devel/py-QtPy: Abstraction layer on top of the various Qt bindings This is an abstraction layer on top of the various Qt bindings. It doesn't have any explicit dependencies. It has alternative dependencies on PyQt5, PyQt4, PySide2 or PySide which it selects in the run-time. Users have the responsibility to ensure that one of them is installed, and to optionally set QT_API to force one of them. Approved by: tcberner (mentor) Differential Revision: D13657 Added: head/devel/py-QtPy/ head/devel/py-QtPy/Makefile (contents, props changed) head/devel/py-QtPy/distinfo (contents, props changed) head/devel/py-QtPy/pkg-descr (contents, props changed) head/devel/py-QtPy/pkg-message (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Jan 27 00:34:13 2018 (r460065) +++ head/devel/Makefile Sat Jan 27 00:38:14 2018 (r460066) @@ -4199,6 +4199,7 @@ SUBDIR += py-PyExecJS SUBDIR += py-PyLD SUBDIR += py-PyODE + SUBDIR += py-QtPy SUBDIR += py-RPyC SUBDIR += py-Record SUBDIR += py-SymbolType Added: head/devel/py-QtPy/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-QtPy/Makefile Sat Jan 27 00:38:14 2018 (r460066) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= QtPy +DISTVERSION= 1.3.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Abstraction layer on top of the various Qt bindings + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +USES= python +USE_PYTHON= distutils autoplist +NO_ARCH= yes + +.include <bsd.port.mk> Added: head/devel/py-QtPy/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-QtPy/distinfo Sat Jan 27 00:38:14 2018 (r460066) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514403575 +SHA256 (QtPy-1.3.1.tar.gz) = 08af2525d59f9eb639946d5ed7a72b002103c5b7369c0ef0dd70ad2696845313 +SIZE (QtPy-1.3.1.tar.gz) = 25061 Added: head/devel/py-QtPy/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-QtPy/pkg-descr Sat Jan 27 00:38:14 2018 (r460066) @@ -0,0 +1,10 @@ +QtPy is a small abstraction layer that lets you write applications using a +single API call to either PyQt or PySide. + +It provides support for PyQt5, PyQt4, PySide2 and PySide using the Qt5 layout +(where the QtGui module has been split into QtGui and QtWidgets). + +Basically, you write your code as if you were using PySide2 but import Qt +modules from qtpy instead of PySide2 (or PyQt5) + +WWW: https://github.com/spyder-ide/qtpy Added: head/devel/py-QtPy/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-QtPy/pkg-message Sat Jan 27 00:38:14 2018 (r460066) @@ -0,0 +1,10 @@ +====================================================================== +You installed py-QtPy: the abstraction layer on top of Qt bindings. + +One of PyQt5, PyQt4, PySide2 or PySide bindings is required to be +installed for it to work. py-QtPy will choose between the avaiable +bindings, PyQt5 will be chosen first when available. + +The QT_API environment variable can be used to force a particular +binding. +======================================================================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801270038.w0R0cE2o007178>