pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/dupeguru dupeguru: fix for python 3.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e44e6b931088
branches:  trunk
changeset: 388682:e44e6b931088
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Nov 25 08:35:17 2022 +0000

description:
dupeguru: fix for python 3.10

Bump PKGREVISION

diffstat:

 sysutils/dupeguru/Makefile                                       |   7 +--
 sysutils/dupeguru/distinfo                                       |   5 ++-
 sysutils/dupeguru/patches/patch-hscommon_gui_selectable__list.py |  15 +++++++++
 sysutils/dupeguru/patches/patch-hscommon_gui_table.py            |  16 ++++++++++
 sysutils/dupeguru/patches/patch-hscommon_gui_tree.py             |  15 +++++++++
 5 files changed, 53 insertions(+), 5 deletions(-)

diffs (96 lines):

diff -r 88e909969b58 -r e44e6b931088 sysutils/dupeguru/Makefile
--- a/sysutils/dupeguru/Makefile        Fri Nov 25 08:25:31 2022 +0000
+++ b/sysutils/dupeguru/Makefile        Fri Nov 25 08:35:17 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.13 2022/11/14 16:47:24 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/11/25 08:35:17 wiz Exp $
 
 DISTNAME=      dupeguru-src-4.0.4_RC
 PKGNAME=       ${DISTNAME:S/-src//:S/_RC/rc1/}
-PKGREVISION=   3
+PKGREVISION=   4
 CATEGORIES=    sysutils
 #MASTER_SITES= https://github.com/arsenetar/dupeguru/releases/download/4.0.4/
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=arsenetar/}
@@ -43,8 +43,7 @@
        ${RM} -rf ${DESTDIR}${PREFIX}/share/dupeguru/send2trash
        ${LN} -s ${DESTDIR}${PREFIX}/share/dupeguru/run.py ${DESTDIR}${PREFIX}/bin/dupeguru
        ${INSTALL_DATA} ${WRKSRC}/build/dupeguru-arch/dupeguru.desktop ${DESTDIR}${PREFIX}/share/applications
-       ${RM} -f ${DESTDIR}${PREFIX}/share/dupeguru/qt/platform.py.orig
-       ${RM} -f ${DESTDIR}${PREFIX}/share/dupeguru/hscommon/sphinxgen.py.orig
+       ${FIND} ${DESTDIR} -name *.orig -delete
 
 .include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
diff -r 88e909969b58 -r e44e6b931088 sysutils/dupeguru/distinfo
--- a/sysutils/dupeguru/distinfo        Fri Nov 25 08:25:31 2022 +0000
+++ b/sysutils/dupeguru/distinfo        Fri Nov 25 08:35:17 2022 +0000
@@ -1,6 +1,9 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 11:19:32 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/11/25 08:35:17 wiz Exp $
 
 BLAKE2s (dupeguru-src-4.0.4_RC.tar.gz) = 643bfac40e5a934322c699e8fb3e290d8b584d7e61104065008b6903da43a5a0
 SHA512 (dupeguru-src-4.0.4_RC.tar.gz) = 991a06afa9fb89ca8294a415d6c1448c6a9fdefb1ff26e08e38686567076ad255be49a7018d7529e72c557597a105b076470750da8a6f87d0ea84444937bb700
 Size (dupeguru-src-4.0.4_RC.tar.gz) = 502389 bytes
 SHA1 (patch-build.py) = 66737c7183cc949f6988a66e06a00d0e6d29d1ec
+SHA1 (patch-hscommon_gui_selectable__list.py) = f2f4802fe202820f42810a3703fdc25338665f68
+SHA1 (patch-hscommon_gui_table.py) = bd0dddec6677535698a8b29dd33b6528be1ceb68
+SHA1 (patch-hscommon_gui_tree.py) = 7369f2df7dfac489c19d5170f0affe546cc73ec0
diff -r 88e909969b58 -r e44e6b931088 sysutils/dupeguru/patches/patch-hscommon_gui_selectable__list.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dupeguru/patches/patch-hscommon_gui_selectable__list.py  Fri Nov 25 08:35:17 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-hscommon_gui_selectable__list.py,v 1.1 2022/11/25 08:35:17 wiz Exp $
+
+Support python 3.10.
+
+--- hscommon/gui/selectable_list.py.orig       2018-11-27 17:30:37.000000000 +0000
++++ hscommon/gui/selectable_list.py
+@@ -6,7 +6,7 @@
+ # which should be included with this package. The terms are also available at 
+ # http://www.gnu.org/licenses/gpl-3.0.html
+ 
+-from collections import Sequence, MutableSequence
++from collections.abc import Sequence, MutableSequence
+ 
+ from .base import GUIObject
+ 
diff -r 88e909969b58 -r e44e6b931088 sysutils/dupeguru/patches/patch-hscommon_gui_table.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dupeguru/patches/patch-hscommon_gui_table.py     Fri Nov 25 08:35:17 2022 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-hscommon_gui_table.py,v 1.1 2022/11/25 08:35:17 wiz Exp $
+
+Support python 3.10.
+
+--- hscommon/gui/table.py.orig 2018-11-27 17:30:37.000000000 +0000
++++ hscommon/gui/table.py
+@@ -6,7 +6,8 @@
+ # which should be included with this package. The terms are also available at
+ # http://www.gnu.org/licenses/gpl-3.0.html
+ 
+-from collections import MutableSequence, namedtuple
++from collections.abc import MutableSequence
++from collections import namedtuple
+ 
+ from .base import GUIObject
+ from .selectable_list import Selectable
diff -r 88e909969b58 -r e44e6b931088 sysutils/dupeguru/patches/patch-hscommon_gui_tree.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/dupeguru/patches/patch-hscommon_gui_tree.py      Fri Nov 25 08:35:17 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-hscommon_gui_tree.py,v 1.1 2022/11/25 08:35:17 wiz Exp $
+
+Support python 3.10.
+
+--- hscommon/gui/tree.py.orig  2018-11-27 17:30:37.000000000 +0000
++++ hscommon/gui/tree.py
+@@ -4,7 +4,7 @@
+ # which should be included with this package. The terms are also available at 
+ # http://www.gnu.org/licenses/gpl-3.0.html
+ 
+-from collections import MutableSequence
++from collections.abc import MutableSequence
+ 
+ from .base import GUIObject
+ 



Home | Main Index | Thread Index | Old Index