summaryrefslogtreecommitdiff
blob: f18cba8a204bc4ce51c4b190bbe35b57d650cc70 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="3"
PYTHON_DEPEND="2:2.6"

EGIT_REPO_URI="http://github.com/ezod/${PN}.git"
EGIT_BRANCH="master"

inherit distutils eutils git-2

DESCRIPTION="FuzzPy is a library for fuzzy sets, fuzzy graphs, and general fuzzy
mathematics for Python."
HOMEPAGE="http://github.com/ezod/fuzzpy"
SRC_URI=""

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS=""
IUSE="doc gnuplot pydot"

RDEPEND="
	gnuplot? ( dev-python/gnuplot-py )
	pydot? ( media-gfx/pydot )
"
DEPEND="${RDEPEND}
	dev-python/setuptools
	doc? ( dev-python/epydoc )
"

DOCS="AUTHORS README.markdown RELEASE-NOTES"

src_install() {
	distutils_src_install
	if use doc; then
		env python setup.py doc
		dohtml -r doc/
	fi
}