blob: 0b51d57c6d3bf66ae4f126bc76c1ac55cc23848c (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python2_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Python bindings for the CUPS API"
HOMEPAGE="http://cyberelk.net/tim/software/pycups/"
SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="doc examples"
RDEPEND="
net-print/cups
"
DEPEND="${RDEPEND}
doc? ( dev-python/epydoc )
"
python_compile_all() {
if use doc; then
emake doc
fi
}
python_install_all() {
if use doc; then
dohtml -r html/
fi
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples/
fi
}
|