From nobody Wed Feb 01 08:35:37 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6Fc93hCDz3bLHD; Wed, 1 Feb 2023 08:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6Fc9395Jz3Np3; Wed, 1 Feb 2023 08:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675240537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CQ5i5KBf7C5mzj9FNtuUwt7SKhULE6VVMAXwqSdyqms=; b=IuDkL5+MPgRdI3aAHNEWhnoO6A6inpAyQbUh4KddNGg7so2ZCCqDaJ38MTMPwtNvda88w7 mvGkY9KYO+47eJtXxjlP9Oz14odVoM7AvpTbOOSGhf6hLJfCMENjtveCdc7fCBQSLawwXI mTG0fMA08wcWQT4CLkCJ2uqyEy2pGZ0quoGP7KsLXrWTFUuRZdANBceS63HbfpfZR3egIV fjh8GJ8tJJlkYiZ4P45VQt8PAozw5LXOymOh9tFl+khLgzvZSeDDy6jxvCMcf3os47kvOL xnk315XjmJeyd2JD4phcnKyiyap8cA4a13KYeW36F/lqDqfDEDydYfxQ7BiorA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675240537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CQ5i5KBf7C5mzj9FNtuUwt7SKhULE6VVMAXwqSdyqms=; b=DNmbkqvIwkwsUBGIJFeMy9Twm3Tf9vMxcHkiMuIAmMkogf81nxuhpFyhDiChhEd0bLP1Bp mQ1whWRe3YQUK+gXIVSEZr85witAFTCtTQvFCy7cQhwvTpeUOEs7KwhwRlegbcsYonaphJ Xv+qljGWt3Y9rZoDpNcNzxvbhwD9YAeIaWiu3sQ/ji0IMzGCOnwvCGR3CTQW3QE25h6TG2 TzrCAXRldqlmLUGzttQOBWgyEE2qGtmLfufl9Z+JdIrKqg+SWPMjkx33HQBlPSQeWtxwDS id53zuXnDoZut7RJuJLUWXUrpG2h7RY7CflUgh45USdrk/a0RUy5Ttn7d6k97w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675240537; a=rsa-sha256; cv=none; b=oU/pwr6JWNE7SY6RZHIV8d9NqKFVnJtz9YNsZpGGXqQ6YNGz/zUCiQ2w/TdYpJWw6zci3R +0scTJQjPHFBor7Nl2PGTPrAGHn8jvLvqI50Xe2WBeB4E9NtuAPtSIXhjHoNtqZo/DNKeV 11Kwt7W4cxa39kCQsPC1XWpJNAeIY40nCdts6fnOK7ZSisSWiUI2ja89b2/T2F2T/z2UW3 HfYNDDNm/ML5/CBj+enTubtYqTEzFIQd7npmjo6otUnltEJNFY597Ymh4pNt5eASgI2A5a tUzyz9suaEYIkFqGQ7w1vtbZxSPvsLzQKpZ2RaaxRda+OlsZgJvlEuXlH3u7Ig== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6Fc92DVwz1Mj3; Wed, 1 Feb 2023 08:35:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3118Zbqc089762; Wed, 1 Feb 2023 08:35:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3118ZbMi089761; Wed, 1 Feb 2023 08:35:37 GMT (envelope-from git) Date: Wed, 1 Feb 2023 08:35:37 GMT Message-Id: <202302010835.3118ZbMi089761@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 40ac0b44cb37 - main - x11-toolkits/pythonqt: New port: Dynamic Python binding for Qt Applications List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 40ac0b44cb370df13a81a39dae5fa8fdf957ee59 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=40ac0b44cb370df13a81a39dae5fa8fdf957ee59 commit 40ac0b44cb370df13a81a39dae5fa8fdf957ee59 Author: Yuri Victorovich AuthorDate: 2023-02-01 08:35:00 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-01 08:35:34 +0000 x11-toolkits/pythonqt: New port: Dynamic Python binding for Qt Applications --- x11-toolkits/Makefile | 1 + x11-toolkits/pythonqt/Makefile | 32 +++++++++++++++++++++ x11-toolkits/pythonqt/distinfo | 5 ++++ x11-toolkits/pythonqt/files/patch-PythonQt.pro | 10 +++++++ x11-toolkits/pythonqt/pkg-descr | 2 ++ x11-toolkits/pythonqt/pkg-plist | 40 ++++++++++++++++++++++++++ 6 files changed, 90 insertions(+) diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 9202b756fcf3..bec7ef8c041c 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -164,6 +164,7 @@ SUBDIR += py-tkinter SUBDIR += py-tktreectrl SUBDIR += py-wxPython4 + SUBDIR += pythonqt SUBDIR += qml-box2d SUBDIR += qt5-charts SUBDIR += qt5-datavis3d diff --git a/x11-toolkits/pythonqt/Makefile b/x11-toolkits/pythonqt/Makefile new file mode 100644 index 000000000000..a9b620c2a4db --- /dev/null +++ b/x11-toolkits/pythonqt/Makefile @@ -0,0 +1,32 @@ +PORTNAME= pythonqt +DISTVERSIONPREFIX= v +DISTVERSION= 3.3.0-27 +DISTVERSIONSUFFIX= -gf52ff96 +CATEGORIES= x11-toolkits devel python + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/commit/ +PATCHFILES= f9149ea9fefdcd0e9ece092ad44fb4bd0c1b4da9.patch:-p1 # fix install paths by adding INSTALL_PREFIX, https://github.com/MeVisLab/pythonqt/pull/92 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Dynamic Python binding for Qt Applications +WWW= https://mevislab.github.io/pythonqt/ + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= gettext-runtime gl python:3.6+ qmake qt:5 +USE_QT= core declarative gui multimedia network opengl printsupport sql svg webkit widgets xml xmlpatterns \ + buildtools:build +USE_GL= gl +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= MeVisLab + +QMAKE_ARGS= PYTHON_VERSION=${PYTHON_VER} \ + PYTHON_DIR=${LOCALBASE} \ + QMAKE_CFLAGS="${CFLAGS}" \ + QMAKE_CXXFLAGS="${CXXFLAGS}" \ + INSTALL_PREFIX=${PREFIX} + +.include diff --git a/x11-toolkits/pythonqt/distinfo b/x11-toolkits/pythonqt/distinfo new file mode 100644 index 000000000000..33ef710e0e73 --- /dev/null +++ b/x11-toolkits/pythonqt/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1675238707 +SHA256 (MeVisLab-pythonqt-v3.3.0-27-gf52ff96_GH0.tar.gz) = 1536819a45f8f696d3a3d376c14abb6e43f1495a1cc252b533ce6c783f32ffe7 +SIZE (MeVisLab-pythonqt-v3.3.0-27-gf52ff96_GH0.tar.gz) = 5314463 +SHA256 (f9149ea9fefdcd0e9ece092ad44fb4bd0c1b4da9.patch) = 00503762eeecd5fac7186af5f4323578bdf00b9c79b52c174c77b184b9ce48dd +SIZE (f9149ea9fefdcd0e9ece092ad44fb4bd0c1b4da9.patch) = 1403 diff --git a/x11-toolkits/pythonqt/files/patch-PythonQt.pro b/x11-toolkits/pythonqt/files/patch-PythonQt.pro new file mode 100644 index 000000000000..56b0f88eaec6 --- /dev/null +++ b/x11-toolkits/pythonqt/files/patch-PythonQt.pro @@ -0,0 +1,10 @@ +--- PythonQt.pro.orig 2023-02-01 08:09:21 UTC ++++ PythonQt.pro +@@ -1,6 +1,6 @@ + TEMPLATE = subdirs + +-SUBDIRS = generator src extensions tests examples ++SUBDIRS = generator src extensions #tests examples + tests.depends += src extensions + extensions.depends += src + examples.depends += src extensions diff --git a/x11-toolkits/pythonqt/pkg-descr b/x11-toolkits/pythonqt/pkg-descr new file mode 100644 index 000000000000..5a2aa7692f53 --- /dev/null +++ b/x11-toolkits/pythonqt/pkg-descr @@ -0,0 +1,2 @@ +PythonQt is a dynamic Python binding for Qt. It offers an easy way to embed the +Python scripting language into your Qt applications. diff --git a/x11-toolkits/pythonqt/pkg-plist b/x11-toolkits/pythonqt/pkg-plist new file mode 100644 index 000000000000..d310fe11611c --- /dev/null +++ b/x11-toolkits/pythonqt/pkg-plist @@ -0,0 +1,40 @@ +include/PythonQt.h +include/PythonQtBoolResult.h +include/PythonQtClassInfo.h +include/PythonQtClassWrapper.h +include/PythonQtConversion.h +include/PythonQtCppWrapperFactory.h +include/PythonQtImportFileInterface.h +include/PythonQtImporter.h +include/PythonQtInstanceWrapper.h +include/PythonQtMethodInfo.h +include/PythonQtMisc.h +include/PythonQtObjectPtr.h +include/PythonQtProperty.h +include/PythonQtPythonInclude.h +include/PythonQtQFileImporter.h +include/PythonQtScriptingConsole.h +include/PythonQtSignal.h +include/PythonQtSignalReceiver.h +include/PythonQtSlot.h +include/PythonQtSlotDecorator.h +include/PythonQtStdDecorators.h +include/PythonQtStdIn.h +include/PythonQtStdOut.h +include/PythonQtSystem.h +include/PythonQtThreadSupport.h +include/PythonQtUtils.h +include/PythonQtVariants.h +include/PythonQt_QtAll.h +include/com_trolltech_qt_core_builtin0.h +include/com_trolltech_qt_gui_builtin0.h +lib/PythonQt-Qt5-Python3.pc +lib/PythonQt_QtAll-Qt5-Python3.pc +lib/libPythonQt-Qt5-Python%%PYTHON_VER%%.so +lib/libPythonQt-Qt5-Python%%PYTHON_VER%%.so.3 +lib/libPythonQt-Qt5-Python%%PYTHON_VER%%.so.3.2 +lib/libPythonQt-Qt5-Python%%PYTHON_VER%%.so.3.2.0 +lib/libPythonQt_QtAll-Qt5-Python%%PYTHON_VER%%.so +lib/libPythonQt_QtAll-Qt5-Python%%PYTHON_VER%%.so.3 +lib/libPythonQt_QtAll-Qt5-Python%%PYTHON_VER%%.so.3.2 +lib/libPythonQt_QtAll-Qt5-Python%%PYTHON_VER%%.so.3.2.0