diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 17:44:23 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-03-30 17:44:23 +0000 |
| commit | fde0a0b5c69d3aad6ff9c3bc3e5a409811dff086 (patch) | |
| tree | 73abf8bb5ad21ccba84f6e768c64512b73c29304 /dev-python | |
| parent | f2b066252b0e859eedde17d45a6e13a5b813b624 (diff) | |
| download | baldeagleos-repo-fde0a0b5c69d3aad6ff9c3bc3e5a409811dff086.tar.gz baldeagleos-repo-fde0a0b5c69d3aad6ff9c3bc3e5a409811dff086.tar.xz baldeagleos-repo-fde0a0b5c69d3aad6ff9c3bc3e5a409811dff086.zip | |
Adding metadata
Diffstat (limited to 'dev-python')
5 files changed, 26 insertions, 54 deletions
diff --git a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch b/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch deleted file mode 100644 index 09c31f8a78b4..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.17.0-expect-hpy-in-pypy-7.3.3.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/tox-dev/pipdeptree/pull/302 - -From 1fc794e66fc5cac464704dda1bc303353386584f Mon Sep 17 00:00:00 2001 -From: Alfred Wingate <parona@protonmail.com> -Date: Tue, 14 Nov 2023 08:36:09 +0200 -Subject: [PATCH] Expect hpy in pypy versions >= 7.3.3 - -Signed-off-by: Alfred Wingate <parona@protonmail.com> ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -32,8 +32,12 @@ def test_custom_interpreter( - implementation = python_implementation() - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} -- elif implementation == "PyPy": -- expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} # pragma: no cover -+ elif implementation == "PyPy": # pragma: no cover -+ # hpy added in 7.3.2, enabled in 7.3.3 -+ if sys.pypy_version_info >= (7, 3, 3): # type: ignore[attr-defined] -+ expected = {"cffi", "greenlet", "hpy", "pip", "readline", "setuptools", "wheel"} -+ else: -+ expected = {"cffi", "greenlet", "pip", "readline", "setuptools", "wheel"} - else: - raise ValueError(implementation) - if sys.version_info >= (3, 12): --- -2.44.0 - diff --git a/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch b/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch deleted file mode 100644 index 32d039fed519..000000000000 --- a/dev-python/pipdeptree/files/pipdeptree-2.18.1-fix-pypy-7.3.14.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/tests/test_non_host.py b/tests/test_non_host.py -index 2849375..ed7b7b3 100644 ---- a/tests/test_non_host.py -+++ b/tests/test_non_host.py -@@ -1,5 +1,6 @@ - from __future__ import annotations - -+import json - import sys - from platform import python_implementation - from typing import TYPE_CHECKING -@@ -31,10 +32,10 @@ def test_custom_interpreter( - result = virtualenv.cli_run([str(tmp_path / "venv"), "--activators", ""]) - py = str(result.creator.exe.relative_to(tmp_path)) - cmd = ["", f"--python={result.creator.exe}"] if args_joined else ["", "--python", py] -- mocker.patch("pipdeptree._discovery.sys.argv", cmd) -+ mocker.patch("pipdeptree._discovery.sys.argv", [*cmd, "-j"]) - main() - out, _ = capfd.readouterr() -- found = {i.split("==")[0] for i in out.splitlines()} -+ found = {i["package"]["package_name"] for i in json.loads(out)} - implementation = python_implementation() - if implementation == "CPython": - expected = {"pip", "setuptools", "wheel"} diff --git a/dev-python/qpageview/Manifest b/dev-python/qpageview/Manifest index 263ac454d066..047f9c4e0ddd 100644 --- a/dev-python/qpageview/Manifest +++ b/dev-python/qpageview/Manifest @@ -1 +1,2 @@ DIST qpageview-0.6.2.gh.tar.gz 159098 BLAKE2B bd28acaf0f2a123963136acd32ce1a7ee72bba3c19f253af821b44e38bbf314ac3ccb48a8c96b06f484d399ed13bd3b8b3cf62e7b2a44d85edb38d04b60ceccf SHA512 80b1d6d4419594bcac195450ab030ab0b4fe3fe92dc9a6db598d1dd2282670f0d0b9d957b3c37313d7002f8f7dbc1bdd101edca81e5edca19c6e33ec4f6e4ffe +DIST qpageview-1.0.0.tar.gz 137299 BLAKE2B 4a6b08993592010847db8935dad117234b85e76407873683c9650161bf053515dc5bc07924a4482bbc412ef2df4847b2648d2b239fe31e9002cb8cd6bcb588ed SHA512 664c79924f184bf3e993b8464cef3e32a266c1c621faac3f82335fb27785b495e6aefe99ff17c1c2a98804bea0920ea7d75005115f702d66ca59e5ba3e77ca03 diff --git a/dev-python/qpageview/qpageview-0.6.2.ebuild b/dev-python/qpageview/qpageview-0.6.2.ebuild index fd840f608d39..84a7d13186d9 100644 --- a/dev-python/qpageview/qpageview-0.6.2.ebuild +++ b/dev-python/qpageview/qpageview-0.6.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI="https://github.com/frescobaldi/qpageview/archive/refs/tags/v${PV}.tar.g # Should be GPL-3+ once cleared up LICENSE="GPL-2+ GPL-3+" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64" RDEPEND=" dev-python/pyqt5[gui,printsupport,svg,widgets,${PYTHON_USEDEP}] diff --git a/dev-python/qpageview/qpageview-1.0.0.ebuild b/dev-python/qpageview/qpageview-1.0.0.ebuild new file mode 100644 index 000000000000..b90d8c658617 --- /dev/null +++ b/dev-python/qpageview/qpageview-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Page-based viewer widget for Qt5/PyQt5" +HOMEPAGE="https://qpageview.org/" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/pyqt6[gui,pdfium,printsupport,svg,widgets,${PYTHON_USEDEP}] +" + +pkg_postinst() { + optfeature "printing support" dev-python/pycups +} |
