commit:     22a51934ff9d11166e19f5bcdcab25c3b4dbb4cb
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Apr 26 22:19:54 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Apr 26 22:39:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22a51934

dev-libs/qhttpengine: added missing restrict for tests

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../{qhttpengine-1.0.1.ebuild => qhttpengine-1.0.1-r1.ebuild}      | 7 +++----
 dev-libs/qhttpengine/qhttpengine-9999.ebuild                       | 7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild 
b/dev-libs/qhttpengine/qhttpengine-1.0.1-r1.ebuild
similarity index 93%
rename from dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild
rename to dev-libs/qhttpengine/qhttpengine-1.0.1-r1.ebuild
index 7c18be5..0715dd8 100644
--- a/dev-libs/qhttpengine/qhttpengine-1.0.1.ebuild
+++ b/dev-libs/qhttpengine/qhttpengine-1.0.1-r1.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
 
 inherit cmake
 
 DESCRIPTION="HTTP server for Qt applications"
 HOMEPAGE="https://github.com/nitroshare/qhttpengine";
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ "${PV}" == "9999" ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/nitroshare/${PN}.git";
 else
@@ -19,9 +19,8 @@ fi
 
 LICENSE="MIT"
 SLOT="5"
-
 IUSE="doc examples test"
-
+RESTRICT="!test? ( test )"
 RDEPEND="
        dev-qt/qtnetwork:5
 "

diff --git a/dev-libs/qhttpengine/qhttpengine-9999.ebuild 
b/dev-libs/qhttpengine/qhttpengine-9999.ebuild
index 7c18be5..0715dd8 100644
--- a/dev-libs/qhttpengine/qhttpengine-9999.ebuild
+++ b/dev-libs/qhttpengine/qhttpengine-9999.ebuild
@@ -1,14 +1,14 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI="7"
 
 inherit cmake
 
 DESCRIPTION="HTTP server for Qt applications"
 HOMEPAGE="https://github.com/nitroshare/qhttpengine";
 
-if [[ ${PV} == "9999" ]] ; then
+if [[ "${PV}" == "9999" ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/nitroshare/${PN}.git";
 else
@@ -19,9 +19,8 @@ fi
 
 LICENSE="MIT"
 SLOT="5"
-
 IUSE="doc examples test"
-
+RESTRICT="!test? ( test )"
 RDEPEND="
        dev-qt/qtnetwork:5
 "

Reply via email to