public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/ncdc/
Date: Mon,  8 Apr 2019 12:40:24 +0000 (UTC)	[thread overview]
Message-ID: <1554727030.5c23cc9d760cda86db7e917e17e606e26831a135.polynomial-c@gentoo> (raw)

commit:     5c23cc9d760cda86db7e917e17e606e26831a135
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  8 12:34:33 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Apr  8 12:37:10 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c23cc9d

net-p2p/ncdc: Bumped live ebuild to EAPI-7

also combined release and live ebuilds.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 net-p2p/ncdc/ncdc-9999.ebuild | 39 ++++++++++++++++++++++++++-------------
 1 file changed, 26 insertions(+), 13 deletions(-)

diff --git a/net-p2p/ncdc/ncdc-9999.ebuild b/net-p2p/ncdc/ncdc-9999.ebuild
index 5759853e51a..182aac603d7 100644
--- a/net-p2p/ncdc/ncdc-9999.ebuild
+++ b/net-p2p/ncdc/ncdc-9999.ebuild
@@ -1,38 +1,51 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools git-r3 toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="ncurses directconnect client"
 HOMEPAGE="https://dev.yorhel.nl/ncdc"
-EGIT_REPO_URI="git://g.blicky.net/ncdc.git"
+if [[ "${PV}" == *9999 ]] ; then
+	inherit autotools git-r3
+	EGIT_REPO_URI="git://g.blicky.net/ncdc.git"
+else
+	SRC_URI="https://dev.yorhel.nl/download/${P}.tar.gz"
+	KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+fi
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
 IUSE="geoip"
 
-RDEPEND="app-arch/bzip2
+RDEPEND="
+	app-arch/bzip2
 	dev-db/sqlite:3
 	dev-libs/glib:2
-	net-libs/gnutls
-	sys-libs/ncurses:0[unicode]
-	sys-libs/zlib
+	net-libs/gnutls:=
+	sys-libs/ncurses:0=[unicode]
+	sys-libs/zlib:=
 	geoip? ( dev-libs/geoip )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
 	dev-util/makeheaders
-	virtual/pkgconfig"
+	virtual/pkgconfig
+"
 
 src_prepare() {
 	default
-	eautoreconf
+	[[ "${PV}" == *9999 ]] && eautoreconf
 }
 
 src_configure() {
-	econf --enable-git-version \
+	local myeconfargs=(
 		$(use_with geoip)
+	)
+	if [[ "${PV}" == *9999 ]] ; then
+		myeconfargs+=( --enable-git-version )
+	fi
+	econf "${myeconfargs[@]}"
 }
 
 src_compile() {


             reply	other threads:[~2019-04-08 12:40 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-08 12:40 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-01 15:41 [gentoo-commits] repo/gentoo:master commit in: net-p2p/ncdc/ Andreas K. Hüttel
2024-10-07  6:24 Sam James
2024-10-07  6:24 Sam James
2024-08-11  5:44 Joonas Niilola
2024-08-11  5:44 Joonas Niilola
2024-08-10  7:30 Joonas Niilola
2024-03-29  7:40 Joonas Niilola
2024-03-29  7:40 Joonas Niilola
2023-01-14 19:17 Sam James
2023-01-13 14:50 Sam James
2023-01-13 14:50 Sam James
2022-12-13 18:28 Viorel Munteanu
2022-12-13 18:28 Viorel Munteanu
2022-12-13 18:28 Viorel Munteanu
2022-12-13 18:28 Viorel Munteanu
2022-05-31  4:07 Sam James
2021-07-17 21:30 David Seifert
2021-01-04  3:31 Sam James
2020-11-02 11:50 Lars Wendler
2020-11-02 11:50 Lars Wendler
2020-11-02 11:50 Lars Wendler
2020-11-02 11:50 Lars Wendler
2019-02-20 13:18 Mikle Kolyada
2019-02-20 13:16 Mikle Kolyada
2019-02-15  0:18 Thomas Deutschmann
2018-04-15 11:34 David Seifert
2017-03-09 13:40 Michael Weber
2017-03-09 13:40 Michael Weber
2016-05-10 11:08 Patrice Clement

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=1554727030.5c23cc9d760cda86db7e917e17e606e26831a135.polynomial-c@gentoo \
    --to=polynomial-c@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