summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/cado-nfs/cado-nfs-2.2.0.ebuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/sci-mathematics/cado-nfs/cado-nfs-2.2.0.ebuild b/sci-mathematics/cado-nfs/cado-nfs-2.2.0.ebuild
index 123f91fa2fbd..6201687e8a7e 100644
--- a/sci-mathematics/cado-nfs/cado-nfs-2.2.0.ebuild
+++ b/sci-mathematics/cado-nfs/cado-nfs-2.2.0.ebuild
@@ -1,22 +1,25 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
-DESCRIPTION="Number Field Sieve (NFS) implementation for factoring integers"
-HOMEPAGE="http://cado-nfs.gforge.inria.fr/"
-SRC_URI="https://gforge.inria.fr/frs/download.php/file/35401/${P}.tar.gz"
PYTHON_COMPAT=( python{2_7,3_4} )
PYTHON_REQ_USE="sqlite"
+
inherit eutils cmake-utils python-r1
-# Fails F9_{k,m}bucket_test F9_tracektest
-RESTRICT="test"
+DESCRIPTION="Number Field Sieve (NFS) implementation for factoring integers"
+HOMEPAGE="http://cado-nfs.gforge.inria.fr/"
+SRC_URI="https://gforge.inria.fr/frs/download.php/file/35401/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Fails F9_{k,m}bucket_test F9_tracektest
+RESTRICT="test"
RDEPEND="
${PYTHON_DEPS}