commit:     5d63f79f6272b2945b30c2539535cb4f8e352dae
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Sat Feb 18 14:46:22 2017 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Sat Feb 18 14:46:22 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5d63f79f

sci-biology/RADtools: fix installation procedure

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/RADtools/RADtools-1.2.4.ebuild | 14 +++++++-------
 sci-biology/RADtools/RADtools-9999.ebuild  | 15 +++++++--------
 2 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/sci-biology/RADtools/RADtools-1.2.4.ebuild 
b/sci-biology/RADtools/RADtools-1.2.4.ebuild
index 84db02f70..d316384e2 100644
--- a/sci-biology/RADtools/RADtools-1.2.4.ebuild
+++ b/sci-biology/RADtools/RADtools-1.2.4.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=6
+EAPI=5
 
-inherit perl-module
+PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit eutils perl-module
 
 DESCRIPTION="Tools for processing RAD Sequencing Illumina reads"
 HOMEPAGE="https://www.wiki.ed.ac.uk/display/RADSequencing/Home";
@@ -25,9 +26,8 @@ S="${WORKDIR}"
 
 src_install() {
        dobin RADMIDs RADmarkers RADpools RADtags
-       mydoc="CHANGELOG RADmanual.pdf RADmanual.tex README"
-       eval `perl '-V:installvendorlib'` || die
-       vendor_lib_install_dir="${installvendorlib}"
-       insinto ${vendor_lib_install_dir}
+       dodoc CHANGELOG RADmanual.pdf RADmanual.tex README
+       perl_set_version
+       insinto "${VENDOR_LIB}"
        doins *.pm
 }

diff --git a/sci-biology/RADtools/RADtools-9999.ebuild 
b/sci-biology/RADtools/RADtools-9999.ebuild
index 6f705b1f7..b1d09180e 100644
--- a/sci-biology/RADtools/RADtools-9999.ebuild
+++ b/sci-biology/RADtools/RADtools-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=6
+EAPI=5
 
-inherit perl-module git-r3
+PERL_EXPORT_PHASE_FUNCTIONS=no
+inherit eutils perl-module git-r3
 
 DESCRIPTION="Tools for processing RAD Sequencing Illumina reads"
 HOMEPAGE="https://www.wiki.ed.ac.uk/display/RADSequencing/Home";
@@ -22,10 +23,8 @@ RDEPEND="${DEPEND}"
 
 src_install() {
        dobin RADMIDs RADmarkers RADpools RADtags
-       mydoc="CHANGELOG RADmanual.pdf RADmanual.tex README"
-       eval `perl '-V:installvendorlib'` || die
-       vendor_lib_install_dir="${installvendorlib}"
-
-       insinto ${vendor_lib_install_dir}
+       dodoc CHANGELOG RADmanual.pdf RADmanual.tex README
+       perl_set_version
+       insinto "${VENDOR_LIB}"
        doins *.pm
 }

Reply via email to