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

(-)a/sys-libs/tevent/tevent-0.9.19.ebuild (-8 / +16 lines)
Lines 14-28 SRC_URI="http://samba.org/ftp/tevent/${P}.tar.gz" Link Here
14
LICENSE="GPL-3"
14
LICENSE="GPL-3"
15
SLOT="0"
15
SLOT="0"
16
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
16
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~arm-linux ~x86-linux"
17
IUSE=""
17
IUSE="python"
18
18
19
RDEPEND=">=sys-libs/talloc-2.0.8[python]
19
RDEPEND=">=sys-libs/talloc-2.0.8[python?]
20
	${PYTHON_DEPS}"
20
	python? ( ${PYTHON_DEPS} )"
21
21
22
DEPEND="${RDEPEND}
22
DEPEND="${RDEPEND}
23
	virtual/pkgconfig
23
	virtual/pkgconfig
24
	${PYTHON_DEPS}
24
"
25
"
25
26
# build system does not work with python3
26
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
27
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
27
28
28
WAF_BINARY="${S}/buildtools/bin/waf"
29
WAF_BINARY="${S}/buildtools/bin/waf"
Lines 31-40 pkg_setup() { Link Here
31
	python-single-r1_pkg_setup
32
	python-single-r1_pkg_setup
32
}
33
}
33
34
35
src_configure() {
36
	waf-utils_src_configure \
37
		$(usex python '' '--disable-python')
38
}
39
34
src_install() {
40
src_install() {
35
	waf-utils_src_install
41
	waf-utils_src_install
36
	python_export PYTHON_SITEDIR
42
	if use python; then
37
	insinto "${PYTHON_SITEDIR#${EPREFIX}}"
43
		python_export PYTHON_SITEDIR
38
	doins tevent.py
44
		insinto "${PYTHON_SITEDIR#${EPREFIX}}"
39
	python_optimize
45
		doins tevent.py
46
		python_optimize
47
	fi
40
}
48
}

Return to bug 489114