From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 46FD3138ACE for ; Mon, 9 Mar 2015 16:45:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D61DCE0880; Mon, 9 Mar 2015 16:45:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BE06E0880 for ; Mon, 9 Mar 2015 16:45:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7DAED340959 for ; Mon, 9 Mar 2015 16:45:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 033E313643 for ; Mon, 9 Mar 2015 16:45:38 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: <1425919450.53f3408793c23dd0612952d22bc4a6c599e2b295.mmokrejs@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/sickle/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/sickle/ChangeLog sci-biology/sickle/sickle-1.33.ebuild sci-biology/sickle/sickle-9999.ebuild X-VCS-Directories: sci-biology/sickle/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: 53f3408793c23dd0612952d22bc4a6c599e2b295 X-VCS-Branch: master Date: Mon, 9 Mar 2015 16:45:38 +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: 307a2106-6096-40c2-b52a-c460696eac46 X-Archives-Hash: 0ca102968d980ad21307319e96325035 commit: 53f3408793c23dd0612952d22bc4a6c599e2b295 Author: Martin Mokrejš fold natur cuni cz> AuthorDate: Mon Mar 9 16:44:10 2015 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Mon Mar 9 16:44:10 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=53f34087 respect CC and CFLAGS; added an ebuild for latest release tarball, works Package-Manager: portage-2.2.15 sci-biology/sickle/ChangeLog | 6 ++++++ .../sickle/{sickle-9999.ebuild => sickle-1.33.ebuild} | 17 ++++++++++++++--- sci-biology/sickle/sickle-9999.ebuild | 17 ++++++++++++++--- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/sci-biology/sickle/ChangeLog b/sci-biology/sickle/ChangeLog index 443ff95..4d539a2 100644 --- a/sci-biology/sickle/ChangeLog +++ b/sci-biology/sickle/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*sickle-1.33 (09 Mar 2015) + + 09 Mar 2015; Martin Mokrejs +sickle-1.33.ebuild, + sickle-9999.ebuild: + respect CC and CFLAGS; added an ebuild for latest release tarball, works + 15 Jan 2015; Martin Mokrejs sickle-9999.ebuild: correct package description diff --git a/sci-biology/sickle/sickle-9999.ebuild b/sci-biology/sickle/sickle-1.33.ebuild similarity index 52% copy from sci-biology/sickle/sickle-9999.ebuild copy to sci-biology/sickle/sickle-1.33.ebuild index 022474e..2288aea 100644 --- a/sci-biology/sickle/sickle-9999.ebuild +++ b/sci-biology/sickle/sickle-1.33.ebuild @@ -4,21 +4,32 @@ EAPI=5 -inherit eutils git-r3 +inherit eutils eutils toolchain-funcs + +[ "$PV" == "9999" ] && inherit git-r3 DESCRIPTION="Windowed adaptive quality-based trimming tool for FASTQ data from Illumina/Solexa" HOMEPAGE="https://github.com/najoshi/sickle" -EGIT_REPO_URI="https://github.com/najoshi/sickle" +if [ "$PV" == "9999" ]; then + EGIT_REPO_URI="https://github.com/najoshi/sickle" + KEYWORDS="" +else + SRC_URI="https://github.com/najoshi/sickle/archive/v"${PV}".tar.gz" + KEYWORDS="~amd64" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND} sys-libs/zlib" +src_prepare(){ + sed -e "s#-pedantic#-pedantic ${CFLAGS}#;s#gcc#"$(tc-getCC)"#" -i Makefile || die +} + src_install(){ dobin sickle dodoc README.md diff --git a/sci-biology/sickle/sickle-9999.ebuild b/sci-biology/sickle/sickle-9999.ebuild index 022474e..2288aea 100644 --- a/sci-biology/sickle/sickle-9999.ebuild +++ b/sci-biology/sickle/sickle-9999.ebuild @@ -4,21 +4,32 @@ EAPI=5 -inherit eutils git-r3 +inherit eutils eutils toolchain-funcs + +[ "$PV" == "9999" ] && inherit git-r3 DESCRIPTION="Windowed adaptive quality-based trimming tool for FASTQ data from Illumina/Solexa" HOMEPAGE="https://github.com/najoshi/sickle" -EGIT_REPO_URI="https://github.com/najoshi/sickle" +if [ "$PV" == "9999" ]; then + EGIT_REPO_URI="https://github.com/najoshi/sickle" + KEYWORDS="" +else + SRC_URI="https://github.com/najoshi/sickle/archive/v"${PV}".tar.gz" + KEYWORDS="~amd64" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" IUSE="" DEPEND="" RDEPEND="${DEPEND} sys-libs/zlib" +src_prepare(){ + sed -e "s#-pedantic#-pedantic ${CFLAGS}#;s#gcc#"$(tc-getCC)"#" -i Makefile || die +} + src_install(){ dobin sickle dodoc README.md