commit:     ca9cfd82300d1c0c0bb4d8b84a73f1e1dedd007b
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 18 23:33:45 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 18 23:37:38 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=ca9cfd82

net-libs/kdsoap-ws-discovery-client: Add release/snapshot switch

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../kdsoap-ws-discovery-client-9999.ebuild                 | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git 
a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild 
b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
index 6c7bb08af3..ac8ee194cf 100644
--- a/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
+++ b/net-libs/kdsoap-ws-discovery-client/kdsoap-ws-discovery-client-9999.ebuild
@@ -5,8 +5,17 @@ EAPI=7
 
 ECM_QTHELP="false"
 ECM_TEST="forceoptional"
-EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git";
-inherit ecm git-r3
+inherit ecm
+
+if [[ ${PV} != *9999* ]]; then
+       COMMIT=14287e92e80a77aa4c0adee2871e6b87c9c3055e
+       
SRC_URI="https://gitlab.com/caspermeijn/${PN}/repository/${COMMIT}/archive.tar.gz
 -> ${P}.tar.gz"
+       KEYWORDS="~amd64"
+       S="${WORKDIR}/${PN}-${COMMIT}-${COMMIT}"
+else
+       EGIT_REPO_URI="https://gitlab.com/caspermeijn/${PN}.git";
+       inherit git-r3
+fi
 
 DESCRIPTION="WS-Discovery client library based on KDSoap"
 HOMEPAGE="https://gitlab.com/caspermeijn/kdsoap-ws-discovery-client
@@ -14,7 +23,6 @@ https://caspermeijn.gitlab.io/kdsoap-ws-discovery-client";
 
 LICENSE="CC0-1.0 GPL-3+"
 SLOT="0"
-KEYWORDS=""
 IUSE="doc"
 
 BDEPEND="

Reply via email to