pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-meson py-meson: update to 0.47.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bbd7ea9993a4
branches:  trunk
changeset: 384756:bbd7ea9993a4
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Sep 02 15:20:02 2018 +0000

description:
py-meson: update to 0.47.0.

0.47.0

    Allow early return from a script
    Concatenate string literals returned from get_define()
    ARM compiler(version 6) for C and CPP
    New base build option for LLVM (Apple) bitcode support
    New compiler check: check_header()
    New action copy: for configure_file()
    New keyword argument encoding: for configure_file()
    New keyword argument output_format: for configure_file()
    Substitutions in custom_target(depfile:)
    Deprecated build_always: for custom targets
    New built-in object type: dictionary
    Array options treat -Dopt= and -Dopt=[] as equivalent
    Feature detection based on meson_version: in project()
    New type of build option for features
    New options to gnome.gdbus_codegen()
    Made 'install' a top level Meson command
    install_mode: keyword argument extended to all installable targets
    New built-in option install_umask with a default value 022
    Octal and binary string literals
    New keyword arguments: 'check' and 'capture' for run_command()
    Windows resource files dependencies
    Polkit support for privileged installation

diffstat:

 devel/py-meson/Makefile                                           |   5 +-
 devel/py-meson/PLIST                                              |  21 +++++-
 devel/py-meson/distinfo                                           |  13 +--
 devel/py-meson/patches/patch-mesonbuild_compilers_compilers.py    |  32 +++++-----
 devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py |  15 ----
 5 files changed, 41 insertions(+), 45 deletions(-)

diffs (187 lines):

diff -r 193128557b3a -r bbd7ea9993a4 devel/py-meson/Makefile
--- a/devel/py-meson/Makefile   Sun Sep 02 14:14:42 2018 +0000
+++ b/devel/py-meson/Makefile   Sun Sep 02 15:20:02 2018 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2018/05/15 09:04:36 jperkin Exp $
+# $NetBSD: Makefile,v 1.12 2018/09/02 15:20:02 wiz Exp $
 
-DISTNAME=      meson-0.44.1
+DISTNAME=      meson-0.47.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   3
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/meson/}
 
diff -r 193128557b3a -r bbd7ea9993a4 devel/py-meson/PLIST
--- a/devel/py-meson/PLIST      Sun Sep 02 14:14:42 2018 +0000
+++ b/devel/py-meson/PLIST      Sun Sep 02 15:20:02 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2017/12/12 08:36:43 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/09/02 15:20:02 wiz Exp $
 bin/meson
 bin/mesonconf
 bin/mesonintrospect
@@ -86,6 +86,9 @@
 ${PYSITELIB}/mesonbuild/dependencies/base.py
 ${PYSITELIB}/mesonbuild/dependencies/base.pyc
 ${PYSITELIB}/mesonbuild/dependencies/base.pyo
+${PYSITELIB}/mesonbuild/dependencies/boost.py
+${PYSITELIB}/mesonbuild/dependencies/boost.pyc
+${PYSITELIB}/mesonbuild/dependencies/boost.pyo
 ${PYSITELIB}/mesonbuild/dependencies/dev.py
 ${PYSITELIB}/mesonbuild/dependencies/dev.pyc
 ${PYSITELIB}/mesonbuild/dependencies/dev.pyo
@@ -119,6 +122,12 @@
 ${PYSITELIB}/mesonbuild/mesonmain.py
 ${PYSITELIB}/mesonbuild/mesonmain.pyc
 ${PYSITELIB}/mesonbuild/mesonmain.pyo
+${PYSITELIB}/mesonbuild/minit.py
+${PYSITELIB}/mesonbuild/minit.pyc
+${PYSITELIB}/mesonbuild/minit.pyo
+${PYSITELIB}/mesonbuild/minstall.py
+${PYSITELIB}/mesonbuild/minstall.pyc
+${PYSITELIB}/mesonbuild/minstall.pyo
 ${PYSITELIB}/mesonbuild/mintro.py
 ${PYSITELIB}/mesonbuild/mintro.pyc
 ${PYSITELIB}/mesonbuild/mintro.pyo
@@ -140,6 +149,9 @@
 ${PYSITELIB}/mesonbuild/modules/pkgconfig.py
 ${PYSITELIB}/mesonbuild/modules/pkgconfig.pyc
 ${PYSITELIB}/mesonbuild/modules/pkgconfig.pyo
