From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4F73213997D for ; Thu, 14 Nov 2019 18:35:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 48262E0841; Thu, 14 Nov 2019 18:35:55 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1F0DBE0841 for ; Thu, 14 Nov 2019 18:35:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70E9B34CB5C for ; Thu, 14 Nov 2019 18:35:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C59E5FF for ; Thu, 14 Nov 2019 18:35:51 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1573756530.3711b047c17bf2b9e4edf2d931ed29e13c5f4413.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-frameworks/extra-cmake-modules/files/, kde-frameworks/extra-cmake-modules/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.64.0-tests.patch X-VCS-Directories: kde-frameworks/extra-cmake-modules/files/ kde-frameworks/extra-cmake-modules/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 3711b047c17bf2b9e4edf2d931ed29e13c5f4413 X-VCS-Branch: master Date: Thu, 14 Nov 2019 18:35:51 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33d6dc2b-7de7-4671-9844-38da9713343d X-Archives-Hash: 1df6afd365ec8c4b8c62747a2af7c5cd commit: 3711b047c17bf2b9e4edf2d931ed29e13c5f4413 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Nov 14 18:34:54 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Nov 14 18:35:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3711b047 kde-frameworks/extra-cmake-modules: Fix tests Reported-by: Paolo Pedroni iol.it> Closes: https://bugs.gentoo.org/699804 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Andreas Sturmlechner gentoo.org> .../extra-cmake-modules-5.64.0.ebuild | 5 +- .../files/extra-cmake-modules-5.64.0-tests.patch | 124 +++++++++++++++++++++ 2 files changed, 128 insertions(+), 1 deletion(-) diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild index fc744aa15d8..c0a33ce5a2a 100644 --- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.64.0.ebuild @@ -31,7 +31,10 @@ RDEPEND=" RESTRICT+=" !test? ( test )" -PATCHES=( "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch" + "${FILESDIR}/${P}-tests.patch" +) python_check_deps() { has_version "dev-python/sphinx[${PYTHON_USEDEP}]" diff --git a/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.64.0-tests.patch b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.64.0-tests.patch new file mode 100644 index 00000000000..511342cd2b9 --- /dev/null +++ b/kde-frameworks/extra-cmake-modules/files/extra-cmake-modules-5.64.0-tests.patch @@ -0,0 +1,124 @@ +From d2810741c2166354d7c95d4101eea52035d4fdf5 Mon Sep 17 00:00:00 2001 +From: "Friedrich W. H. Kossebau" +Date: Mon, 4 Nov 2019 12:04:56 +0100 +Subject: Fix ECMSetupVersion tests for old policy with project() wo/ VERSION + +With min required cmake version now bumped to 3.5, the policy for CMP0048 +needs to be set explicitly to old now to prepare what the tests check. + +Fixup for 5ca01895e3c50322f79feeef5054d7f28b164d68 +--- + tests/ECMSetupVersionTest/old_header/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_simple/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt | 1 + + tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt | 1 + + 9 files changed, 9 insertions(+) + +(limited to 'tests') + +diff --git a/tests/ECMSetupVersionTest/old_header/CMakeLists.txt b/tests/ECMSetupVersionTest/old_header/CMakeLists.txt +index ea5ef2b..2bf8374 100644 +--- a/tests/ECMSetupVersionTest/old_header/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_header/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_header) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt b/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt +index 8fbc211..1080a0e 100644 +--- a/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_header_abspath) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt b/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt +index 80e670e..30a26fd 100644 +--- a/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_simple) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt b/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt +index 9d87e14..3e16b99 100644 +--- a/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_soversion) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt +index 8544e37..712a55a 100644 +--- a/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_version_file) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt +index ee4a5ee..6a17ce5 100644 +--- a/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_version_file_abspath) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt +index 445fd24..ba31da2 100644 +--- a/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_version_file_anynewer) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt +index fbf8e9a..4c80712 100644 +--- a/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_version_file_exact) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +diff --git a/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt b/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt +index 8ac01d1..27a9ba8 100644 +--- a/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt ++++ b/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt +@@ -1,5 +1,6 @@ + cmake_minimum_required(VERSION 3.5) + ++cmake_policy(SET CMP0048 OLD) + project(old_version_file_samemajor) + + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules) +-- +cgit v1.1