Gentoo Archives: gentoo-commits

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