public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2017-12-24 17:12 Patrice Clement
  0 siblings, 0 replies; 9+ messages in thread
From: Patrice Clement @ 2017-12-24 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     5858b9d7b5d16b36391de6fa768b37ebc828f0da
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Dec 23 20:31:37 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 17:12:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5858b9d7

dev-python/PythonQt: prevent using with Qt greater then 5.7

1. Added Python 3.6 to PYTHON_COMPAT.
2. Restricted Qt dependencies to 5.7 (wrt #634544)

Package-Manager: Portage-2.3.13, Repoman-2.3.3
Closes: https://github.com/gentoo/gentoo/pull/6610

 dev-python/PythonQt/PythonQt-3.1-r1.ebuild | 88 ++++++++++++++++++++++++++++++
 1 file changed, 88 insertions(+)

diff --git a/dev-python/PythonQt/PythonQt-3.1-r1.ebuild b/dev-python/PythonQt/PythonQt-3.1-r1.ebuild
new file mode 100644
index 00000000000..efab4efcc45
--- /dev/null
+++ b/dev-python/PythonQt/PythonQt-3.1-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+MY_P=${PN}${PV}
+
+inherit qmake-utils python-single-r1
+
+DESCRIPTION="A dynamic Python binding for the Qt framework"
+HOMEPAGE="http://pythonqt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pythonqt/pythonqt/${P}/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +extensions webkit"
+
+RDEPEND="${PYTHON_DEPS}
+	<dev-qt/qtcore-5.9:5
+	<dev-qt/qtgui-5.9:5
+	<dev-qt/qtwidgets-5.9:5
+	extensions? (
+		<dev-qt/designer-5.9:5
+		<dev-qt/qtdeclarative-5.9:5[widgets]
+		<dev-qt/qtmultimedia-5.9:5[widgets]
+		<dev-qt/qtnetwork-5.9:5
+		<dev-qt/qtopengl-5.9:5
+		<dev-qt/qtprintsupport-5.9:5
+		<dev-qt/qtsql-5.9:5
+		<dev-qt/qtsvg-5.9:5
+		<dev-qt/qtxml-5.9:5
+		<dev-qt/qtxmlpatterns-5.9:5
+		webkit? ( <dev-qt/qtwebkit-5.9:5 )
+	)"
+DEPEND="${RDEPEND}
+	<dev-qt/qtxml-5.9:5
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="webkit? ( extensions ) ${PYTHON_REQUIRED_USE}"
+
+# Bring uitools back, backport other fixes from trunk
+PATCHES=( "${FILESDIR}/${P}-commit-433-441.patch" )
+
+src_prepare() {
+	default
+
+	if ! use extensions ; then
+		sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions"
+	fi
+	if ! use webkit ; then
+		# Remove webkit support if not used
+		sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
+			extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
+			|| die "sed for webkit"
+	fi
+
+	# Unset python version to use python-config
+	sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \
+		|| die "sed for python version"
+}
+
+src_configure() {
+	eqmake5 PREFIX="${ED%/}"/usr
+}
+
+src_install() {
+	einstalldocs
+
+	# Includes
+	insinto /usr/include/PythonQt
+	doins -r src/*.h
+	insinto /usr/include/PythonQt/gui
+	doins -r src/gui/*.h
+
+	if use extensions ; then
+		insinto /usr/include/PythonQt/extensions/PythonQt_QtAll
+		doins -r extensions/PythonQt_QtAll/*.h
+	fi
+
+	# Libraries
+	dolib.so lib/libPythonQt*
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2017-12-24 17:12 Patrice Clement
  0 siblings, 0 replies; 9+ messages in thread
From: Patrice Clement @ 2017-12-24 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     6235e2268f6f33420a426447bba0c9a5d823a799
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sat Dec 23 20:32:11 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 17:12:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6235e226

dev-python/PythonQt: version bump to 3.2.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/PythonQt/Manifest            |  1 +
 dev-python/PythonQt/PythonQt-3.2.ebuild | 85 +++++++++++++++++++++++++++++++++
 2 files changed, 86 insertions(+)

diff --git a/dev-python/PythonQt/Manifest b/dev-python/PythonQt/Manifest
index 344e20b7239..6301ac437fb 100644
--- a/dev-python/PythonQt/Manifest
+++ b/dev-python/PythonQt/Manifest
@@ -1 +1,2 @@
 DIST PythonQt3.1.zip 4526699 BLAKE2B 37d79f4d12bc1e4909d08c0ba4c2b95c233aba5097898498575733f323a8d1a5079e85e35e6272d0271421cb945d8a359330ba5ac9854ebcc7b95030b6cf1ad1 SHA512 b3c208e3f909ebb15d40a6e83385f03e6196a8439e39cad4f924e7b1e774edbce83680298ab032161619d1358696a0d073028860f68540aadd8028b712ae8fc1
+DIST PythonQt3.2.zip 4539058 BLAKE2B c50b8333b71b6cbce6f372a0292a0ccfe791dc7eae5c660d4e6d1f5f2b3355644e3fd8cce9a514f0500e935f96c46976d0046ddd716465adb35d225e3c4cfeca SHA512 1ee0f50f5035568b38e945108f5496ba64355c6357c1ea8dfc17ad90fa360540769f94e0b3e0e398176e8a21c8afe139607f0b5a2e82c63f1cbd40201a25e0f0

diff --git a/dev-python/PythonQt/PythonQt-3.2.ebuild b/dev-python/PythonQt/PythonQt-3.2.ebuild
new file mode 100644
index 00000000000..9808ceef7b6
--- /dev/null
+++ b/dev-python/PythonQt/PythonQt-3.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+MY_P=${PN}${PV}
+
+inherit qmake-utils python-single-r1
+
+DESCRIPTION="A dynamic Python binding for the Qt framework"
+HOMEPAGE="http://pythonqt.sourceforge.net/"
+SRC_URI="mirror://sourceforge/pythonqt/pythonqt/${P}/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +extensions webkit"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	extensions? (
+		dev-qt/designer:5
+		dev-qt/qtdeclarative:5[widgets]
+		dev-qt/qtmultimedia:5[widgets]
+		dev-qt/qtnetwork:5
+		dev-qt/qtopengl:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtxml:5
+		dev-qt/qtxmlpatterns:5
+		webkit? ( dev-qt/qtwebkit:5 )
+	)"
+DEPEND="${RDEPEND}
+	dev-qt/qtxml:5
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/${MY_P}"
+
+REQUIRED_USE="webkit? ( extensions ) ${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+	default
+
+	if ! use extensions ; then
+		sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions"
+	fi
+	if ! use webkit ; then
+		# Remove webkit support if not used
+		sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
+			extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
+			|| die "sed for webkit"
+	fi
+
+	# Unset python version to use python-config
+	sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \
+		|| die "sed for python version"
+}
+
+src_configure() {
+	eqmake5 PREFIX="${ED%/}"/usr
+}
+
+src_install() {
+	einstalldocs
+
+	# Includes
+	insinto /usr/include/PythonQt
+	doins -r src/*.h
+	insinto /usr/include/PythonQt/gui
+	doins -r src/gui/*.h
+
+	if use extensions ; then
+		insinto /usr/include/PythonQt/extensions/PythonQt_QtAll
+		doins -r extensions/PythonQt_QtAll/*.h
+	fi
+
+	# Libraries
+	dolib.so lib/libPythonQt*
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2018-06-27 20:32 Pacho Ramos
  0 siblings, 0 replies; 9+ messages in thread
From: Pacho Ramos @ 2018-06-27 20:32 UTC (permalink / raw
  To: gentoo-commits

commit:     a73bee16e415fc209c9afed8634d46e536711acc
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 27 20:01:51 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jun 27 20:32:29 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a73bee16

dev-python/PythonQt: Support python3.6

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 dev-python/PythonQt/PythonQt-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-9999.ebuild b/dev-python/PythonQt/PythonQt-9999.ebuild
index 78f9df35233..8285e93ee4c 100644
--- a/dev-python/PythonQt/PythonQt-9999.ebuild
+++ b/dev-python/PythonQt/PythonQt-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 
 MY_P=${PN}${PV}
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-02-05 20:47 Michał Górny
  0 siblings, 0 replies; 9+ messages in thread
From: Michał Górny @ 2020-02-05 20:47 UTC (permalink / raw
  To: gentoo-commits

commit:     6545587232e5fadbec05c4f80a1ff7b55d908061
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  5 20:29:17 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb  5 20:47:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65455872

dev-python/PythonQt: Remove py2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-3.2.ebuild  | 2 +-
 dev-python/PythonQt/PythonQt-9999.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-3.2.ebuild b/dev-python/PythonQt/PythonQt-3.2.ebuild
index e6f1e98cc5a..9421d91aa5a 100644
--- a/dev-python/PythonQt/PythonQt-3.2.ebuild
+++ b/dev-python/PythonQt/PythonQt-3.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 MY_P=${PN}${PV}
 

diff --git a/dev-python/PythonQt/PythonQt-9999.ebuild b/dev-python/PythonQt/PythonQt-9999.ebuild
index 121aa21e910..e142455bfc0 100644
--- a/dev-python/PythonQt/PythonQt-9999.ebuild
+++ b/dev-python/PythonQt/PythonQt-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 
 MY_P=${PN}${PV}
 


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-02-26 11:49 Andreas Sturmlechner
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2020-02-26 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     25429564222acbcf2e79009dfb07f5a27e6a7279
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 11:05:52 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 11:45:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25429564

dev-python/PythonQt: Fix BDEPEND/DEPEND

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-3.2-r1.ebuild | 6 +++---
 dev-python/PythonQt/PythonQt-9999.ebuild   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-3.2-r1.ebuild b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
index bcdb4e6683c..39deaa6db27 100644
--- a/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
+++ b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
@@ -37,11 +37,11 @@ RDEPEND="${PYTHON_DEPS}
 		dev-qt/qtxmlpatterns:5
 	)"
 DEPEND="${RDEPEND}
-	dev-qt/qtxml:5"
+	dev-qt/qtxml:5
+	test? ( dev-qt/qttest:5 )"
 BDEPEND="app-arch/unzip
 	virtual/pkgconfig
-	doc? ( app-doc/doxygen )
-	test? ( dev-qt/qttest:5 )"
+	doc? ( app-doc/doxygen )"
 
 S="${WORKDIR}/${MY_P}"
 

diff --git a/dev-python/PythonQt/PythonQt-9999.ebuild b/dev-python/PythonQt/PythonQt-9999.ebuild
index 83cfa0ff973..01939249e83 100644
--- a/dev-python/PythonQt/PythonQt-9999.ebuild
+++ b/dev-python/PythonQt/PythonQt-9999.ebuild
@@ -37,11 +37,11 @@ RDEPEND="${PYTHON_DEPS}
 		dev-qt/qtxmlpatterns:5
 	)"
 DEPEND="${RDEPEND}
-	dev-qt/qtxml:5"
+	dev-qt/qtxml:5
+	test? ( dev-qt/qttest:5 )"
 BDEPEND="app-arch/unzip
 	virtual/pkgconfig
-	doc? ( app-doc/doxygen )
-	test? ( dev-qt/qttest:5 )"
+	doc? ( app-doc/doxygen )"
 
 src_prepare() {
 	default


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-02-26 11:49 Andreas Sturmlechner
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2020-02-26 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     2898c16869a5b5fc213e4bf40d9c89e7908efb18
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Sun Feb 16 21:11:52 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 11:45:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2898c168

dev-python/PythonQt: python3_7, EAPI 7, fix revdep, tests

1. add github reference in metadata
2. move to EAPI 7
3. add python3_7
4. add tests
5. add missed app-arch/unzip
6. don't build tests and examples
7. remove webkit USE flag

Closes: https://bugs.gentoo.org/708700
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Closes: https://github.com/gentoo/gentoo/pull/14680
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-3.2-r1.ebuild | 95 ++++++++++++++++++++++++++++++
 dev-python/PythonQt/metadata.xml           | 14 ++---
 2 files changed, 102 insertions(+), 7 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-3.2-r1.ebuild b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
new file mode 100644
index 00000000000..5ca6174c99f
--- /dev/null
+++ b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+MY_P=${PN}${PV}
+
+inherit qmake-utils python-single-r1 virtualx
+
+DESCRIPTION="A dynamic Python binding for the Qt framework"
+HOMEPAGE="https://mevislab.github.io/pythonqt"
+SRC_URI="mirror://sourceforge/pythonqt/pythonqt/${P}/${MY_P}.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples +extensions test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+	extensions? (
+		dev-qt/designer:5
+		dev-qt/qtdeclarative:5[widgets]
+		dev-qt/qtmultimedia:5[widgets]
+		dev-qt/qtnetwork:5
+		dev-qt/qtopengl:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtsql:5
+		dev-qt/qtsvg:5
+		dev-qt/qtxml:5
+		dev-qt/qtxmlpatterns:5 )"
+DEPEND="${RDEPEND}
+	dev-qt/qtxml:5"
+BDEPEND="app-arch/unzip
+	virtual/pkgconfig
+	doc? ( app-doc/doxygen )
+	test? ( dev-qt/qttest:5 )"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+	default
+
+	if ! use examples ; then
+		sed -i '/SUBDIRS/s/examples//' PythonQt.pro || die "sed for examples"
+	fi
+	if ! use extensions ; then
+		sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions"
+	fi
+	if ! use test ; then
+		sed -i '/SUBDIRS/s/tests//' PythonQt.pro || die "sed for test"
+	fi
+
+	# Remove webkit support
+	sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
+		extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
+		|| die "sed for webkit"
+
+	# Unset python version to use python-config
+	sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \
+		|| die "sed for python version"
+}
+
+src_configure() {
+	eqmake5 CONFIG+="$(usex debug debug release '' '')" PREFIX="${ED}"/usr
+}
+
+src_test() {
+	LD_PRELOAD="${S}"/lib/libPythonQt-Qt5-Python"$(usex debug _d '' '' '')".so.3 \
+		virtx ./lib/PythonQtTest"$(usex debug _d '' '' '')"
+}
+
+src_install() {
+	einstalldocs
+
+	# Includes
+	insinto /usr/include/PythonQt
+	doins -r src/*.h
+	insinto /usr/include/PythonQt/gui
+	doins -r src/gui/*.h
+
+	if use extensions ; then
+		insinto /usr/include/PythonQt/extensions/PythonQt_QtAll
+		doins -r extensions/PythonQt_QtAll/*.h
+	fi
+
+	# Libraries
+	dolib.so lib/libPythonQt*
+}

diff --git a/dev-python/PythonQt/metadata.xml b/dev-python/PythonQt/metadata.xml
index 1b4473ec008..32c82921dcc 100644
--- a/dev-python/PythonQt/metadata.xml
+++ b/dev-python/PythonQt/metadata.xml
@@ -9,18 +9,18 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
-	<longdescription>
-PythonQt is a dynamic Python binding for the Qt framework.
-It offers an easy way to embed the Python scripting language into your C++ Qt applications.
-The focus of PythonQt is on embedding Python into an existing C++ application,
-not on writing the whole application completely in Python.
+	<longdescription lang="en">
+	PythonQt is a dynamic Python binding for the Qt framework.
+	It offers an easy way to embed the Python scripting language into
+	your C++ Qt applications. The focus of PythonQt is on embedding Python
+	into an existing C++ application, not on writing the whole application
+	completely in Python.
 	</longdescription>
 	<use>
 		<flag name="extensions">Install extensions</flag>
 	</use>
 	<upstream>
-		<changelog>https://sourceforge.net/p/pythonqt/news/</changelog>
-		<doc>http://pythonqt.sourceforge.net/index.html</doc>
+		<remote-id type="github">MeVisLab/pythonqt</remote-id>
 		<remote-id type="sourceforge">pythonqt</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-02-26 11:49 Andreas Sturmlechner
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2020-02-26 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     46d54cd7fa079d1f188f626a94896180eea73f89
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Mon Feb 17 18:59:12 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 11:45:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46d54cd7

dev-python/PythonQt: update live ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Vladimir Pavljuchenkov <spiderx <AT> spiderx.dp.ua>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-9999.ebuild | 52 ++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 23 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-9999.ebuild b/dev-python/PythonQt/PythonQt-9999.ebuild
index e142455bfc0..8554b891806 100644
--- a/dev-python/PythonQt/PythonQt-9999.ebuild
+++ b/dev-python/PythonQt/PythonQt-9999.ebuild
@@ -1,23 +1,23 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7} )
+EGIT_REPO_URI="https://github.com/MeVisLab/pythonqt.git"
 
-MY_P=${PN}${PV}
-
-inherit qmake-utils python-single-r1 subversion
+inherit git-r3 qmake-utils python-single-r1 virtualx
 
 DESCRIPTION="A dynamic Python binding for the Qt framework"
-HOMEPAGE="http://pythonqt.sourceforge.net/"
+HOMEPAGE="https://mevislab.github.io/pythonqt"
 SRC_URI=""
-ESVN_REPO_URI="https://pythonqt.svn.sourceforge.net/svnroot/pythonqt/trunk"
 
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS=""
-IUSE="doc +extensions webkit"
+IUSE="debug doc examples +extensions test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
 
 RDEPEND="${PYTHON_DEPS}
 	dev-qt/qtcore:5
@@ -33,38 +33,44 @@ RDEPEND="${PYTHON_DEPS}
 		dev-qt/qtsql:5
 		dev-qt/qtsvg:5
 		dev-qt/qtxml:5
-		dev-qt/qtxmlpatterns:5
-		webkit? ( dev-qt/qtwebkit:5 )
-	)"
+		dev-qt/qtxmlpatterns:5 )"
 DEPEND="${RDEPEND}
-	dev-qt/qtxml:5
+	dev-qt/qtxml:5"
+BDEPEND="app-arch/unzip
 	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-REQUIRED_USE="webkit? ( extensions ) ${PYTHON_REQUIRED_USE}"
+	doc? ( app-doc/doxygen )
+	test? ( dev-qt/qttest:5 )"
 
 src_prepare() {
 	default
 
+	if ! use examples ; then
+		sed -i '/SUBDIRS/s/examples//' PythonQt.pro || die "sed for examples"
+	fi
 	if ! use extensions ; then
 		sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions"
 	fi
-	if ! use webkit ; then
-		# Remove webkit support if not used
-		sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
-			extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
-			|| die "sed for webkit"
+	if ! use test ; then
+		sed -i '/SUBDIRS/s/tests//' PythonQt.pro || die "sed for test"
 	fi
 
+	# Remove webkit support if not used
+	sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
+		extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
+		|| die "sed for webkit"
+
 	# Unset python version to use python-config
 	sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \
 		|| die "sed for python version"
 }
 
 src_configure() {
-	eqmake5 PREFIX="${ED%/}"/usr
+	eqmake5 CONFIG+="$(usex debug debug release '' '')" PREFIX="${ED}"/usr
+}
+
+src_test() {
+	LD_PRELOAD="${S}"/lib/libPythonQt-Qt5-Python"$(usex debug _d '' '' '')".so.3 \
+		virtx ./lib/PythonQtTest"$(usex debug _d '' '' '')"
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-02-26 11:49 Andreas Sturmlechner
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2020-02-26 11:49 UTC (permalink / raw
  To: gentoo-commits

commit:     750768b7a682c20607e25e9133b26f1847a7ef51
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 26 11:05:08 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb 26 11:45:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750768b7

dev-python/PythonQt: Minor ebuild style++

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-3.2-r1.ebuild | 5 +++--
 dev-python/PythonQt/PythonQt-9999.ebuild   | 4 +++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-3.2-r1.ebuild b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
index 5ca6174c99f..bcdb4e6683c 100644
--- a/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
+++ b/dev-python/PythonQt/PythonQt-3.2-r1.ebuild
@@ -4,7 +4,6 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7} )
-
 MY_P=${PN}${PV}
 
 inherit qmake-utils python-single-r1 virtualx
@@ -18,6 +17,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="debug doc examples +extensions test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 RESTRICT="!test? ( test )"
 
 RDEPEND="${PYTHON_DEPS}
@@ -34,7 +34,8 @@ RDEPEND="${PYTHON_DEPS}
 		dev-qt/qtsql:5
 		dev-qt/qtsvg:5
 		dev-qt/qtxml:5
-		dev-qt/qtxmlpatterns:5 )"
+		dev-qt/qtxmlpatterns:5
+	)"
 DEPEND="${RDEPEND}
 	dev-qt/qtxml:5"
 BDEPEND="app-arch/unzip

diff --git a/dev-python/PythonQt/PythonQt-9999.ebuild b/dev-python/PythonQt/PythonQt-9999.ebuild
index 8554b891806..83cfa0ff973 100644
--- a/dev-python/PythonQt/PythonQt-9999.ebuild
+++ b/dev-python/PythonQt/PythonQt-9999.ebuild
@@ -17,6 +17,7 @@ SLOT="0"
 KEYWORDS=""
 IUSE="debug doc examples +extensions test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
 RESTRICT="!test? ( test )"
 
 RDEPEND="${PYTHON_DEPS}
@@ -33,7 +34,8 @@ RDEPEND="${PYTHON_DEPS}
 		dev-qt/qtsql:5
 		dev-qt/qtsvg:5
 		dev-qt/qtxml:5
-		dev-qt/qtxmlpatterns:5 )"
+		dev-qt/qtxmlpatterns:5
+	)"
 DEPEND="${RDEPEND}
 	dev-qt/qtxml:5"
 BDEPEND="app-arch/unzip


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/
@ 2020-03-11 22:31 Andreas Sturmlechner
  0 siblings, 0 replies; 9+ messages in thread
From: Andreas Sturmlechner @ 2020-03-11 22:31 UTC (permalink / raw
  To: gentoo-commits

commit:     6d38fdbd9b720f1f047db59fa748a2c8d904c8cb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 22:30:56 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 22:31:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d38fdbd

dev-python/PythonQt: Drop 3.2 (r0)

Dropping another dev-qt/qtwebkit:5 revdep.

Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-python/PythonQt/PythonQt-3.2.ebuild | 85 ---------------------------------
 1 file changed, 85 deletions(-)

diff --git a/dev-python/PythonQt/PythonQt-3.2.ebuild b/dev-python/PythonQt/PythonQt-3.2.ebuild
deleted file mode 100644
index 9421d91aa5a..00000000000
--- a/dev-python/PythonQt/PythonQt-3.2.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-MY_P=${PN}${PV}
-
-inherit qmake-utils python-single-r1
-
-DESCRIPTION="A dynamic Python binding for the Qt framework"
-HOMEPAGE="http://pythonqt.sourceforge.net/"
-SRC_URI="mirror://sourceforge/pythonqt/pythonqt/${P}/${MY_P}.zip"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc +extensions webkit"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-qt/qtcore:5
-	dev-qt/qtgui:5
-	dev-qt/qtwidgets:5
-	extensions? (
-		dev-qt/designer:5
-		dev-qt/qtdeclarative:5[widgets]
-		dev-qt/qtmultimedia:5[widgets]
-		dev-qt/qtnetwork:5
-		dev-qt/qtopengl:5
-		dev-qt/qtprintsupport:5
-		dev-qt/qtsql:5
-		dev-qt/qtsvg:5
-		dev-qt/qtxml:5
-		dev-qt/qtxmlpatterns:5
-		webkit? ( dev-qt/qtwebkit:5 )
-	)"
-DEPEND="${RDEPEND}
-	dev-qt/qtxml:5
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-S="${WORKDIR}/${MY_P}"
-
-REQUIRED_USE="webkit? ( extensions ) ${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-	default
-
-	if ! use extensions ; then
-		sed -i '/SUBDIRS/s/extensions//' PythonQt.pro || die "sed for extensions"
-	fi
-	if ! use webkit ; then
-		# Remove webkit support if not used
-		sed -i '/qtHaveModule(webkit):CONFIG += PythonQtWebKit/d' \
-			extensions/PythonQt_QtAll/PythonQt_QtAll.pro \
-			|| die "sed for webkit"
-	fi
-
-	# Unset python version to use python-config
-	sed -i "/unix:PYTHON_VERSION=/s/2.7//" build/python.prf \
-		|| die "sed for python version"
-}
-
-src_configure() {
-	eqmake5 PREFIX="${ED%/}"/usr
-}
-
-src_install() {
-	einstalldocs
-
-	# Includes
-	insinto /usr/include/PythonQt
-	doins -r src/*.h
-	insinto /usr/include/PythonQt/gui
-	doins -r src/gui/*.h
-
-	if use extensions ; then
-		insinto /usr/include/PythonQt/extensions/PythonQt_QtAll
-		doins -r extensions/PythonQt_QtAll/*.h
-	fi
-
-	# Libraries
-	dolib.so lib/libPythonQt*
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-03-11 22:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27 20:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/PythonQt/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2020-03-11 22:31 Andreas Sturmlechner
2020-02-26 11:49 Andreas Sturmlechner
2020-02-26 11:49 Andreas Sturmlechner
2020-02-26 11:49 Andreas Sturmlechner
2020-02-26 11:49 Andreas Sturmlechner
2020-02-05 20:47 Michał Górny
2017-12-24 17:12 Patrice Clement
2017-12-24 17:12 Patrice Clement

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox