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