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