commit:     5f9a85124afb7066b30fe10a74bd1cb24a6a7ec4
Author:     Dale Lukas Peterson <hazelnusse <AT> gmail <DOT> com>
AuthorDate: Mon Sep 15 21:34:08 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Mon Sep 15 21:38:27 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5f9a8512

Fix bug 522602 more properly

Instead of adding src_unpack(), move vcs-snapshot to else block, thereby
ensuring src_unpack() from inherit mercurial is used.

---
 dev-cpp/eigen/eigen-9999.ebuild | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
index fa3eb94..24a6c7d 100644
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ b/dev-cpp/eigen/eigen-9999.ebuild
@@ -12,6 +12,7 @@ if [[ ${PV} == "9999" ]] ; then
        SRC_URI=""
        KEYWORDS=""
 else
+       inherit vcs-snapshot
        SRC_URI="
                http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> 
${P}.tar.bz2
                
https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/
 -> ${P}-cmake.patch
@@ -20,7 +21,7 @@ else
        KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 fi
 
-inherit alternatives-2 cmake-utils fortran-2 multilib vcs-snapshot
+inherit alternatives-2 cmake-utils fortran-2 multilib
 
 DESCRIPTION="C++ template library for linear algebra"
 HOMEPAGE="http://eigen.tuxfamily.org/";
@@ -50,11 +51,6 @@ RDEPEND="
        !dev-cpp/eigen:0
        ${CDEPEND}"
 
-src_unpack() {
-       mercurial_src_unpack
-       vcs-snapshot_src_unpack
-}
-
 src_prepare() {
        sed -i \
                -e "s:/usr:${EPREFIX}/usr:g" \

Reply via email to