public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libmediawiki/files/, net-libs/libmediawiki/
Date: Sat, 20 May 2017 09:25:41 +0000 (UTC)	[thread overview]
Message-ID: <1495272314.fe52142ae965bc86fb8b1aeba3a45d31775b3493.asturm@gentoo> (raw)

commit:     fe52142ae965bc86fb8b1aeba3a45d31775b3493
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 20 09:24:44 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat May 20 09:25:14 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe52142a

net-libs/libmediawiki: Make tests optional

But since there are no tests executed, leave KDE_TEST unchanged.

Gentoo-bug: 619010

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 .../libmediawiki-5.0.0_pre20170128-tests-optional.patch   | 15 +++++++++++++++
 .../libmediawiki/libmediawiki-5.0.0_pre20170128.ebuild    |  2 ++
 2 files changed, 17 insertions(+)

diff --git a/net-libs/libmediawiki/files/libmediawiki-5.0.0_pre20170128-tests-optional.patch b/net-libs/libmediawiki/files/libmediawiki-5.0.0_pre20170128-tests-optional.patch
new file mode 100644
index 00000000000..7b910e028a4
--- /dev/null
+++ b/net-libs/libmediawiki/files/libmediawiki-5.0.0_pre20170128-tests-optional.patch
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt	2017-05-20 11:13:08.095098473 +0200
++++ b/CMakeLists.txt	2017-05-20 11:18:00.993712729 +0200
+@@ -45,8 +45,10 @@
+ 
+ # Subdirectories
+ add_subdirectory(src)
+-add_subdirectory(autotests)
+-add_subdirectory(tests)
++if(BUILD_TESTING)
++    add_subdirectory(autotests)
++    add_subdirectory(tests)
++endif()
+ 
+ # Create a Config.cmake and a ConfigVersion.cmake file and install them
+ set(CMAKECONFIG_INSTALL_DIR "${CMAKECONFIG_INSTALL_PREFIX}/KF5MediaWiki")

diff --git a/net-libs/libmediawiki/libmediawiki-5.0.0_pre20170128.ebuild b/net-libs/libmediawiki/libmediawiki-5.0.0_pre20170128.ebuild
index 11520c7636e..185af0d4ea9 100644
--- a/net-libs/libmediawiki/libmediawiki-5.0.0_pre20170128.ebuild
+++ b/net-libs/libmediawiki/libmediawiki-5.0.0_pre20170128.ebuild
@@ -20,3 +20,5 @@ DEPEND="
 RDEPEND="${DEPEND}
 	!net-libs/libmediawiki:4
 "
+
+PATCHES=( "${FILESDIR}/${P}-tests-optional.patch" )


             reply	other threads:[~2017-05-20  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-20  9:25 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-03 21:49 [gentoo-commits] repo/gentoo:master commit in: net-libs/libmediawiki/files/, net-libs/libmediawiki/ Andreas Sturmlechner
2021-08-21 16:17 Andreas Sturmlechner
2022-08-29 15:15 Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495272314.fe52142ae965bc86fb8b1aeba3a45d31775b3493.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox