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 9E87B139083 for ; Mon, 18 Dec 2017 21:12:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E60C3E0FFC; Mon, 18 Dec 2017 21:12:02 +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 C9345E0FFC for ; Mon, 18 Dec 2017 21:12:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A0E2433BF05 for ; Mon, 18 Dec 2017 21:11:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16FF4AE84 for ; Mon, 18 Dec 2017 21:11:58 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1513631168.b8c9774cae106f0321bb303d7fdc712cdec6087f.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/tcc/tcc-9999.ebuild X-VCS-Directories: dev-lang/tcc/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: b8c9774cae106f0321bb303d7fdc712cdec6087f X-VCS-Branch: master Date: Mon, 18 Dec 2017 21:11:58 +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-Archives-Salt: f89954d6-9406-4c5c-8e9c-12abdccb4528 X-Archives-Hash: db7b207f5dddb0ed0e648d3be75d4e40 commit: b8c9774cae106f0321bb303d7fdc712cdec6087f Author: Austin English gentoo org> AuthorDate: Mon Dec 18 20:38:19 2017 +0000 Commit: Austin English gentoo org> CommitDate: Mon Dec 18 21:06:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c9774c dev-lang/tcc: update 9999 ebuild to EAPI 6 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-lang/tcc/tcc-9999.ebuild | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild index 728ed94dbec..d55542ed7b7 100644 --- a/dev-lang/tcc/tcc-9999.ebuild +++ b/dev-lang/tcc/tcc-9999.ebuild @@ -1,17 +1,25 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="5" - -inherit eutils toolchain-funcs git-r3 +EAPI="6" DESCRIPTION="A very small C compiler for ix86/amd64" HOMEPAGE="http://bellard.org/tcc/" -EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git" + +if [[ $PV == *9999* ]]; then + EGIT_REPO_URI="http://repo.or.cz/r/tinycc.git" + KEYWORDS="" + SRC_URI="" + scm_eclass=git-r3 +else + KEYWORDS="~amd64 ~x86 ~amd64-linux" + SRC_URI="http://download.savannah.gnu.org/releases/tinycc/${P}.tar.bz2" +fi + +inherit toolchain-funcs ${scm_eclass} LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="" DEPEND="dev-lang/perl" # doc generation # Both tendra and tinycc install /usr/bin/tcc @@ -32,6 +40,8 @@ src_prepare() { # fix texi2html invocation sed -i -e 's/-number//' Makefile || die sed -i -e 's/--sections//' Makefile || die + + eapply_user } src_configure() {