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

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

inherit distutils eutils

DESCRIPTION="FuzzPy is a library for fuzzy sets, fuzzy graphs, and general fuzzy
mathematics for Python."
HOMEPAGE="http://github.com/ezod/fuzzpy"
SRC_URI="http://pypi.python.org/packages/source/f/${PN}/${P}.tar.bz2"

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

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

DOCS="AUTHORS README.markdown RELEASE-NOTES"

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