Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 316931 | Differences between
and this patch

Collapse All | Expand All

(-)paludis.orig//paludis-0.70.0.ebuild (-4 / +16 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.70.0.ebuild,v 1.2 2011/11/11 20:12:43 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.70.0.ebuild,v 1.2 2011/11/11 20:12:43 vapier Exp $
4
4
5
inherit bash-completion eutils
5
EAPI="3"
6
7
PYTHON_DEPEND="python-bindings? 2:2.6"
8
9
inherit bash-completion-r1 eutils python
6
10
7
DESCRIPTION="paludis, the other package mangler"
11
DESCRIPTION="paludis, the other package mangler"
8
HOMEPAGE="http://paludis.pioto.org/"
12
HOMEPAGE="http://paludis.pioto.org/"
Lines 20-26 Link Here
20
	dev-libs/libpcre
24
	dev-libs/libpcre
21
	sys-apps/file
25
	sys-apps/file
22
	pbins? ( >=app-arch/libarchive-2.8.4 )
26
	pbins? ( >=app-arch/libarchive-2.8.4 )
23
	python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 )
27
	python-bindings? ( >=dev-libs/boost-1.41.0 )
24
	ruby-bindings? ( >=dev-lang/ruby-1.8 )
28
	ruby-bindings? ( >=dev-lang/ruby-1.8 )
25
	xml? ( >=dev-libs/libxml2-2.6 )
29
	xml? ( >=dev-libs/libxml2-2.6 )
26
	search-index? ( >=dev-db/sqlite-3 )"
30
	search-index? ( >=dev-db/sqlite-3 )"
Lines 54-59 Link Here
54
}
58
}
55
59
56
pkg_setup() {
60
pkg_setup() {
61
	if use python-bindings; then
62
		python_pkg_setup
63
		python_set_active_version 2
64
	fi
65
57
	if ! built_with_use dev-libs/libpcre cxx ; then
66
	if ! built_with_use dev-libs/libpcre cxx ; then
58
		eerror "Paludis needs dev-libs/libpcre built with C++ support"
67
		eerror "Paludis needs dev-libs/libpcre built with C++ support"
59
		eerror "Please build dev-libs/libpcre with USE=cxx support"
68
		eerror "Please build dev-libs/libpcre with USE=cxx support"
Lines 99-105 Link Here
99
	fi
108
	fi
100
}
109
}
101
110
102
src_compile() {
111
src_configure() {
103
	local repositories=`echo default unavailable unpackaged | tr -s \  ,`
112
	local repositories=`echo default unavailable unpackaged | tr -s \  ,`
104
	local environments=`echo default $(usev portage ) | tr -s \  ,`
113
	local environments=`echo default $(usev portage ) | tr -s \  ,`
105
	econf \
114
	econf \
Lines 119-125 Link Here
119
		--with-repositories=${repositories} \
128
		--with-repositories=${repositories} \
120
		--with-environments=${environments} \
129
		--with-environments=${environments} \
121
		|| die "econf failed"
130
		|| die "econf failed"
131
}
122
132
133
src_compile() {
123
	emake || die "emake failed"
134
	emake || die "emake failed"
124
}
135
}
125
136
Lines 127-133 Link Here
127
	emake DESTDIR="${D}" install || die "install failed"
138
	emake DESTDIR="${D}" install || die "install failed"
128
	dodoc AUTHORS README NEWS
139
	dodoc AUTHORS README NEWS
129
140
130
	BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave
141
	# It seems the change of eclass comes with a truncation of dobashcompletion to dobashcomp
142
	#BASHCOMPLETION_NAME="cave" dobashcomp bash-completion/cave
131
143
132
	if use zsh-completion ; then
144
	if use zsh-completion ; then
133
		insinto /usr/share/zsh/site-functions
145
		insinto /usr/share/zsh/site-functions

Return to bug 316931