Date: Sun, 12 Jan 2020 16:00:20 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522793 - in head/devel/meson: . files Message-ID: <202001121600.00CG0Kqo004664@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sun Jan 12 16:00:19 2020 New Revision: 522793 URL: https://svnweb.freebsd.org/changeset/ports/522793 Log: devel/meson: update to 0.53.0 Changes: https://mesonbuild.com/Release-notes-for-0-53-0.html Changes: https://github.com/mesonbuild/meson/compare/0.52.1...0.53.0 PR: 243202 Exp-run by: antoine Deleted: head/devel/meson/files/patch-mesonbuild_dependencies_base.py Modified: head/devel/meson/Makefile (contents, props changed) head/devel/meson/distinfo (contents, props changed) head/devel/meson/files/patch-run__unittests.py (contents, props changed) Modified: head/devel/meson/Makefile ============================================================================== --- head/devel/meson/Makefile Sun Jan 12 15:57:09 2020 (r522792) +++ head/devel/meson/Makefile Sun Jan 12 16:00:19 2020 (r522793) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= meson -PORTVERSION= 0.52.1 +PORTVERSION= 0.53.0 CATEGORIES= devel python MASTER_SITES= https://github.com/mesonbuild/${PORTNAME}/releases/download/${PORTVERSION}/ Modified: head/devel/meson/distinfo ============================================================================== --- head/devel/meson/distinfo Sun Jan 12 15:57:09 2020 (r522792) +++ head/devel/meson/distinfo Sun Jan 12 16:00:19 2020 (r522793) @@ -1,3 +1,3 @@ -TIMESTAMP = 1575035474 -SHA256 (meson-0.52.1.tar.gz) = 0c277472e49950a5537e3de3e60c57b80dbf425788470a1a8ed27446128fc035 -SIZE (meson-0.52.1.tar.gz) = 1507726 +TIMESTAMP = 1453575159 +SHA256 (meson-0.53.0.tar.gz) = 035e75993ab6fa6c9ebf902b835c64cf397a763eb8e65c9bb6e1cc9730a9d3f6 +SIZE (meson-0.53.0.tar.gz) = 1548224 Modified: head/devel/meson/files/patch-run__unittests.py ============================================================================== --- head/devel/meson/files/patch-run__unittests.py Sun Jan 12 15:57:09 2020 (r522792) +++ head/devel/meson/files/patch-run__unittests.py Sun Jan 12 16:00:19 2020 (r522793) @@ -1,60 +1,7 @@ https://github.com/mesonbuild/meson/pull/4324 -https://github.com/mesonbuild/meson/pull/4325 -https://github.com/mesonbuild/meson/pull/6007 --- run_unittests.py.orig 2019-10-06 17:01:35 UTC +++ run_unittests.py -@@ -57,6 +57,7 @@ from mesonbuild.mesonlib import ( - from mesonbuild.environment import detect_ninja - from mesonbuild.mesonlib import MesonException, EnvironmentException - from mesonbuild.dependencies import PkgConfigDependency, ExternalProgram -+import mesonbuild.dependencies.base - from mesonbuild.build import Target - import mesonbuild.modules.pkgconfig - -@@ -1164,7 +1165,26 @@ class InternalTests(unittest.TestCase): - deps = d.get_all_dependencies(target) - self.assertEqual(deps, expdeps) - -+ def test_sort_libpaths(self): -+ sort_libpaths = mesonbuild.dependencies.base.sort_libpaths -+ self.assertEqual(sort_libpaths( -+ ['/home/mesonuser/.local/lib', '/usr/local/lib', '/usr/lib'], -+ ['/home/mesonuser/.local/lib/pkgconfig', '/usr/local/lib/pkgconfig']), -+ ['/home/mesonuser/.local/lib', '/usr/local/lib', '/usr/lib']) -+ self.assertEqual(sort_libpaths( -+ ['/usr/local/lib', '/home/mesonuser/.local/lib', '/usr/lib'], -+ ['/home/mesonuser/.local/lib/pkgconfig', '/usr/local/lib/pkgconfig']), -+ ['/home/mesonuser/.local/lib', '/usr/local/lib', '/usr/lib']) -+ self.assertEqual(sort_libpaths( -+ ['/usr/lib', '/usr/local/lib', '/home/mesonuser/.local/lib'], -+ ['/home/mesonuser/.local/lib/pkgconfig', '/usr/local/lib/pkgconfig']), -+ ['/home/mesonuser/.local/lib', '/usr/local/lib', '/usr/lib']) -+ self.assertEqual(sort_libpaths( -+ ['/usr/lib', '/usr/local/lib', '/home/mesonuser/.local/lib'], -+ ['/home/mesonuser/.local/lib/pkgconfig', '/usr/local/libdata/pkgconfig']), -+ ['/home/mesonuser/.local/lib', '/usr/local/lib', '/usr/lib']) - -+ - @unittest.skipIf(is_tarball(), 'Skipping because this is a tarball release') - class DataTests(unittest.TestCase): - -@@ -5643,6 +5664,7 @@ class LinuxlikeTests(BasePlatformTests): - # Assert that - self.assertEqual(len(line.split(lib)), 2, msg=(lib, line)) - -+ @skipIfNoPkgconfig - def test_noncross_options(self): - # C_std defined in project options must be in effect also when native compiling. - testdir = os.path.join(self.unit_test_dir, '51 noncross options') -@@ -5665,6 +5687,7 @@ c = ['{0}'] - # TODO should someday be explicit about build platform only here - self.init(testdir, override_envvars=env) - -+ @skipIfNoPkgconfig - def test_static_link(self): - if is_cygwin(): - raise unittest.SkipTest("Cygwin doesn't support LD_LIBRARY_PATH.") @@ -5680,7 +5703,7 @@ c = ['{0}'] # Test that installed libraries works self.new_builddir()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001121600.00CG0Kqo004664>