commit:     8cb5fae65ab7f750a2c573f6c7d742de567e7239
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 19 13:20:44 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 19 13:20:54 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8cb5fae6

sci-biology/graf-bin: fix fetch, fix install, EAPI bump

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 profiles/package.mask                              |  1 -
 ...raf-bin-20171212.ebuild => graf-bin-2.4.ebuild} | 22 ++++++++--------------
 2 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index db8b97d63..7b4aeba0c 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -67,4 +67,3 @@ sci-biology/generecon
 sci-biology/genomeview-bin
 sci-biology/gfftools
 sci-biology/glean
-sci-biology/graf-bin

diff --git a/sci-biology/graf-bin/graf-bin-20171212.ebuild 
b/sci-biology/graf-bin/graf-bin-2.4.ebuild
similarity index 51%
rename from sci-biology/graf-bin/graf-bin-20171212.ebuild
rename to sci-biology/graf-bin/graf-bin-2.4.ebuild
index 93d554892..8f73e8121 100644
--- a/sci-biology/graf-bin/graf-bin-20171212.ebuild
+++ b/sci-biology/graf-bin/graf-bin-2.4.ebuild
@@ -1,34 +1,28 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 inherit perl-module
 
 DESCRIPTION="Find closely related subjects using SNP genotype data, validate 
pedigree file"
-HOMEPAGE="http://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/Software.cgi";
-SRC_URI="http://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/GetZip.cgi?zip_name=GRAF_files.zip
 -> ${P}.tar.gz"
-# the .zip is indeed .tar.gz
+HOMEPAGE="https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/Software.cgi";
+SRC_URI="https://www.ncbi.nlm.nih.gov/projects/gap/cgi-bin/GetZip.cgi?zip_name=GRAF_files.zip
 -> ${P}.tar.gz"
 
 LICENSE="public-domain"
 SLOT="0"
-KEYWORDS="~amd64" # 64bit exe only
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
+KEYWORDS="~amd64"
 
 S="${WORKDIR}"
 
 src_prepare(){
+       default
        sed -e 's#/usr/local/bin/perl#/usr/bin/env perl#' -i *.pl || die # 
there is not perl_fix_shebang
 }
 
 src_install(){
-       dobin graf graf_dups *.pl
-       dodoc GRAF_ReadMe_*.docx GRAF-popDocumentation*.docx
-       insinto /usr/share/"${PN}"
-       doins *.txt *.bed *.bim *.fam
+       dobin graf graf_dups
+       perl_domodule *.pl
 }
 
 pkg_postinst(){

Reply via email to