commit:     d00f9795f5cfb47a571a854276fd856f56b26a2f
Author:     Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch>
AuthorDate: Fri Mar 28 21:05:29 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 13 01:45:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00f9795

media-gfx/hydrus: Add 612 with python 3.12 support, update 9999

Closes: https://bugs.gentoo.org/952154

Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch>
Part-of: https://github.com/gentoo/gentoo/pull/41358
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/hydrus/Manifest                                  |  2 ++
 media-gfx/hydrus/{hydrus-9999.ebuild => hydrus-615.ebuild} | 11 ++++++++---
 media-gfx/hydrus/hydrus-9999.ebuild                        | 11 ++++++++---
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/media-gfx/hydrus/Manifest b/media-gfx/hydrus/Manifest
index adeb85474280..9544ebfcdff4 100644
--- a/media-gfx/hydrus/Manifest
+++ b/media-gfx/hydrus/Manifest
@@ -1,3 +1,5 @@
 DIST hydrus-3500-mpeg-error.patch 1632 BLAKE2B 
9cc969a3a2d476ea606f3f280ecd6e4cc7f628420586e651377945d370a6c50464b118da1c96a577bc55b13bbac946801b9cff251922299f91e4a76dabf7edf9
 SHA512 
8769d63c7b2a345e1a7bfa0dae200bca03b991ef6a217150e3f50c95f3d1235305242348aa8fabf1183fc3d787498bbead8a96145e4cdd2251f67032469f095c
 DIST hydrus-571.tar.gz 46371027 BLAKE2B 
b0ca6a4d7fddb79808340c03d6ba6291021af752be95144b8475a12450394f21e76c5fd80a2f6094f21d6f4af25db22f5f8d2eb79fd3494be609d6bdcdb455cb
 SHA512 
3d6b6dec777332128858fcd62f52026fd7a4ab831f7cc0b3a3af76d52b6c6d1ff7b9687554aa5569988386e1eb0b33111172029e25f0acb9f36bb1cd70fcccbc
+DIST hydrus-615.tar.gz 44914366 BLAKE2B 
1d0f87af8378647ded8ae486b90fd259875cbb9a23c6d30cd3d1c9739a066684be1556e6914ae14ef865292131e28c91e82765269ac00a366afa72c6efe6e8fc
 SHA512 
bcb05e78bdf1c2a27901e62cfb70f646e15953288cf7eed2379e8111ebcebe476cb2b4e8c209140dd6ab84cc9839d22ef9cf99dc883b60a8974931fd11ae969a
+DIST hydrus-test-fixes-3.12.patch 1856 BLAKE2B 
a09871bd4b7844d4ed3aee189020360b8589aa70619fe612747f81fbeefd9a750e948a2b124afc458585113d9dddeae1cb3dfc01723e8feec6623b3e123fd0af
 SHA512 
e679ebe6bde1a15ede42c35a10eef18fe1ee048db795befb586a68f0e9a98c74f1a28e51511a8f49bce93f136d227eedd76e4c728ecd9fd9afa071353889ac5e
 DIST hydrus-test-fixes.patch 820 BLAKE2B 
9d912868142cd3e7763241652e81172236094de6d0cf4df888d7203d34ed37b469c4829401a6e3bda945e3683db9f8e577ef21040cb5d57b0e6c01c2c619655b
 SHA512 
a6a322a77638122fdd1f74ca57c23360aa8d58d97877e9517db9d185c11a8187e807b9478533a97a4654d58342b0541cc7eb89b83075bc4c38ceda0effe06ce0

diff --git a/media-gfx/hydrus/hydrus-9999.ebuild 
b/media-gfx/hydrus/hydrus-615.ebuild
similarity index 92%
copy from media-gfx/hydrus/hydrus-9999.ebuild
copy to media-gfx/hydrus/hydrus-615.ebuild
index 0a2743c1a8cf..753c52bfc33c 100644
--- a/media-gfx/hydrus/hydrus-9999.ebuild
+++ b/media-gfx/hydrus/hydrus-615.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{11..12} )
 PYTHON_REQ_USE="sqlite"
 
 DOCS_BUILDER=mkdocs
@@ -19,7 +19,10 @@ if [[ "${PV}" == "9999" ]]; then
 
        EGIT_REPO_URI="https://github.com/hydrusnetwork/hydrus.git";
 else
-       SRC_URI="https://github.com/hydrusnetwork/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+       SRC_URI="
+               https://github.com/hydrusnetwork/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+               
https://github.com/vaartis/hydrus/commit/d836d555cb5a3621c38b1c607d29be0fe407e062.patch
 -> hydrus-test-fixes-3.12.patch
+"
 
        KEYWORDS="~amd64"
 fi
@@ -56,6 +59,7 @@ RDEPEND="
                dev-python/send2trash[${PYTHON_USEDEP}]
                dev-python/service-identity[${PYTHON_USEDEP}]
                dev-python/twisted[${PYTHON_USEDEP}]
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
 
                dev-python/qtpy[widgets,gui,svg,multimedia,${PYTHON_USEDEP}]
 
@@ -75,6 +79,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}/userpath-in-local-share.patch"
+       "${DISTDIR}/hydrus-test-fixes-3.12.patch"
 )
 
 src_prepare() {

diff --git a/media-gfx/hydrus/hydrus-9999.ebuild 
b/media-gfx/hydrus/hydrus-9999.ebuild
index 0a2743c1a8cf..753c52bfc33c 100644
--- a/media-gfx/hydrus/hydrus-9999.ebuild
+++ b/media-gfx/hydrus/hydrus-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{11..12} )
 PYTHON_REQ_USE="sqlite"
 
 DOCS_BUILDER=mkdocs
@@ -19,7 +19,10 @@ if [[ "${PV}" == "9999" ]]; then
 
        EGIT_REPO_URI="https://github.com/hydrusnetwork/hydrus.git";
 else
-       SRC_URI="https://github.com/hydrusnetwork/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+       SRC_URI="
+               https://github.com/hydrusnetwork/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+               
https://github.com/vaartis/hydrus/commit/d836d555cb5a3621c38b1c607d29be0fe407e062.patch
 -> hydrus-test-fixes-3.12.patch
+"
 
        KEYWORDS="~amd64"
 fi
@@ -56,6 +59,7 @@ RDEPEND="
                dev-python/send2trash[${PYTHON_USEDEP}]
                dev-python/service-identity[${PYTHON_USEDEP}]
                dev-python/twisted[${PYTHON_USEDEP}]
+               dev-python/python-dateutil[${PYTHON_USEDEP}]
 
                dev-python/qtpy[widgets,gui,svg,multimedia,${PYTHON_USEDEP}]
 
@@ -75,6 +79,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}/userpath-in-local-share.patch"
+       "${DISTDIR}/hydrus-test-fixes-3.12.patch"
 )
 
 src_prepare() {

Reply via email to