pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/py-qwt-qt4 don't assume native python installation...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba93b1a300a1
branches:  trunk
changeset: 645333:ba93b1a300a1
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Tue Jan 27 06:11:12 2015 +0000

description:
don't assume native python installation on Darwin

diffstat:

 x11/py-qwt-qt4/distinfo                             |   3 ++-
 x11/py-qwt-qt4/patches/patch-configure_configure.py |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 2de86664e2c3 -r ba93b1a300a1 x11/py-qwt-qt4/distinfo
--- a/x11/py-qwt-qt4/distinfo   Tue Jan 27 06:10:15 2015 +0000
+++ b/x11/py-qwt-qt4/distinfo   Tue Jan 27 06:11:12 2015 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2014/10/02 03:47:28 mef Exp $
+$NetBSD: distinfo,v 1.2 2015/01/27 06:11:12 dbj Exp $
 
 SHA1 (PyQwt-5.2.0.tar.gz) = 797f37c63dec660272f6a8ccfd16a017df0ad640
 RMD160 (PyQwt-5.2.0.tar.gz) = e4c8a63d623d974cd500e29fbc62255746ca7feb
 Size (PyQwt-5.2.0.tar.gz) = 2670893 bytes
+SHA1 (patch-configure_configure.py) = 4fbae449cd80b7cf8ed3893ba1333b6fbbca17fc
diff -r 2de86664e2c3 -r ba93b1a300a1 x11/py-qwt-qt4/patches/patch-configure_configure.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/py-qwt-qt4/patches/patch-configure_configure.py       Tue Jan 27 06:11:12 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure_configure.py,v 1.1 2015/01/27 06:11:12 dbj Exp $
+
+On pkgsrc, python is installed more like generic unix and less like Mac OS.
+
+--- configure/configure.py.orig        2009-08-01 07:28:33.000000000 +0000
++++ configure/configure.py
+@@ -155,8 +155,6 @@ def make_and_run_qt_program(name, code, 
+     if sys.platform == "win32":
+         exe = os.path.join("release", name + ".exe")
+         make_target = " release"
+-    elif sys.platform == "darwin":
+-        exe = os.path.join(name + ".app", "Contents", "MacOS", name)
+     else:
+         exe = os.path.join(".", name)
+ 



Home | Main Index | Thread Index | Old Index