Gentoo Archives: gentoo-commits

From: "Thomas Anderson (tanderson)" <tanderson@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/paludis: paludis-0.42.3.ebuild ChangeLog
Date: Sun, 27 Dec 2009 02:36:56
Message-Id: E1NOizn-00065B-Oo@stork.gentoo.org
1 tanderson 09/12/27 02:36:39
2
3 Modified: ChangeLog
4 Added: paludis-0.42.3.ebuild
5 Log:
6 Add sys-apps/paludis-0.42.3.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.148 sys-apps/paludis/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.148&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.148&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.147&r2=1.148
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v
19 retrieving revision 1.147
20 retrieving revision 1.148
21 diff -u -r1.147 -r1.148
22 --- ChangeLog 3 Nov 2009 16:31:46 -0000 1.147
23 +++ ChangeLog 27 Dec 2009 02:36:31 -0000 1.148
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.147 2009/11/03 16:31:46 peper Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.148 2009/12/27 02:36:31 tanderson Exp $
29 +
30 +*paludis-0.42.3 (27 Dec 2009)
31 +
32 + 27 Dec 2009; Thomas Anderson <tanderson@g.o>
33 + +paludis-0.42.3.ebuild:
34 + Add sys-apps/paludis-0.42.3.
35
36 *paludis-0.42.2 (03 Nov 2009)
37
38
39
40
41 1.1 sys-apps/paludis/paludis-0.42.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.42.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/paludis/paludis-0.42.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: paludis-0.42.3.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.42.3.ebuild,v 1.1 2009/12/27 02:36:31 tanderson 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 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.2_rc1
65 >=app-shells/bash-3.2
66 inquisitio? ( dev-libs/libpcre )
67 python-bindings? ( >=dev-lang/python-2.4 >=dev-libs/boost-1.33.1-r1 )
68 ruby-bindings? ( >=dev-lang/ruby-1.8 )
69 xml? ( >=dev-libs/libxml2-2.6 )"
70
71 DEPEND="${COMMON_DEPEND}
72 doc? (
73 || ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 )
74 media-gfx/imagemagick
75 python-bindings? ( dev-python/epydoc dev-python/pygments )
76 ruby-bindings? ( dev-ruby/syntax dev-ruby/allison )
77 )
78 dev-util/pkgconfig"
79
80 RDEPEND="${COMMON_DEPEND}
81 sys-apps/sandbox"
82
83 # Keep this as a PDEPEND. It avoids issues when Paludis is used as the
84 # default virtual/portage provider.
85 PDEPEND="
86 vim-syntax? ( >=app-editors/vim-core-7 )"
87
88 PROVIDE="virtual/portage"
89
90 create-paludis-user() {
91 enewgroup "paludisbuild"
92 enewuser "paludisbuild" "-1" "-1" "/var/tmp/paludis" "paludisbuild"
93 }
94
95 pkg_setup() {
96 if use inquisitio || use qa; then
97 if ! built_with_use dev-libs/libpcre cxx ; then
98 eerror "Paludis needs dev-libs/libpcre built with C++ support"
99 eerror "Please build dev-libs/libpcre with USE=cxx support"
100 die "Rebuild dev-libs/libpcre with USE=cxx"
101 fi
102 fi
103
104 if use python-bindings && \
105 ! built_with_use --missing true dev-libs/boost python; then
106 eerror "With USE python-bindings you need boost build with the python"
107 eerror "use flag."
108 die "Rebuild dev-libs/boost with USE python"
109 fi
110
111 create-paludis-user
112 }
113
114 src_compile() {
115 local repositories=`echo default unpackaged | tr -s \ ,`
116 local clients=`echo default accerso adjutrix appareo importare \
117 $(usev inquisitio ) instruo paludis reconcilio | tr -s \ ,`
118 local environments=`echo default $(usev portage ) | tr -s \ ,`
119 econf \
120 $(use_enable doc doxygen ) \
121 $(use_enable pink ) \
122 $(use_enable ruby-bindings ruby ) \
123 $(useq ruby-bindings && useq doc && echo --enable-ruby-doc ) \
124 $(use_enable python-bindings python ) \
125 $(useq python-bindings && useq doc && echo --enable-python-doc ) \
126 $(use_enable xml ) \
127 $(use_enable vim-syntax vim ) \
128 $(use_enable visibility ) \
129 --with-vim-install-dir=/usr/share/vim/vimfiles \
130 --with-repositories=${repositories} \
131 --with-clients=${clients} \
132 --with-environments=${environments}
133
134 emake || die "emake failed"
135 }
136
137 src_install() {
138 emake DESTDIR="${D}" install || die "install failed"
139 dodoc AUTHORS README NEWS
140
141 BASH_COMPLETION_NAME="adjutrix" dobashcompletion bash-completion/adjutrix
142 BASH_COMPLETION_NAME="paludis" dobashcompletion bash-completion/paludis
143 BASH_COMPLETION_NAME="accerso" dobashcompletion bash-completion/accerso
144 BASH_COMPLETION_NAME="importare" dobashcompletion bash-completion/importare
145 BASH_COMPLETION_NAME="instruo" dobashcompletion bash-completion/instruo
146 BASH_COMPLETION_NAME="reconcilio" dobashcompletion bash-completion/reconcilio
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 }