pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/py-qt-builder



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Aug  4 17:10:08 UTC 2023

Modified Files:
        pkgsrc/x11/py-qt-builder: distinfo
Added Files:
        pkgsrc/x11/py-qt-builder/patches: patch-pyqtbuild_builder.py

Log Message:
py-qt-builder: fix for Darwin - application bundles are not supported


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/x11/py-qt-builder/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/x11/py-qt-builder/patches/patch-pyqtbuild_builder.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/py-qt-builder/distinfo
diff -u pkgsrc/x11/py-qt-builder/distinfo:1.8 pkgsrc/x11/py-qt-builder/distinfo:1.9
--- pkgsrc/x11/py-qt-builder/distinfo:1.8       Tue Jul 25 08:27:21 2023
+++ pkgsrc/x11/py-qt-builder/distinfo   Fri Aug  4 17:10:07 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.8 2023/07/25 08:27:21 adam Exp $
+$NetBSD: distinfo,v 1.9 2023/08/04 17:10:07 adam Exp $
 
 BLAKE2s (PyQt-builder-1.15.2.tar.gz) = 1a0ac9f788f751955f3e3d7df0a237aab5a46d6e4588805252c6dedd996a939e
 SHA512 (PyQt-builder-1.15.2.tar.gz) = 3f8472ec51e9b456df80355d0351a66ea42902f81099993d57ae2c7f02c4ab142fa8089a87059f9e800a610d865e3e30bf890674b3a21f48eeb8375ec883f518
 Size (PyQt-builder-1.15.2.tar.gz) = 3908851 bytes
+SHA1 (patch-pyqtbuild_builder.py) = bcf4ce553412ca9df42c2c29867b4e7bfa6b250a

Added files:

Index: pkgsrc/x11/py-qt-builder/patches/patch-pyqtbuild_builder.py
diff -u /dev/null pkgsrc/x11/py-qt-builder/patches/patch-pyqtbuild_builder.py:1.1
--- /dev/null   Fri Aug  4 17:10:08 2023
+++ pkgsrc/x11/py-qt-builder/patches/patch-pyqtbuild_builder.py Fri Aug  4 17:10:08 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-pyqtbuild_builder.py,v 1.1 2023/08/04 17:10:08 adam Exp $
+
+On Darwin, do not support application bundles.
+
+--- pyqtbuild/builder.py.orig  2023-08-04 17:04:58.000000000 +0000
++++ pyqtbuild/builder.py
+@@ -609,11 +609,7 @@ macx {
+         else:
+             makefile_target = None
+ 
+-            if project.py_platform == 'darwin':
+-                platform_exe = os.path.join(exe + '.app', 'Contents', 'MacOS',
+-                        exe)
+-            else:
+-                platform_exe = os.path.join('.', exe)
++            platform_exe = os.path.join('.', exe)
+ 
+         # Make sure the executable doesn't exist.
+         self._remove_file(platform_exe)



Home | Main Index | Thread Index | Old Index