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

(-)pycairo-1.8.4.ebuild (-5 / +20 lines)
Lines 13-26 Link Here
13
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
13
LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
15
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
16
IUSE="examples"
16
IUSE="doc examples"
17
17
18
RDEPEND=">=x11-libs/cairo-1.8.4"
18
RDEPEND=">=x11-libs/cairo-1.8.6"
19
DEPEND="${RDEPEND}
19
DEPEND="${RDEPEND}
20
	dev-util/pkgconfig"
20
	dev-util/pkgconfig
21
	doc? ( dev-python/sphinx )"
21
22
22
PYTHON_MODNAME="cairo"
23
PYTHON_MODNAME="cairo"
23
DOCS="AUTHORS NEWS doc/*"
24
DOCS="AUTHORS NEWS"
24
25
25
src_unpack() {
26
src_unpack() {
26
	unpack ${A}
27
	unpack ${A}
Lines 32-40 Link Here
32
		cairo/Makefile.in || die "sed in cairo/Makefile.in failed"
33
		cairo/Makefile.in || die "sed in cairo/Makefile.in failed"
33
}
34
}
34
35
36
src_compile() {
37
	distutils_src_compile
38
	
39
	if use doc ; then
40
		econf
41
		cd "${S}"/doc
42
		make html || die "Building html docs failed"
43
	fi
44
}
45
35
src_install() {
46
src_install() {
36
	distutils_src_install
47
	distutils_src_install
37
48
	
49
	if use doc ; then
50
		dohtml -r doc/.build/html/
51
	fi
52
	
38
	if use examples ; then
53
	if use examples ; then
39
		insinto /usr/share/doc/${PF}/examples
54
		insinto /usr/share/doc/${PF}/examples
40
		doins -r examples/*
55
		doins -r examples/*

Return to bug 276805