pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/meson



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Dec 11 12:45:30 UTC 2019

Modified Files:
        pkgsrc/devel/meson: Makefile distinfo
Added Files:
        pkgsrc/devel/meson/patches: patch-mesonbuild_dependencies_base.py

Log Message:
meson: Backport fix for executable bit tests.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/meson/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/meson/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/meson/patches/patch-mesonbuild_dependencies_base.py

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

Modified files:

Index: pkgsrc/devel/meson/Makefile
diff -u pkgsrc/devel/meson/Makefile:1.3 pkgsrc/devel/meson/Makefile:1.4
--- pkgsrc/devel/meson/Makefile:1.3     Fri Oct 18 09:59:46 2019
+++ pkgsrc/devel/meson/Makefile Wed Dec 11 12:45:29 2019
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2019/10/18 09:59:46 nia Exp $
+# $NetBSD: Makefile,v 1.4 2019/12/11 12:45:29 jperkin Exp $
 
 DISTNAME=      meson-0.52.0
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/meson/}
 

Index: pkgsrc/devel/meson/distinfo
diff -u pkgsrc/devel/meson/distinfo:1.2 pkgsrc/devel/meson/distinfo:1.3
--- pkgsrc/devel/meson/distinfo:1.2     Fri Oct 18 09:59:46 2019
+++ pkgsrc/devel/meson/distinfo Wed Dec 11 12:45:29 2019
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.2 2019/10/18 09:59:46 nia Exp $
+$NetBSD: distinfo,v 1.3 2019/12/11 12:45:29 jperkin Exp $
 
 SHA1 (meson-0.52.0.tar.gz) = 7907a9492a980026104a87b3447aa9e3ff8bc254
 RMD160 (meson-0.52.0.tar.gz) = 2d0871d543ad96ddb33cc3616054c4419d1ffade
 SHA512 (meson-0.52.0.tar.gz) = b32206c5499580a74bb5442d21263b5328cc3302c3226452fb3a2434fdcf55d5fc16fc841102b09a85abc19dbd00e836a571f917833ef3d726d84524f89b2e1c
 Size (meson-0.52.0.tar.gz) = 1507218 bytes
+SHA1 (patch-mesonbuild_dependencies_base.py) = ab956b031235d9ff1b4a044e2e5e7848561bd1d4
 SHA1 (patch-mesonbuild_dependencies_dev.py) = c25f72fe6e3f270f9831be1d7efbff3bf7a4651e
 SHA1 (patch-mesonbuild_scripts_depfixer.py) = 6ed6fdfd7454b517ad5d1ebd1c387ebd73437d4b

Added files:

Index: pkgsrc/devel/meson/patches/patch-mesonbuild_dependencies_base.py
diff -u /dev/null pkgsrc/devel/meson/patches/patch-mesonbuild_dependencies_base.py:1.1
--- /dev/null   Wed Dec 11 12:45:30 2019
+++ pkgsrc/devel/meson/patches/patch-mesonbuild_dependencies_base.py    Wed Dec 11 12:45:29 2019
@@ -0,0 +1,27 @@
+$NetBSD: patch-mesonbuild_dependencies_base.py,v 1.1 2019/12/11 12:45:29 jperkin Exp $
+
+Backport fix from https://github.com/mesonbuild/meson/pull/6328
+
+--- mesonbuild/dependencies/base.py.orig       2019-10-06 17:01:35.000000000 +0000
++++ mesonbuild/dependencies/base.py
+@@ -21,6 +21,7 @@ import re
+ import json
+ import shlex
+ import shutil
++import stat
+ import textwrap
+ import platform
+ import typing
+@@ -1840,10 +1841,11 @@ class ExternalProgram:
+ 
+     def _is_executable(self, path):
+         suffix = os.path.splitext(path)[-1].lower()[1:]
++        execmask = stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH
+         if mesonlib.is_windows():
+             if suffix in self.windows_exts:
+                 return True
+-        elif os.access(path, os.X_OK):
++        elif os.stat(path).st_mode & execmask:
+             return not os.path.isdir(path)
+         return False
+ 



Home | Main Index | Thread Index | Old Index