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 1DCE1138359 for ; Wed, 7 Oct 2020 01:32:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78D04E097C; Wed, 7 Oct 2020 01:32:04 +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 62CE0E097C for ; Wed, 7 Oct 2020 01:32:04 +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 7111333F9D2 for ; Wed, 7 Oct 2020 01:32:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F8EA33A for ; Wed, 7 Oct 2020 01:32:02 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1602034295.ed74942e8c1ab999b422b6a802dc2e2747bb3668.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/libBigWig/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/libBigWig/libBigWig-0.4.4.ebuild sci-biology/libBigWig/libBigWig-9999.ebuild X-VCS-Directories: sci-biology/libBigWig/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: ed74942e8c1ab999b422b6a802dc2e2747bb3668 X-VCS-Branch: master Date: Wed, 7 Oct 2020 01:32:02 +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: b3f51c32-7041-42c7-871f-7531d31d11f4 X-Archives-Hash: 434a866936e8c1a7b53c86c5693f93a1 commit: ed74942e8c1ab999b422b6a802dc2e2747bb3668 Author: Aisha Tammy aisha cc> AuthorDate: Wed Oct 7 01:30:17 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Wed Oct 7 01:31:35 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ed74942e sci-biology/libBigWig: version bump Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> .../{libBigWig-9999.ebuild => libBigWig-0.4.4.ebuild} | 18 +++++++++++------- sci-biology/libBigWig/libBigWig-9999.ebuild | 18 +++++++++++------- 2 files changed, 22 insertions(+), 14 deletions(-) diff --git a/sci-biology/libBigWig/libBigWig-9999.ebuild b/sci-biology/libBigWig/libBigWig-0.4.4.ebuild similarity index 56% copy from sci-biology/libBigWig/libBigWig-9999.ebuild copy to sci-biology/libBigWig/libBigWig-0.4.4.ebuild index d470de250..0d95f6972 100644 --- a/sci-biology/libBigWig/libBigWig-9999.ebuild +++ b/sci-biology/libBigWig/libBigWig-0.4.4.ebuild @@ -1,18 +1,21 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit git-r3 +EAPI=7 DESCRIPTION="C library for handling bigWig files (functionally replacing Jim Kent's lib)" HOMEPAGE="https://github.com/dpryan79/libBigWig" -EGIT_REPO_URI="https://github.com/dpryan79/libBigWig.git" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dpryan79/libBigWig" +else + SRC_URI="https://github.com/dpryan79/libBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="" # https://github.com/dpryan79/libBigWig/issues/30 -IUSE="" DEPEND="net-misc/curl" RDEPEND="${DEPEND}" @@ -20,6 +23,7 @@ RDEPEND="${DEPEND}" src_prepare(){ default sed -e 's#/usr/local#$(DESTDIR)/usr#' -i Makefile || die + sed -e "s:/lib:/$(get_libdir):" -i Makefile || die } src_install(){ diff --git a/sci-biology/libBigWig/libBigWig-9999.ebuild b/sci-biology/libBigWig/libBigWig-9999.ebuild index d470de250..0d95f6972 100644 --- a/sci-biology/libBigWig/libBigWig-9999.ebuild +++ b/sci-biology/libBigWig/libBigWig-9999.ebuild @@ -1,18 +1,21 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 - -inherit git-r3 +EAPI=7 DESCRIPTION="C library for handling bigWig files (functionally replacing Jim Kent's lib)" HOMEPAGE="https://github.com/dpryan79/libBigWig" -EGIT_REPO_URI="https://github.com/dpryan79/libBigWig.git" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dpryan79/libBigWig" +else + SRC_URI="https://github.com/dpryan79/libBigWig/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi LICENSE="MIT" SLOT="0" -KEYWORDS="" # https://github.com/dpryan79/libBigWig/issues/30 -IUSE="" DEPEND="net-misc/curl" RDEPEND="${DEPEND}" @@ -20,6 +23,7 @@ RDEPEND="${DEPEND}" src_prepare(){ default sed -e 's#/usr/local#$(DESTDIR)/usr#' -i Makefile || die + sed -e "s:/lib:/$(get_libdir):" -i Makefile || die } src_install(){