Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 455336
Collapse All | Expand All

(-)dot2tex-2.8.7.ebuild (-13 / +12 lines)
Lines 2-13 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-tex/dot2tex/dot2tex-2.8.7.ebuild,v 1.20 2012/12/31 13:05:31 mgorny Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-tex/dot2tex/dot2tex-2.8.7.ebuild,v 1.20 2012/12/31 13:05:31 mgorny Exp $
4
4
5
EAPI="3"
5
EAPI=5
6
PYTHON_DEPEND="2"
7
SUPPORT_PYTHON_ABIS="1"
8
RESTRICT_PYTHON_ABIS="3.*"
9
6
10
inherit distutils
7
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
8
9
inherit distutils-r1
11
10
12
DESCRIPTION="A Graphviz to LaTeX converter"
11
DESCRIPTION="A Graphviz to LaTeX converter"
13
HOMEPAGE="http://www.fauskes.net/code/dot2tex/"
12
HOMEPAGE="http://www.fauskes.net/code/dot2tex/"
Lines 15-38 SRC_URI="http://dot2tex.googlecode.com/f Link Here
15
14
16
LICENSE="MIT"
15
LICENSE="MIT"
17
SLOT="0"
16
SLOT="0"
18
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
19
IUSE="doc examples"
18
IUSE="doc examples"
20
19
21
DEPEND=""
20
DEPEND=""
22
RDEPEND="virtual/pyparsing
21
RDEPEND="virtual/pyparsing[${PYTHON_USEDEP}]
23
	media-gfx/pydot
22
	media-gfx/pydot[${PYTHON_USEDEP}]
24
	media-gfx/graphviz"
23
	media-gfx/graphviz"
25
24
26
DOCS="changelog.txt"
25
python_install_all() {
26
	distutils-r1_python_install_all
27
27
28
src_install() {
29
	distutils_src_install
30
	if use doc; then
28
	if use doc; then
31
		dohtml -r doc/*
29
		dohtml -r doc/*
32
		dodoc doc/usage.{txt,pdf}
30
		dodoc doc/usage.{txt,pdf}
33
	fi
31
	fi
34
	if use examples; then
32
	if use examples; then
35
		insinto "/usr/share/doc/${PF}/examples"
33
		docinto examples
36
		doins examples/*
34
		dodoc examples/.
35
		docompress -x /usr/share/doc/${PF}/examples
37
	fi
36
	fi
38
}
37
}

Return to bug 455336