public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/qelectrotech/
Date: Sun,  9 Aug 2020 08:32:10 +0000 (UTC)	[thread overview]
Message-ID: <1596961909.ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.asturm@gentoo> (raw)

commit:     ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  8 22:11:37 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> 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 <asturm <AT> 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" )


             reply	other threads:[~2020-08-09  8:32 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-09  8:32 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-18 19:55 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/qelectrotech/ Andreas Sturmlechner
2025-04-18 19:33 Andreas Sturmlechner
2025-04-18 19:33 Andreas Sturmlechner
2024-07-18  8:18 Sam James
2021-04-05 16:45 Sam James
2021-04-05 16:43 Sam James
2021-02-28 21:36 Andreas Sturmlechner
2020-10-10 11:57 Andreas Sturmlechner
2020-10-09  8:41 Agostino Sarubbo
2020-10-04 16:59 Sam James
2020-08-09  8:32 Andreas Sturmlechner
2020-08-09  8:32 Andreas Sturmlechner
2020-08-09  8:32 Andreas Sturmlechner
2020-05-21 19:12 Andreas Sturmlechner
2018-12-28 12:45 Andreas Sturmlechner
2018-12-28  8:09 Mikle Kolyada
2018-12-22 22:25 Thomas Deutschmann
2018-10-06 15:38 Michael Palimaka
2018-10-06 15:38 Michael Palimaka
2018-04-10  9:22 Andreas Sturmlechner
2017-06-18  9:06 Michael Palimaka
2016-06-08 16:15 Michael Palimaka
2016-06-08 16:15 Michael Palimaka
2016-06-08 16:15 Michael Palimaka
2016-01-14 15:26 Michael Palimaka
2016-01-14 15:26 Michael Palimaka
2016-01-14 15:26 Michael Palimaka
2016-01-14 15:04 Michael Palimaka

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=1596961909.ede7d5c1e8401569f2d2b57c0fdd8aaaac7c04cf.asturm@gentoo \
    --to=asturm@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