commit:     f53741fd866b410509e007d666cd1b7e39ea4871
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 19:44:30 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 19:44:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53741fd

dev-db/percona-server: remove FEATURES check

Bug: https://bugs.gentoo.org/664104
Package-Manager: Portage-2.3.47, Repoman-2.3.10

 dev-db/percona-server/percona-server-5.6.41.84.1.ebuild | 14 ++------------
 1 file changed, 2 insertions(+), 12 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 a46ac7790a7..0f90f84fff8 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
@@ -35,7 +35,8 @@ IUSE="-client-libs cracklib debug jemalloc latin1 libressl 
numa pam +perl profil
        +server static static-libs systemtap tcmalloc test test-suite tokudb 
tokudb-backup-plugin yassl"
 
 # Tests always fail when libressl is enabled due to hard-coded ciphers in the 
tests
-RESTRICT="libressl? ( test )"
+RESTRICT="libressl? ( test )
+       !test? ( test )"
 
 REQUIRED_USE="tokudb-backup-plugin? ( tokudb ) tokudb? ( jemalloc !tcmalloc ) 
?? ( tcmalloc jemalloc ) static? ( yassl )"
 
@@ -210,17 +211,6 @@ pkg_setup() {
                        die "Unsupported GCC version"
                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"
-               fi
-
                use test && python-any-r1_pkg_setup
        fi
 

Reply via email to