+${PYSITELIB}/mesonbuild/modules/python.py
+${PYSITELIB}/mesonbuild/modules/python.pyc
+${PYSITELIB}/mesonbuild/modules/python.pyo
 ${PYSITELIB}/mesonbuild/modules/python3.py
 ${PYSITELIB}/mesonbuild/modules/python3.pyc
 ${PYSITELIB}/mesonbuild/modules/python3.pyo
@@ -155,6 +167,9 @@
 ${PYSITELIB}/mesonbuild/modules/rpm.py
 ${PYSITELIB}/mesonbuild/modules/rpm.pyc
 ${PYSITELIB}/mesonbuild/modules/rpm.pyo
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.py
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.pyc
+${PYSITELIB}/mesonbuild/modules/unstable_icestorm.pyo
 ${PYSITELIB}/mesonbuild/modules/unstable_simd.py
 ${PYSITELIB}/mesonbuild/modules/unstable_simd.pyc
 ${PYSITELIB}/mesonbuild/modules/unstable_simd.pyo
@@ -206,9 +221,6 @@
 ${PYSITELIB}/mesonbuild/scripts/meson_exe.py
 ${PYSITELIB}/mesonbuild/scripts/meson_exe.pyc
 ${PYSITELIB}/mesonbuild/scripts/meson_exe.pyo
-${PYSITELIB}/mesonbuild/scripts/meson_install.py
-${PYSITELIB}/mesonbuild/scripts/meson_install.pyc
-${PYSITELIB}/mesonbuild/scripts/meson_install.pyo
 ${PYSITELIB}/mesonbuild/scripts/msgfmthelper.py
 ${PYSITELIB}/mesonbuild/scripts/msgfmthelper.pyc
 ${PYSITELIB}/mesonbuild/scripts/msgfmthelper.pyo
@@ -244,3 +256,4 @@
 man/man1/mesonintrospect.1
 man/man1/mesontest.1
 man/man1/wraptool.1
+share/polkit-1/actions/com.mesonbuild.install.policy
diff -r 193128557b3a -r bbd7ea9993a4 devel/py-meson/distinfo
--- a/devel/py-meson/distinfo   Sun Sep 02 14:14:42 2018 +0000
+++ b/devel/py-meson/distinfo   Sun Sep 02 15:20:02 2018 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.9 2018/05/15 09:04:36 jperkin Exp $
+$NetBSD: distinfo,v 1.10 2018/09/02 15:20:02 wiz Exp $
 
-SHA1 (meson-0.44.1.tar.gz) = 7ac668ee883c4075aa5348e5daedf4c737a6925d
-RMD160 (meson-0.44.1.tar.gz) = 1257a3e2b5f6837a59ef4cdf632a00bba1ff601d
-SHA512 (meson-0.44.1.tar.gz) = 3c350d1752ae4463ec47060e051d79cc0855385e9552deff34fad8431175fb5d0f04b51a242f8f8f737726d06e504339d6b02a5aa9558ee673fb867dbb4e5b2d
-Size (meson-0.44.1.tar.gz) = 1136337 bytes
+SHA1 (meson-0.47.0.tar.gz) = 3ce3f5cf2a31e7c58b921f7a5c92afae3c90ff4c
+RMD160 (meson-0.47.0.tar.gz) = 0d90c75a0be70a55b3da7239a25be2ba573054e1
+SHA512 (meson-0.47.0.tar.gz) = 02a9aa481c6cce011be9bd3ada523c45f503c70c1c6c8c826241c16a84c8ccbb06de2caced8c748850c24b7a696705c8c72847f935fd720edbd286235390fd94
+Size (meson-0.47.0.tar.gz) = 1246932 bytes
 SHA1 (patch-mesonbuild_compilers_____init____.py) = b893759a6fa135f2da606ea487848701dbba037d
-SHA1 (patch-mesonbuild_compilers_compilers.py) = 8e86265c2db294846582ce92d91c220761a82853
+SHA1 (patch-mesonbuild_compilers_compilers.py) = ab44b1672b2d1cc6258b74590ac6bbf0fe502066
 SHA1 (patch-mesonbuild_environment.py) = 08957ccc7ee55f9d5b7f965309bbe5ad38aa23ce
-SHA1 (patch-mesonbuild_scripts_meson__install.py) = 2a3185ac5814a23040ebe44b21c45c0115daa7ed
diff -r 193128557b3a -r bbd7ea9993a4 devel/py-meson/patches/patch-mesonbuild_compilers_compilers.py
--- a/devel/py-meson/patches/patch-mesonbuild_compilers_compilers.py    Sun Sep 02 14:14:42 2018 +0000
+++ b/devel/py-meson/patches/patch-mesonbuild_compilers_compilers.py    Sun Sep 02 15:20:02 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-mesonbuild_compilers_compilers.py,v 1.1 2018/05/15 09:04:37 jperkin Exp $
+$NetBSD: patch-mesonbuild_compilers_compilers.py,v 1.2 2018/09/02 15:20:02 wiz Exp $
 
 Support SunOS-specific GCC behaviour.
 Limit GNU ld options correctly.
 
