public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/
Date: Mon, 20 Aug 2018 00:38:25 +0000 (UTC)	[thread overview]
Message-ID: <1534725499.4976f3ee0aae2a6c7eac7bc08f90bc153b0edcff.whissi@gentoo> (raw)

commit:     4976f3ee0aae2a6c7eac7bc08f90bc153b0edcff
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 00:37:24 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 00:38:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4976f3ee

dev-db/percona-server: only check FEATURES on non-binary merge

Package-Manager: Portage-2.3.47, Repoman-2.3.10

 .../percona-server-5.6.41.84.1.ebuild              | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/dev-db/percona-server/percona-server-5.6.41.84.1.ebuild b/dev-db/percona-server/percona-server-5.6.41.84.1.ebuild
index 746ff1dba26..a46ac7790a7 100644
--- a/dev-db/percona-server/percona-server-5.6.41.84.1.ebuild
+++ b/dev-db/percona-server/percona-server-5.6.41.84.1.ebuild
@@ -209,24 +209,24 @@ pkg_setup() {
 			eerror "Please use gcc-config to switch to gcc-4.7 or later version."
 			die "Unsupported GCC version"
 		fi
-	fi
 
-	if has test ${FEATURES} && \
-		use server && ! has userpriv ${FEATURES} ; then
-			eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
-			die "FEATURES=test with FEATURES=-userpriv is not supported"
-	fi
+		if has test ${FEATURES} && \
+			use server && ! has userpriv ${FEATURES} ; then
+				eerror "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
+				die "FEATURES=test with FEATURES=-userpriv is not supported"
+		fi
 
-	if has test ${FEATURES} && ! use test ; then
-		eerror "FEATURES=test requires USE=test."
-		die "FEATURES=test set but not USE=test"
+		if has test ${FEATURES} && ! use test ; then
+			eerror "FEATURES=test requires USE=test."
+			die "FEATURES=test set but not USE=test"
+		fi
+
+		use test && python-any-r1_pkg_setup
 	fi
 
 	# This should come after all of the die statements
 	enewgroup mysql 60 || die "problem adding 'mysql' group"
 	enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
-
-	use test && python-any-r1_pkg_setup
 }
 
 src_unpack() {


             reply	other threads:[~2018-08-20  0:38 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20  0:38 Thomas Deutschmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-01 18:55 [gentoo-commits] repo/gentoo:master commit in: dev-db/percona-server/ Mike Gilbert
2024-01-24  6:55 Sam James
2023-07-04 22:20 Sam James
2023-04-18  8:26 Sam James
2023-02-14  0:29 Mike Gilbert
2022-12-14  1:53 Sam James
2022-05-15  1:00 Sam James
2022-03-22 23:32 Sam James
2021-11-18 15:35 Thomas Deutschmann
2021-11-14  3:49 Thomas Deutschmann
2021-11-14  3:49 Thomas Deutschmann
2021-08-04 20:31 Thomas Deutschmann
2021-05-21  8:22 Thomas Deutschmann
2021-05-21  2:12 Thomas Deutschmann
2021-05-03  8:18 Mikle Kolyada
2021-05-01 18:24 Sam James
2021-04-28 18:26 Thomas Deutschmann
2021-04-28 18:26 Thomas Deutschmann
2021-04-28 13:20 Thomas Deutschmann
2021-04-28 13:20 Thomas Deutschmann
2021-01-06 18:43 Fabian Groffen
2020-12-20 22:54 Thomas Deutschmann
2020-12-20 21:01 Thomas Deutschmann
2020-11-08 23:44 Thomas Deutschmann
2020-10-08 23:45 Thomas Deutschmann
2020-10-08 23:45 Thomas Deutschmann
2020-07-26 13:21 Thomas Deutschmann
2020-07-25 23:39 Thomas Deutschmann
2020-07-25 18:45 Thomas Deutschmann
2020-07-25  1:32 Thomas Deutschmann
2020-05-25 11:57 Thomas Deutschmann
2020-05-25 11:57 Thomas Deutschmann
2020-05-04 16:01 Thomas Deutschmann
2020-05-02  8:04 Thomas Deutschmann
2020-04-30 20:45 Thomas Deutschmann
2020-03-19  3:47 Matt Turner
2020-03-17  1:07 Thomas Deutschmann
2020-02-08 17:06 David Seifert
2020-01-25 19:53 Thomas Deutschmann
2020-01-22 20:26 Thomas Deutschmann
2020-01-22 20:26 Thomas Deutschmann
2019-12-31  3:30 Thomas Deutschmann
2019-12-09 22:01 Thomas Deutschmann
2019-10-31 12:10 Thomas Deutschmann
2019-10-31  1:41 Thomas Deutschmann
2019-10-12 18:44 Mikle Kolyada
2019-08-28 16:29 Thomas Deutschmann
2019-08-23 20:04 Thomas Deutschmann
2019-08-22 20:02 Thomas Deutschmann
2019-08-22 20:02 Thomas Deutschmann
2019-08-02 16:56 Thomas Deutschmann
2019-07-22 14:33 Thomas Deutschmann
2019-05-24 10:52 Thomas Deutschmann
2019-05-14 13:14 Thomas Deutschmann
2019-03-03 18:57 Thomas Deutschmann
2019-03-02 19:55 Thomas Deutschmann
2019-03-02 18:58 Thomas Deutschmann
2018-12-20  1:10 Thomas Deutschmann
2018-12-02 22:13 Thomas Deutschmann
2018-11-18 21:43 Thomas Deutschmann
2018-11-16 23:00 Thomas Deutschmann
2018-11-14 19:23 Thomas Deutschmann
2018-11-13 18:26 Brian Evans
2018-10-17 22:21 Thomas Deutschmann
2018-10-17 12:30 Thomas Deutschmann
2018-10-17 10:38 Thomas Deutschmann
2018-10-17  0:46 Thomas Deutschmann
2018-10-16 17:28 Thomas Deutschmann
2018-10-16 16:23 Thomas Deutschmann
2018-09-18 14:11 Brian Evans
2018-09-18 14:11 Brian Evans
2018-08-20 19:45 Thomas Deutschmann
2018-08-20  0:26 Thomas Deutschmann
2018-07-21 13:11 Brian Evans
2018-07-21  0:09 Brian Evans
2018-02-12 23:32 Thomas Deutschmann
2017-12-18 16:50 Thomas Deutschmann
2017-12-06  2:33 Brian Evans
2017-12-05 15:43 Thomas Deutschmann
2017-12-05 11:51 Thomas Deutschmann
2017-11-21 16:30 Thomas Deutschmann
2017-10-28 18:11 Thomas Deutschmann
2017-10-28 18:11 Thomas Deutschmann
2017-09-29 20:27 Brian Evans
2017-09-04 12:32 Thomas Deutschmann
2017-08-02 16:46 Thomas Deutschmann
2017-08-02 16:46 Thomas Deutschmann
2017-07-17 13:44 Brian Evans
2017-05-27  9:08 Thomas Deutschmann
2017-04-13 21:02 Thomas Deutschmann
2017-03-09 19:18 Thomas Deutschmann
2017-02-14 16:30 Thomas Deutschmann
2016-12-03 20:56 Thomas Deutschmann
2016-10-19 20:25 Thomas Deutschmann
2016-09-22 21:54 Thomas Deutschmann
2016-09-22 21:54 Thomas Deutschmann
2016-09-14  0:58 Thomas Deutschmann
2016-08-26 14:39 Thomas Deutschmann
2016-07-21 18:52 Brian Evans
2016-07-20 13:58 Brian Evans
2016-07-20 13:58 Brian Evans
2016-07-19 17:43 Brian Evans
2016-06-13 18:40 Brian Evans
2016-04-18 18:31 Brian Evans
2016-04-18  8:13 Patrice Clement
2016-03-09 18:38 Brian Evans
2016-03-09 18:38 Brian Evans
2016-01-20 13:58 Brian Evans
2015-12-22 18:46 Brian Evans
2015-12-15 14:46 Brian Evans
2015-12-14 14:36 Brian Evans
2015-12-13 22:07 Brian Evans
2015-11-06 16:32 Brian Evans
2015-11-06 16:32 Brian Evans
2015-11-05 23:29 Brian Evans
2015-11-04 21:45 Brian Evans
2015-10-20 14:52 Brian Evans
2015-09-21 16:56 Brian Evans
2015-09-17 18:45 Brian Evans
2015-09-17 18:45 Brian Evans

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=1534725499.4976f3ee0aae2a6c7eac7bc08f90bc153b0edcff.whissi@gentoo \
    --to=whissi@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