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