commit:     4435edace0bfa8d5be0b7bf9cfc977a50219e92d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 12:25:10 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 12:25:10 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4435edac

dev-python/inference: Put it on my devspace

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/inference/inference-0.4.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/inference/inference-0.4.ebuild 
b/dev-python/inference/inference-0.4.ebuild
index aebb7de..fd797ec 100644
--- a/dev-python/inference/inference-0.4.ebuild
+++ b/dev-python/inference/inference-0.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -10,7 +10,7 @@ inherit distutils-r1 flag-o-matic fortran-2
 
 DESCRIPTION="Collection of Python modules for statistical inference"
 HOMEPAGE="http://inference.astro.cornell.edu/";
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";
 
 SLOT="0"
 LICENSE="all-rights-reserved"
@@ -24,6 +24,8 @@ RDEPEND="${DEPEND}
 # buggy tests
 RESTRICT="test"
 
+S="${WORKDIR}"/${P}/package
+
 pkg_setup() {
        fortran-2_pkg_setup
 }
@@ -41,7 +43,7 @@ python_compile() {
 }
 
 python_test() {
-       nosetests --verbose --verbosity=3
+       nosetests --verbose --verbosity=3 || die
 }
 
 python_install() {

Reply via email to