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

(-)/usr/portage/sys-libs/ldb/ldb-1.1.0.ebuild (-2 / +14 lines)
Lines 17-24 Link Here
17
IUSE="doc"
17
IUSE="doc"
18
18
19
RDEPEND="dev-libs/popt
19
RDEPEND="dev-libs/popt
20
	>=sys-libs/talloc-2.0.0
20
	>=sys-libs/talloc-2.0.0[python]
21
	sys-libs/tdb
21
	sys-libs/tdb[python]
22
	sys-libs/tevent
22
	sys-libs/tevent
23
	net-nds/openldap"
23
	net-nds/openldap"
24
24
Lines 31-36 Link Here
31
pkg_setup() {
31
pkg_setup() {
32
	python_set_active_version 2
32
	python_set_active_version 2
33
	python_pkg_setup
33
	python_pkg_setup
34
	python_need_rebuild
34
}
35
}
35
36
36
src_configure() {
37
src_configure() {
Lines 48-53 Link Here
48
	use doc && doxygen Doxyfile
49
	use doc && doxygen Doxyfile
49
}
50
}
50
51
52
src_test() {
53
	WAF_MAKE=1 \
54
	PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${S}"/bin/shared/private/ \
55
	LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/"${S}"/bin/shared/private/ waf test || die
56
}
57
51
src_install() {
58
src_install() {
52
	waf-utils_src_install
59
	waf-utils_src_install
53
	rm "${D}/$(python_get_sitedir)/"_tevent.so
60
	rm "${D}/$(python_get_sitedir)/"_tevent.so
Lines 57-59 Link Here
57
		doman  apidocs/man/man3/*.3
64
		doman  apidocs/man/man3/*.3
58
	fi
65
	fi
59
}
66
}
67
68
pkg_postinst() {
69
	python_need_rebuild
70
}
71

Return to bug 377881