summaryrefslogtreecommitdiff
blob: 1a71b405e809a90fe4df2a4a9abdd48249c6adf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DIST_AUTHOR="KRYDE"
DIST_VERSION=71
inherit perl-module

DESCRIPTION="number sequences (for example from OEIS)"

SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test examples"

RDEPEND="dev-perl/constant-defer
	dev-perl/File-HomeDir
	>=dev-perl/Math-Factor-XS-0.400.0
	dev-perl/Math-Libm
	>=dev-perl/Math-Prime-XS-0.260.0
	>=dev-perl/Module-Pluggable-4.700.0
	dev-perl/Module-Util
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	virtual/perl-Module-Load
	virtual/perl-Scalar-List-Utils"
DEPEND="${RDEPEND}
	virtual/perl-ExtUtils-MakeMaker
	test? ( dev-perl/Data-Float
		virtual/perl-Test )"

# Note: Examples need extra deps, but they're not critical LATER
src_install() {
	perl-module_src_install
	if use examples; then
		docompress -x /usr/share/doc/${PF}/examples
		docinto	examples
		dodoc -r examples/other/*
	fi
}