1 |
peper 10/08/24 19:13:27 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: paludis-0.54.0.ebuild |
5 |
Log: |
6 |
Add 0.54.0 |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 sys-apps/paludis/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?rev=1.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/metadata.xml,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- metadata.xml 20 Jun 2010 18:34:53 -0000 1.13 |
23 |
+++ metadata.xml 24 Aug 2010 19:13:27 -0000 1.14 |
24 |
@@ -15,6 +15,7 @@ |
25 |
to build (~700Mbytes per job) and adds a dependency upon |
26 |
<pkg>dev-libs/boost</pkg></flag> |
27 |
<flag name="ruby-bindings">Enable Ruby bindings.</flag> |
28 |
+ <flag name='search-index'>Enable cave search --index. Requires sqlite.</flag> |
29 |
<flag name="visibility">Enable visibility support (g++ >=4.1)</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.172 sys-apps/paludis/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.172&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.172&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.171&r2=1.172 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v |
44 |
retrieving revision 1.171 |
45 |
retrieving revision 1.172 |
46 |
diff -u -r1.171 -r1.172 |
47 |
--- ChangeLog 11 Aug 2010 15:47:20 -0000 1.171 |
48 |
+++ ChangeLog 24 Aug 2010 19:13:27 -0000 1.172 |
49 |
@@ -1,6 +1,12 @@ |
50 |
# ChangeLog for sys-apps/paludis |
51 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.171 2010/08/11 15:47:20 dagger Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.172 2010/08/24 19:13:27 peper Exp $ |
54 |
+ |
55 |
+*paludis-0.54.0 (24 Aug 2010) |
56 |
+ |
57 |
+ 24 Aug 2010; Piotr JaroszyĆski <peper@g.o> +paludis-0.54.0.ebuild, |
58 |
+ metadata.xml: |
59 |
+ Add 0.54.0 |
60 |
|
61 |
*paludis-0.52.3 (11 Aug 2010) |
62 |
|
63 |
|
64 |
|
65 |
|
66 |
1.1 sys-apps/paludis/paludis-0.54.0.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.54.0.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.54.0.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: paludis-0.54.0.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2010 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.54.0.ebuild,v 1.1 2010/08/24 19:13:27 peper Exp $ |
76 |
|
77 |
inherit bash-completion eutils |
78 |
|
79 |
DESCRIPTION="paludis, the other package mangler" |
80 |
HOMEPAGE="http://paludis.pioto.org/" |
81 |
SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2" |
82 |
|
83 |
IUSE="doc portage pink python-bindings ruby-bindings search-index vim-syntax visibility xml zsh-completion" |
84 |
LICENSE="GPL-2 vim-syntax? ( vim )" |
85 |
SLOT="0" |
86 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~x86" |
87 |
|
88 |
COMMON_DEPEND=" |
89 |
>=app-admin/eselect-1.2_rc1 |
90 |
>=app-shells/bash-3.2 |
91 |
>=sys-devel/gcc-4.4 |
92 |
dev-libs/libpcre |
93 |
python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 ) |
94 |
ruby-bindings? ( >=dev-lang/ruby-1.8 ) |
95 |
xml? ( >=dev-libs/libxml2-2.6 ) |
96 |
search-index? ( >=dev-db/sqlite-3 )" |
97 |
|
98 |
DEPEND="${COMMON_DEPEND} |
99 |
doc? ( |
100 |
|| ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 ) |
101 |
media-gfx/imagemagick |
102 |
python-bindings? ( dev-python/epydoc dev-python/pygments ) |
103 |
ruby-bindings? ( dev-ruby/syntax dev-ruby/allison ) |
104 |
) |
105 |
dev-util/pkgconfig" |
106 |
|
107 |
RDEPEND="${COMMON_DEPEND} |
108 |
sys-apps/sandbox" |
109 |
|
110 |
# Keep syntax as a PDEPEND. It avoids issues when Paludis is used as the |
111 |
# default virtual/portage provider. |
112 |
PDEPEND=" |
113 |
vim-syntax? ( >=app-editors/vim-core-7 ) |
114 |
app-admin/eselect-package-manager" |
115 |
|
116 |
PROVIDE="virtual/portage" |
117 |
|
118 |
create-paludis-user() { |
119 |
enewgroup "paludisbuild" |
120 |
enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild" |
121 |
} |
122 |
|
123 |
pkg_setup() { |
124 |
if ! built_with_use dev-libs/libpcre cxx ; then |
125 |
eerror "Paludis needs dev-libs/libpcre built with C++ support" |
126 |
eerror "Please build dev-libs/libpcre with USE=cxx support" |
127 |
die "Rebuild dev-libs/libpcre with USE=cxx" |
128 |
fi |
129 |
|
130 |
if use python-bindings && \ |
131 |
! built_with_use --missing true dev-libs/boost python; then |
132 |
eerror "With USE python-bindings you need boost build with the python" |
133 |
eerror "use flag." |
134 |
die "Rebuild dev-libs/boost with USE python" |
135 |
fi |
136 |
|
137 |
create-paludis-user |
138 |
} |
139 |
|
140 |
src_compile() { |
141 |
local repositories=`echo default unavailable unpackaged | tr -s \ ,` |
142 |
local clients=`echo default accerso adjutrix appareo cave importare inquisitio instruo paludis reconcilio | tr -s \ ,` |
143 |
local environments=`echo default $(usev portage ) | tr -s \ ,` |
144 |
econf \ |
145 |
$(use_enable doc doxygen ) \ |
146 |
$(use_enable pink ) \ |
147 |
$(use_enable ruby-bindings ruby ) \ |
148 |
$(useq ruby-bindings && useq doc && echo --enable-ruby-doc ) \ |
149 |
$(use_enable python-bindings python ) \ |
150 |
$(useq python-bindings && useq doc && echo --enable-python-doc ) \ |
151 |
$(use_enable vim-syntax vim ) \ |
152 |
$(use_enable visibility ) \ |
153 |
$(use_enable xml ) \ |
154 |
$(use_enable search-index ) \ |
155 |
--with-vim-install-dir=/usr/share/vim/vimfiles \ |
156 |
--with-repositories=${repositories} \ |
157 |
--with-clients=${clients} \ |
158 |
--with-environments=${environments} \ |
159 |
|| die "econf failed" |
160 |
|
161 |
emake || die "emake failed" |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
emake DESTDIR="${D}" install || die "install failed" |
166 |
dodoc AUTHORS README NEWS |
167 |
|
168 |
BASHCOMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix |
169 |
BASHCOMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis |
170 |
BASHCOMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso |
171 |
BASHCOMPLETION_NAME="importare" dobashcompletion bash-completion/importare |
172 |
BASHCOMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo |
173 |
BASHCOMPLETION_NAME="reconcilio" dobashcompletion bash-completion/reconcilio |
174 |
BASHCOMPLETION_NAME="inquisitio" dobashcompletion bash-completion/inquisitio |
175 |
BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave |
176 |
|
177 |
if use zsh-completion ; then |
178 |
insinto /usr/share/zsh/site-functions |
179 |
doins zsh-completion/_paludis |
180 |
doins zsh-completion/_adjutrix |
181 |
doins zsh-completion/_importare |
182 |
doins zsh-completion/_reconcilio |
183 |
doins zsh-completion/_inquisitio |
184 |
doins zsh-completion/_paludis_packages |
185 |
doins zsh-completion/_cave |
186 |
fi |
187 |
} |
188 |
|
189 |
src_test() { |
190 |
# Work around Portage bugs |
191 |
export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
192 |
export BASH_ENV=/dev/null |
193 |
|
194 |
if [[ `id -u` == 0 ]] ; then |
195 |
# hate |
196 |
export PALUDIS_REDUCED_UID=0 |
197 |
export PALUDIS_REDUCED_GID=0 |
198 |
fi |
199 |
|
200 |
if ! emake check ; then |
201 |
eerror "Tests failed. Looking for files for you to add to your bug report..." |
202 |
find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
203 |
eerror " $a" |
204 |
done |
205 |
die "Make check failed" |
206 |
fi |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
pm_is_paludis=false |
211 |
if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
212 |
pm_is_paludis=$( source ${ROOT}/etc/env.d/50package-manager ; [[ ${PACKAGE_MANAGER} == paludis ]] && echo true || echo false ) |
213 |
fi |
214 |
|
215 |
if ! $pm_is_paludis ; then |
216 |
elog "If you are using paludis or cave as your primary package manager," |
217 |
elog "you should consider running:" |
218 |
elog " eselect package-manager set paludis" |
219 |
fi |
220 |
} |