---- mesonbuild/compilers/compilers.py.orig     2018-02-20 21:48:57.000000000 +0000
+--- mesonbuild/compilers/compilers.py.orig     2018-06-22 11:50:56.000000000 +0000
 +++ mesonbuild/compilers/compilers.py
-@@ -134,6 +134,14 @@ gnulike_buildtype_linker_args = {'plain'
-                                  'minsize': [],
-                                  }
+@@ -172,6 +172,14 @@ arm_buildtype_linker_args = {'plain': []
+                              'minsize': [],
+                              }
  
 +sunos_buildtype_linker_args = {'plain': [],
 +                                 'debug': [],
@@ -20,16 +20,16 @@
  msvc_buildtype_linker_args = {'plain': [],
                                'debug': [],
                                'debugoptimized': [],
-@@ -853,7 +861,7 @@ class Compiler:
-             else:
-                 paths = paths + ':' + padding
-         args = ['-Wl,-rpath,' + paths]
+@@ -1034,7 +1042,7 @@ class Compiler:
+             # linked against local libraries will fail to resolve them.
+             args.append('-Wl,-z,origin')
+         args.append('-Wl,-rpath,' + paths)
 -        if get_compiler_is_linuxlike(self):
 +        if get_compiler_uses_gnuld(self):
              # Rpaths to use while linking must be absolute. These are not
              # written to the binary. Needed only with GNU ld:
              # https://sourceware.org/bugzilla/show_bug.cgi?id=16936
-@@ -876,6 +884,7 @@ GCC_STANDARD = 0
+@@ -1066,6 +1074,7 @@ GCC_STANDARD = 0
  GCC_OSX = 1
  GCC_MINGW = 2
  GCC_CYGWIN = 3
@@ -37,16 +37,16 @@
  
  CLANG_STANDARD = 0
  CLANG_OSX = 1
-@@ -891,7 +900,7 @@ def get_gcc_soname_args(gcc_type, prefix
+@@ -1095,7 +1104,7 @@ def get_gcc_soname_args(gcc_type, prefix
          sostr = ''
      else:
          sostr = '.' + soversion
--    if gcc_type in (GCC_STANDARD, GCC_MINGW, GCC_CYGWIN):
-+    if gcc_type in (GCC_STANDARD, GCC_MINGW, GCC_CYGWIN, GCC_SUNOS):
-         # Might not be correct for mingw but seems to work.
+-    if gcc_type == GCC_STANDARD:
++    if gcc_type in (GCC_STANDARD, GCC_SUNOS):
          return ['-Wl,-soname,%s%s.%s%s' % (prefix, shlib_name, suffix, sostr)]
-     elif gcc_type == GCC_OSX:
-@@ -1023,6 +1032,8 @@ class GnuCompiler:
+     elif gcc_type in (GCC_MINGW, GCC_CYGWIN):
+         # For PE/COFF the soname argument has no effect with GNU LD
+@@ -1236,6 +1245,8 @@ class GnuCompiler:
      def get_buildtype_linker_args(self, buildtype):
          if self.gcc_type == GCC_OSX:
              return apple_buildtype_linker_args[buildtype]
diff -r 193128557b3a -r bbd7ea9993a4 devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py
--- a/devel/py-meson/patches/patch-mesonbuild_scripts_meson__install.py Sun Sep 02 14:14:42 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-mesonbuild_scripts_meson__install.py,v 1.1 2018/02/25 20:27:41 wiz Exp $
-
-This is an incorrect fix to the problem that meson strips out all rpaths.
-For a longer discussion, see https://github.com/mesonbuild/meson/issues/314
-
---- mesonbuild/scripts/meson_install.py.orig   2018-02-20 21:48:57.000000000 +0000
-+++ mesonbuild/scripts/meson_install.py
-@@ -353,7 +353,6 @@ def install_targets(d):
-         if is_elf_platform() and os.path.isfile(outname):
-             try:
-                 e = depfixer.Elf(outname, False)
--                e.fix_rpath(install_rpath)
-             except SystemExit as e:
-                 if isinstance(e.code, int) and e.code == 0:
-                     pass



Home | Main Index | Thread Index | Old Index