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

inherit distutils

RESTRICT="primaryuri"

DESCRIPTION="Python Linux kernel inotify extension"
HOMEPAGE="http://pyinotify.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

IUSE="doc"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

PYTHON_MODNAME="pyinotify"

DOCS="README TODO AUTHORS NEWS ChangeLog PKG-INFO"

src_install() {
	distutils_src_install

	if use doc; then

		insinto /usr/share/doc/${P}
		# api documentation
		doins -r doc
		# www page
		doins -r www

		insinto /usr/share/${PN}
		doins -r src/examples
		doins -r src/tests
	fi
}