[BACK]Return to patch-build.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / dupeguru / patches

File: [cvs.NetBSD.org] / pkgsrc / sysutils / dupeguru / patches / patch-build.py (download)

Revision 1.2, Fri Apr 3 21:59:48 2020 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, HEAD
Changes since 1.1: +5 -5 lines

dupeguru: update to 4.0.4rc1.

Fixes build.

Changes Since Last Release

    Update qt/platform.py to support other Unix style OSes (#444)
    Fix font size scaling issue in properties dialog [qt] (#504)
    Updates to support Python 3.7
    Fix issue with result window appearing partially off-screen [qt] (#521)
    Fix translation error for Simplified Chinese
    Updates to language files for German (#479)
    Fix error with multiple close calls to the progress window [qt] (#460, #449)
    Add Travis CI Builds
    Un-recurse methods get_files() and get_state() to improve stability (#421)
    Updates to language files for Italian (#445, #446, #447, #448)
    Fix issue with cache_shelve (#402, #439)
    Updated Windows packaging and builds (#438, #456, #461, #491, #474, #490, #565)
    Handle OS termination signals (#425)
    Make documentation installation optional
    Move cocoa UI to dupeguru-cocoa [cocoa]

$NetBSD: patch-build.py,v 1.2 2020/04/03 21:59:48 wiz Exp $

pyrcc5 is python-version-specific.

--- build.py.orig	2019-05-14 01:43:47.000000000 +0000
+++ build.py
@@ -125,7 +125,8 @@ def build_normal():
     print("Building localizations")
     build_localizations()
     print("Building Qt stuff")
-    print_and_do("pyrcc5 {0} > {1}".format(op.join('qt', 'dg.qrc'), op.join('qt', 'dg_rc.py')))
+    pyrcc5 = "pyrcc5-" + os.environ["PYVERSSUFFIX"]
+    print_and_do(pyrcc5 +" {0} > {1}".format(op.join('qt', 'dg.qrc'), op.join('qt', 'dg_rc.py')))
     fix_qt_resource_file(op.join('qt', 'dg_rc.py'))
     build_help()