Gentoo Archives: gentoo-commits

From: "Robert Piasek (dagger)" <dagger@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/paludis: metadata.xml ChangeLog paludis-0.60.3.ebuild
Date: Tue, 05 Apr 2011 09:11:50
Message-Id: 20110405091136.5F23920054@flycatcher.gentoo.org
1 dagger 11/04/05 09:11:36
2
3 Modified: metadata.xml ChangeLog
4 Added: paludis-0.60.3.ebuild
5 Log:
6 Add version 0.60.3
7
8 (Portage version: 2.1.9.45/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.16 sys-apps/paludis/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/metadata.xml?r1=1.15&r2=1.16
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/metadata.xml,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- metadata.xml 23 Nov 2010 17:12:50 -0000 1.15
24 +++ metadata.xml 5 Apr 2011 09:11:36 -0000 1.16
25 @@ -7,12 +7,12 @@
26 <name>Thomas Anderson</name>
27 </maintainer>
28 <use>
29 - <flag name="inquisitio">Enable inquisitio, the search client</flag>
30 <flag name="pbins">Enable binary package support. Adds dependency upon
31 <pkg>app-arch/libarchive</pkg></flag>
32 <flag name="pink">Use a less boring colourscheme than the default</flag>
33 <flag name="portage">Enable experimental support for Portage
34 configuration formats</flag>
35 + <flag name="prebuilt-documentation">Use pre-built documentation</flag>
36 <flag name="python-bindings">Enable Python bindings. Requires a lot of RAM
37 to build (~700Mbytes per job) and adds a dependency upon
38 <pkg>dev-libs/boost</pkg></flag>
39
40
41
42 1.198 sys-apps/paludis/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.198&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.198&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.197&r2=1.198
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v
51 retrieving revision 1.197
52 retrieving revision 1.198
53 diff -u -r1.197 -r1.198
54 --- ChangeLog 27 Mar 2011 21:59:18 -0000 1.197
55 +++ ChangeLog 5 Apr 2011 09:11:36 -0000 1.198
56 @@ -1,6 +1,11 @@
57 # ChangeLog for sys-apps/paludis
58 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.197 2011/03/27 21:59:18 peper Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.198 2011/04/05 09:11:36 dagger Exp $
61 +
62 +*paludis-0.60.3 (05 Apr 2011)
63 +
64 + 05 Apr 2011; Robert Piasek <dagger@g.o> +paludis-0.60.3.ebuild:
65 + Add version 0.60.3
66
67 27 Mar 2011; Piotr JaroszyƄski <peper@g.o> -paludis-0.44.2.ebuild,
68 -paludis-0.46.0.ebuild, -paludis-0.48.6.ebuild, -paludis-0.50.3.ebuild,
69
70
71
72 1.1 sys-apps/paludis/paludis-0.60.3.ebuild
73
74 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.60.3.ebuild?rev=1.1&view=markup
75 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.60.3.ebuild?rev=1.1&content-type=text/plain
76
77 Index: paludis-0.60.3.ebuild
78 ===================================================================
79 # Copyright 1999-2011 Gentoo Foundation
80 # Distributed under the terms of the GNU General Public License v2
81 # $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.60.3.ebuild,v 1.1 2011/04/05 09:11:36 dagger Exp $
82
83 inherit bash-completion eutils
84
85 DESCRIPTION="paludis, the other package mangler"
86 HOMEPAGE="http://paludis.pioto.org/"
87 SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2"
88
89 IUSE="doc pbins portage pink prebuilt-documentation python-bindings ruby-bindings search-index vim-syntax visibility xml zsh-completion"
90 LICENSE="GPL-2 vim-syntax? ( vim )"
91 SLOT="0"
92 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
93
94 COMMON_DEPEND="
95 >=app-admin/eselect-1.2.13
96 >=app-shells/bash-3.2
97 >=sys-devel/gcc-4.4
98 dev-libs/libpcre
99 sys-apps/file
100 pbins? ( >=app-arch/libarchive-2.8.4 )
101 python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 )
102 ruby-bindings? ( >=dev-lang/ruby-1.8 )
103 xml? ( >=dev-libs/libxml2-2.6 )
104 search-index? ( >=dev-db/sqlite-3 )"
105
106 DEPEND="${COMMON_DEPEND}
107 !prebuilt-documentation? (
108 >=app-text/asciidoc-8.6.3
109 app-text/xmlto
110 )
111 doc? (
112 || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 )
113 media-gfx/imagemagick
114 python-bindings? ( dev-python/epydoc dev-python/pygments )
115 ruby-bindings? ( dev-ruby/syntax dev-ruby/allison )
116 )
117 dev-util/pkgconfig"
118
119 RDEPEND="${COMMON_DEPEND}
120 sys-apps/sandbox"
121
122 # Keep syntax as a PDEPEND. It avoids issues when Paludis is used as the
123 # default virtual/portage provider.
124 PDEPEND="
125 vim-syntax? ( >=app-editors/vim-core-7 )
126 app-admin/eselect-package-manager"
127
128 PROVIDE="virtual/portage"
129
130 create-paludis-user() {
131 enewgroup "paludisbuild"
132 enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty"
133 }
134
135 pkg_setup() {
136 if ! built_with_use dev-libs/libpcre cxx ; then
137 eerror "Paludis needs dev-libs/libpcre built with C++ support"
138 eerror "Please build dev-libs/libpcre with USE=cxx support"
139 die "Rebuild dev-libs/libpcre with USE=cxx"
140 fi
141
142 if use python-bindings && \
143 ! built_with_use --missing true dev-libs/boost python; then
144 eerror "With USE python-bindings you need boost build with the python"
145 eerror "use flag."
146 die "Rebuild dev-libs/boost with USE python"
147 fi
148
149 if use pbins && \
150 built_with_use app-arch/libarchive xattr; then
151 eerror "With USE pbins you need libarchive build without the xattr"
152 eerror "use flag."
153 die "Rebuild app-arch/libarchive without USE xattr"
154 fi
155
156 if id paludisbuild >/dev/null 2>/dev/null ; then
157 if ! groups paludisbuild | grep --quiet '\<tty\>' ; then
158 eerror "The 'paludisbuild' user is now expected to be a member of the"
159 eerror "'tty' group. You should add the user to this group before"
160 eerror "upgrading Paludis."
161 die "Please add paludisbuild to tty group"
162 fi
163 fi
164
165 create-paludis-user
166
167 # 'paludis' tries to exec() itself after an upgrade
168 if [[ "${PKGMANAGER}" == paludis-0.[012345]* ]] && [[ -z "${CAVE}" ]] ; then
169 eerror "The 'paludis' client has been removed in Paludis 0.60. You must use"
170 eerror "'cave' to upgrade."
171 die "Can't use 'paludis' to upgrade Paludis"
172 fi
173 }
174
175 src_compile() {
176 local repositories=`echo default unavailable unpackaged | tr -s \ ,`
177 local clients=`echo default accerso appareo cave instruo | tr -s \ ,`
178 local environments=`echo default $(usev portage ) | tr -s \ ,`
179 econf \
180 $(use_enable doc doxygen ) \
181 $(use_enable pbins ) \
182 $(use_enable pink ) \
183 $(use_enable ruby-bindings ruby ) \
184 $(useq ruby-bindings && useq doc && echo --enable-ruby-doc ) \
185 $(use_enable prebuilt-documentation ) \
186 $(use_enable python-bindings python ) \
187 $(useq python-bindings && useq doc && echo --enable-python-doc ) \
188 $(use_enable vim-syntax vim ) \
189 $(use_enable visibility ) \
190 $(use_enable xml ) \
191 $(use_enable search-index ) \
192 --with-vim-install-dir=/usr/share/vim/vimfiles \
193 --with-repositories=${repositories} \
194 --with-clients=${clients} \
195 --with-environments=${environments} \
196 || die "econf failed"
197
198 emake || die "emake failed"
199 }
200
201 src_install() {
202 emake DESTDIR="${D}" install || die "install failed"
203 dodoc AUTHORS README NEWS
204
205 BASHCOMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso
206 BASHCOMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo
207 BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave
208
209 if use zsh-completion ; then
210 insinto /usr/share/zsh/site-functions
211 doins zsh-completion/_cave
212 fi
213 }
214
215 src_test() {
216 # Work around Portage bugs
217 export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
218 export BASH_ENV=/dev/null
219
220 if [[ `id -u` == 0 ]] ; then
221 # hate
222 export PALUDIS_REDUCED_UID=0
223 export PALUDIS_REDUCED_GID=0
224 fi
225
226 if ! emake check ; then
227 eerror "Tests failed. Looking for files for you to add to your bug report..."
228 find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do
229 eerror " $a"
230 done
231 die "Make check failed"
232 fi
233 }
234
235 pkg_postinst() {
236 pm_is_paludis=false
237 if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then
238 pm_is_paludis=$( source ${ROOT}/etc/env.d/50package-manager ; [[ ${PACKAGE_MANAGER} == paludis ]] && echo true || echo false )
239 fi
240
241 if ! $pm_is_paludis ; then
242 elog "If you are using paludis or cave as your primary package manager,"
243 elog "you should consider running:"
244 elog " eselect package-manager set paludis"
245 fi
246 }