Gentoo Archives: gentoo-commits

From: "Thomas Anderson (gentoofan23)" <gentoofan23@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/paludis: ChangeLog paludis-0.34.2.ebuild
Date: Wed, 04 Feb 2009 15:57:02
Message-Id: E1LUk7Y-0001I7-LL@stork.gentoo.org
1 gentoofan23 09/02/04 15:57:00
2
3 Modified: ChangeLog
4 Added: paludis-0.34.2.ebuild
5 Log:
6 Version bump, add new appareo(manifest) client.
7 (Portage version: 2.1.6.4/cvs/Linux 2.6.24-gentoo-r8 x86_64)
8
9 Revision Changes Path
10 1.124 sys-apps/paludis/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.124&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.124&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.123&r2=1.124
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v
19 retrieving revision 1.123
20 retrieving revision 1.124
21 diff -u -r1.123 -r1.124
22 --- ChangeLog 27 Jan 2009 22:16:02 -0000 1.123
23 +++ ChangeLog 4 Feb 2009 15:57:00 -0000 1.124
24 @@ -1,6 +1,12 @@
25 # ChangeLog for sys-apps/paludis
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.123 2009/01/27 22:16:02 gentoofan23 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.124 2009/02/04 15:57:00 gentoofan23 Exp $
29 +
30 +*paludis-0.34.2 (04 Feb 2009)
31 +
32 + 04 Feb 2009; Thomas Anderson <gentoofan23@g.o>
33 + +paludis-0.34.2.ebuild:
34 + Version bump, add new appareo(manifest) client.
35
36 27 Jan 2009; Thomas Anderson <gentoofan23@g.o>
37 -paludis-0.32.4.ebuild, -paludis-0.34.0_alpha1.ebuild,
38
39
40
41 1.1 sys-apps/paludis/paludis-0.34.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.34.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.34.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: paludis-0.34.2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.34.2.ebuild,v 1.1 2009/02/04 15:57:00 gentoofan23 Exp $
51
52 inherit bash-completion eutils flag-o-matic
53
54 DESCRIPTION="paludis, the other package mangler"
55 HOMEPAGE="http://paludis.pioto.org/"
56 SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2"
57
58 IUSE="doc inquisitio portage pink python-bindings qa ruby-bindings vim-syntax visibility xml zsh-completion"
59 LICENSE="GPL-2 vim-syntax? ( vim )"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
62
63 COMMON_DEPEND="
64 >=app-admin/eselect-1.0.2
65 >=app-admin/eselect-news-20071201
66 >=app-shells/bash-3
67 inquisitio? ( dev-libs/pcre++ )
68 python-bindings? ( >=dev-lang/python-2.4 >=dev-libs/boost-1.33.1-r1 )
69 qa? ( dev-libs/pcre++ >=dev-libs/libxml2-2.6 app-crypt/gnupg )
70 ruby-bindings? ( >=dev-lang/ruby-1.8 )
71 xml? ( >=dev-libs/libxml2-2.6 )"
72
73 DEPEND="${COMMON_DEPEND}
74 doc? (
75 || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 )
76 media-gfx/imagemagick
77 python-bindings? ( dev-python/epydoc dev-python/pygments )
78 ruby-bindings? ( dev-ruby/syntax dev-ruby/allison )
79 )
80 dev-util/pkgconfig"
81
82 RDEPEND="${COMMON_DEPEND}
83 sys-apps/sandbox"
84
85 # Keep this as a PDEPEND. It avoids issues when Paludis is used as the
86 # default virtual/portage provider.
87 PDEPEND="
88 vim-syntax? ( >=app-editors/vim-core-7 )"
89
90 PROVIDE="virtual/portage"
91
92 create-paludis-user() {
93 enewgroup "paludisbuild"
94 enewuser "paludisbuild" "-1" "-1" "/var/tmp/paludis" "paludisbuild"
95 }
96
97 pkg_setup() {
98 create-paludis-user
99 }
100
101 src_compile() {
102 local repositories=`echo default unpackaged | tr -s \ ,`
103 local clients=`echo default accerso adjutrix appareo importare \
104 $(usev inquisitio ) instruo paludis reconcilio | tr -s \ ,`
105 local environments=`echo default $(usev portage ) | tr -s \ ,`
106 econf \
107 $(use_enable doc doxygen ) \
108 $(use_enable pink ) \
109 $(use_enable qa ) \
110 $(use_enable ruby-bindings ruby ) \
111 $(useq ruby-bindings && useq doc && echo --enable-ruby-doc ) \
112 $(use_enable python-bindings python ) \
113 $(useq python-bindings && useq doc && echo --enable-python-doc ) \
114 $(use_enable xml ) \
115 $(use_enable vim-syntax vim ) \
116 $(use_enable visibility ) \
117 --with-vim-install-dir=/usr/share/vim/vimfiles \
118 --enable-sandbox \
119 --with-repositories=${repositories} \
120 --with-clients=${clients} \
121 --with-environments=${environments} \
122 || die "econf failed"
123
124 emake ${FIXED_MAKEOPTS} || die "emake failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "install failed"
129 dodoc AUTHORS README ChangeLog NEWS
130
131 BASH_COMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix
132 BASH_COMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis
133 BASH_COMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso
134 BASH_COMPLETION_NAME="importare" dobashcompletion bash-completion/importare
135 BASH_COMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo
136 BASH_COMPLETION_NAME="reconcilio" dobashcompletion bash-completion/reconcilio
137 use qa && \
138 BASH_COMPLETION_NAME="qualudis" \
139 dobashcompletion bash-completion/qualudis
140 use inquisitio && \
141 BASH_COMPLETION_NAME="inquisitio" \
142 dobashcompletion bash-completion/inquisitio
143
144 if use zsh-completion ; then
145 insinto /usr/share/zsh/site-functions
146 doins zsh-completion/_paludis
147 doins zsh-completion/_adjutrix
148 doins zsh-completion/_importare
149 doins zsh-completion/_reconcilio
150 use inquisitio && doins zsh-completion/_inquisitio
151 doins zsh-completion/_paludis_packages
152 fi
153 }
154
155 src_test() {
156 # Work around Portage bugs
157 export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks"
158 export BASH_ENV=/dev/null
159
160 if [[ `id -u` == 0 ]] ; then
161 export PALUDIS_REDUCED_UID=0
162 export PALUDIS_REDUCED_GID=0
163 fi
164
165 if ! emake check ; then
166 eerror "Tests failed. Looking for file for you to add to your bug report..."
167 find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do
168 eerror " $a"
169 done
170 die "Make check failed."
171 fi
172 }
173
174 pkg_postinst() {
175 # Remove the symlink created by app-admin/eselect-news
176 if [[ -L "${ROOT}/var/lib/paludis/news" ]] ; then
177 rm "${ROOT}/var/lib/paludis/news"
178 fi
179 }