From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F19E1582EF for ; Wed, 19 Feb 2025 20:17:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3B4A1343202 for ; Wed, 19 Feb 2025 20:17:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B11A2110473; Wed, 19 Feb 2025 20:17:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A89E3110473 for ; Wed, 19 Feb 2025 20:17:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5FCCE3431B7 for ; Wed, 19 Feb 2025 20:17:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB6FE2736 for ; Wed, 19 Feb 2025 20:17:05 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1739996187.7e9dd2e9e0605d270a5b4abc58dd96f32cbd0697.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/qscintilla/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild X-VCS-Directories: dev-python/qscintilla/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7e9dd2e9e0605d270a5b4abc58dd96f32cbd0697 X-VCS-Branch: master Date: Wed, 19 Feb 2025 20:17:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68d4821f-b7f2-4407-a7e0-7e40d494e1d5 X-Archives-Hash: 0951b5e57db0b4dd8e4724a78b3641a7 commit: 7e9dd2e9e0605d270a5b4abc58dd96f32cbd0697 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed Feb 19 16:54:02 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Feb 19 20:16:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e9dd2e9 dev-python/qscintilla: Drop IUSE qt5, qt6; Qt6-only now Blocking =x11-libs/qscintilla-2.14.1-r0 (no Qt6 option) in order to be able to depend on ~x11-libs/qscintilla-${PV}:=[qt6(+)] Bug: https://bugs.gentoo.org/948062 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild b/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild new file mode 100644 index 000000000000..43b8bd0a0a6c --- /dev/null +++ b/dev-python/qscintilla/qscintilla-2.14.1-r3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit python-r1 qmake-utils out-of-source-utils + +DESCRIPTION="Python bindings for QScintilla" +HOMEPAGE="https://www.riverbankcomputing.com/software/qscintilla/ https://pypi.org/project/QScintilla/" + +MY_PN=QScintilla +MY_P=${MY_PN}_src-${PV/_pre/.dev} +SRC_URI="https://www.riverbankcomputing.com/static/Downloads/${MY_PN}/${PV}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P}/Python + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm64 ~ppc64 x86" +IUSE="debug" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# no tests +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + dev-python/pyqt6[gui,printsupport,widgets,${PYTHON_USEDEP}] + dev-qt/qtbase:6[gui,widgets] + ~x11-libs/qscintilla-${PV}:=[qt6(+)] +" +RDEPEND="${DEPEND} + !=x11-libs/qscintilla-2.14.1-r0 + >=dev-python/pyqt6-sip-13.5:=[${PYTHON_USEDEP}] +" +BDEPEND=" + >=dev-python/pyqt-builder-1.10[${PYTHON_USEDEP}] + >=dev-python/sip-6.2[${PYTHON_USEDEP}] + dev-qt/qtbase:6 +" + +src_prepare() { + default + mv pyproject{-qt6,}.toml || die +} + +src_configure() { + configuration() { + local myconf=( + sip-build + --verbose + --build-dir="${BUILD_DIR}" + --scripts-dir="$(python_get_scriptdir)" + --qmake="$(qt6_get_bindir)"/qmake + --no-make + $(usev debug '--debug --qml-debug --tracing') + ) + echo "${myconf[@]}" + "${myconf[@]}" || die + + run_in_build_dir eqmake6 -recursive PyQt6-${MY_PN}.pro + } + python_foreach_impl configuration +} + +src_compile() { + python_foreach_impl run_in_build_dir default +} + +src_install() { + installation() { + emake INSTALL_ROOT="${D}" install + python_optimize + } + python_foreach_impl run_in_build_dir installation +}