From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5282D138359 for ; Sun, 9 Aug 2020 08:32:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A05BAE0901; Sun, 9 Aug 2020 08:32:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87300E0901 for ; Sun, 9 Aug 2020 08:32:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8017834F490 for ; Sun, 9 Aug 2020 08:32:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFD84314 for ; Sun, 9 Aug 2020 08:32:10 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1596961909.ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/qelectrotech/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-electronics/qelectrotech/qelectrotech-9999.ebuild X-VCS-Directories: sci-electronics/qelectrotech/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf X-VCS-Branch: master Date: Sun, 9 Aug 2020 08:32:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e29dd3bc-c8b5-4377-ad88-fee622f5a05a X-Archives-Hash: f3788fe4d5394b609411d4e15dc12fa8 commit: ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Aug 8 22:11:37 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 9 08:31:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ede7d5c1 sci-electronics/qelectrotech: Add live/release ebuild switch Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-electronics/qelectrotech/qelectrotech-9999.ebuild | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild index f6c479b2755..4ac12bb6b66 100644 --- a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild +++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild @@ -3,16 +3,23 @@ EAPI=7 -MY_P=${PN}-${PV%0}-src -inherit qmake-utils subversion xdg-utils +inherit qmake-utils xdg-utils DESCRIPTION="Qt5 application to design electric diagrams" HOMEPAGE="https://qelectrotech.org/" -ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/qet/qet/trunk" + +if [[ ${PV} = *9999* ]]; then + inherit subversion + ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/qet/qet/trunk" +else + MY_P=${PN}-${PV%0}-src + SRC_URI="https://download.tuxfamily.org/qet/tags/20180823/${MY_P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}"/${MY_P} +fi LICENSE="CC-BY-3.0 GPL-2+" SLOT="0" -KEYWORDS="" IUSE="doc" BDEPEND=" @@ -33,8 +40,6 @@ RDEPEND=" " DEPEND="${RDEPEND}" -S=${WORKDIR}/${MY_P} - DOCS=( CREDIT ChangeLog README ) PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" )