Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 09:00:49 +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: r472175 - in head/x11-toolkits: . py-AnyQt
Message-ID:  <201806110900.w5B90nJ4020462@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Jun 11 09:00:49 2018
New Revision: 472175
URL: https://svnweb.freebsd.org/changeset/ports/472175

Log:
  New port : x11-toolkits/py-AnyQt: PyQt4/PyQt5 compatibility layer

Added:
  head/x11-toolkits/py-AnyQt/
  head/x11-toolkits/py-AnyQt/Makefile   (contents, props changed)
  head/x11-toolkits/py-AnyQt/distinfo   (contents, props changed)
  head/x11-toolkits/py-AnyQt/pkg-descr   (contents, props changed)
Modified:
  head/x11-toolkits/Makefile

Modified: head/x11-toolkits/Makefile
==============================================================================
--- head/x11-toolkits/Makefile	Mon Jun 11 08:49:18 2018	(r472174)
+++ head/x11-toolkits/Makefile	Mon Jun 11 09:00:49 2018	(r472175)
@@ -199,6 +199,7 @@
     SUBDIR += plib
     SUBDIR += pure-gtk
     SUBDIR += pure-tk
+    SUBDIR += py-AnyQt
     SUBDIR += py-Pmw
     SUBDIR += py-SquareMap
     SUBDIR += py-fltk

Added: head/x11-toolkits/py-AnyQt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/py-AnyQt/Makefile	Mon Jun 11 09:00:49 2018	(r472175)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME=	AnyQt
+DISTVERSION=	0.0.8
+CATEGORIES=	x11-toolkits devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	PyQt4/PyQt5 compatibility layer
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+xNO_BUILD=	yes
+
+.include <bsd.port.mk>

Added: head/x11-toolkits/py-AnyQt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/py-AnyQt/distinfo	Mon Jun 11 09:00:49 2018	(r472175)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1528707243
+SHA256 (AnyQt-0.0.8.tar.gz) = 7f1f71ce744e940fb49da0a302d972a9561c0844ab67df77091d631c6f2687b6
+SIZE (AnyQt-0.0.8.tar.gz) = 34328

Added: head/x11-toolkits/py-AnyQt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/py-AnyQt/pkg-descr	Mon Jun 11 09:00:49 2018	(r472175)
@@ -0,0 +1,13 @@
+PyQt4/PyQt5 compatibility layer.
+
+Features:
+* At the top level AnyQt exports a Qt5 compatible module namespace along with
+  some minimal renames to better support portability between different versions
+* Which Qt api/backend is chosen can be controlled by a QT_API env variable
+* The api can be chosen/forced programmatically (as long as no
+  PyQt4/PyQt5/PySide was already imported)
+* Provides an optional compatibility import hook, that denys imports from
+  conflicting Qt api, or intercepts and fakes a Qt4 api imports, to use a Qt5
+  compatible API (some monkey patching is involved).
+
+WWW: https://github.com/ales-erjavec/anyqt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806110900.w5B90nJ4020462>