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