1 |
dagger 11/11/01 00:25:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: paludis-0.70.1.ebuild |
5 |
Removed: paludis-0.64.1.ebuild paludis-0.64.2.ebuild |
6 |
Log: |
7 |
Add version 0.70.1 |
8 |
|
9 |
(Portage version: 2.1.10.31/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.212 sys-apps/paludis/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.212&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.212&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.211&r2=1.212 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v |
21 |
retrieving revision 1.211 |
22 |
retrieving revision 1.212 |
23 |
diff -u -r1.211 -r1.212 |
24 |
--- ChangeLog 23 Oct 2011 15:28:07 -0000 1.211 |
25 |
+++ ChangeLog 1 Nov 2011 00:25:45 -0000 1.212 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sys-apps/paludis |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.211 2011/10/23 15:28:07 dagger Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.212 2011/11/01 00:25:45 dagger Exp $ |
31 |
+ |
32 |
+*paludis-0.70.1 (01 Nov 2011) |
33 |
+ |
34 |
+ 01 Nov 2011; Robert Piasek <dagger@g.o> -paludis-0.64.1.ebuild, |
35 |
+ -paludis-0.64.2.ebuild, +paludis-0.70.1.ebuild: |
36 |
+ Add version 0.70.1. Remove older 0.64.x ebuilds |
37 |
|
38 |
*paludis-0.70.0 (23 Oct 2011) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sys-apps/paludis/paludis-0.70.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.70.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-0.70.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: paludis-0.70.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-0.70.1.ebuild,v 1.1 2011/11/01 00:25:45 dagger Exp $ |
53 |
|
54 |
inherit bash-completion eutils |
55 |
|
56 |
DESCRIPTION="paludis, the other package mangler" |
57 |
HOMEPAGE="http://paludis.pioto.org/" |
58 |
SRC_URI="http://paludis.pioto.org/download/${P}.tar.bz2" |
59 |
|
60 |
IUSE="doc pbins portage pink prebuilt-documentation python-bindings ruby-bindings search-index vim-syntax visibility xml zsh-completion" |
61 |
LICENSE="GPL-2 vim-syntax? ( vim )" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
64 |
|
65 |
COMMON_DEPEND=" |
66 |
>=app-admin/eselect-1.2.13 |
67 |
>=app-shells/bash-3.2 |
68 |
>=sys-devel/gcc-4.4 |
69 |
dev-libs/libpcre |
70 |
sys-apps/file |
71 |
pbins? ( >=app-arch/libarchive-2.8.4 ) |
72 |
python-bindings? ( >=dev-lang/python-2.6 >=dev-libs/boost-1.41.0 ) |
73 |
ruby-bindings? ( >=dev-lang/ruby-1.8 ) |
74 |
xml? ( >=dev-libs/libxml2-2.6 ) |
75 |
search-index? ( >=dev-db/sqlite-3 )" |
76 |
|
77 |
DEPEND="${COMMON_DEPEND} |
78 |
!prebuilt-documentation? ( |
79 |
>=app-text/asciidoc-8.6.3 |
80 |
app-text/xmlto |
81 |
) |
82 |
doc? ( |
83 |
|| ( >=app-doc/doxygen-1.5.3 <=app-doc/doxygen-1.5.1 ) |
84 |
media-gfx/imagemagick |
85 |
python-bindings? ( dev-python/epydoc dev-python/pygments ) |
86 |
ruby-bindings? ( dev-ruby/syntax dev-ruby/allison ) |
87 |
) |
88 |
dev-util/pkgconfig |
89 |
dev-util/gtest" |
90 |
|
91 |
RDEPEND="${COMMON_DEPEND} |
92 |
sys-apps/sandbox" |
93 |
|
94 |
# Keep syntax as a PDEPEND. It avoids issues when Paludis is used as the |
95 |
# default virtual/portage provider. |
96 |
PDEPEND=" |
97 |
vim-syntax? ( >=app-editors/vim-core-7 ) |
98 |
app-admin/eselect-package-manager" |
99 |
|
100 |
create-paludis-user() { |
101 |
enewgroup "paludisbuild" |
102 |
enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
103 |
} |
104 |
|
105 |
pkg_setup() { |
106 |
if ! built_with_use dev-libs/libpcre cxx ; then |
107 |
eerror "Paludis needs dev-libs/libpcre built with C++ support" |
108 |
eerror "Please build dev-libs/libpcre with USE=cxx support" |
109 |
die "Rebuild dev-libs/libpcre with USE=cxx" |
110 |
fi |
111 |
|
112 |
if ! built_with_use dev-util/gtest threads ; then |
113 |
eerror "Paludis needs dev-util/gtest built with threads support" |
114 |
eerror "Please build dev-util/gtest with USE=threads support" |
115 |
die "Rebuild dev-util/gtest with USE threads" |
116 |
fi |
117 |
|
118 |
if use python-bindings && \ |
119 |
! built_with_use --missing true dev-libs/boost python; then |
120 |
eerror "With USE python-bindings you need boost build with the python" |
121 |
eerror "use flag." |
122 |
die "Rebuild dev-libs/boost with USE python" |
123 |
fi |
124 |
|
125 |
if use pbins && \ |
126 |
built_with_use app-arch/libarchive xattr; then |
127 |
eerror "With USE pbins you need libarchive build without the xattr" |
128 |
eerror "use flag." |
129 |
die "Rebuild app-arch/libarchive without USE xattr" |
130 |
fi |
131 |
|
132 |
if id paludisbuild >/dev/null 2>/dev/null ; then |
133 |
if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
134 |
eerror "The 'paludisbuild' user is now expected to be a member of the" |
135 |
eerror "'tty' group. You should add the user to this group before" |
136 |
eerror "upgrading Paludis." |
137 |
die "Please add paludisbuild to tty group" |
138 |
fi |
139 |
fi |
140 |
|
141 |
create-paludis-user |
142 |
|
143 |
# 'paludis' tries to exec() itself after an upgrade |
144 |
if [[ "${PKGMANAGER}" == paludis-0.[012345]* ]] && [[ -z "${CAVE}" ]] ; then |
145 |
eerror "The 'paludis' client has been removed in Paludis 0.60. You must use" |
146 |
eerror "'cave' to upgrade." |
147 |
die "Can't use 'paludis' to upgrade Paludis" |
148 |
fi |
149 |
} |
150 |
|
151 |
src_compile() { |
152 |
local repositories=`echo default unavailable unpackaged | tr -s \ ,` |
153 |
local environments=`echo default $(usev portage ) | tr -s \ ,` |
154 |
econf \ |
155 |
$(use_enable doc doxygen ) \ |
156 |
$(use_enable pbins ) \ |
157 |
$(use_enable pink ) \ |
158 |
$(use_enable ruby-bindings ruby ) \ |
159 |
$(use ruby-bindings && use doc && echo --enable-ruby-doc ) \ |
160 |
$(use_enable prebuilt-documentation ) \ |
161 |
$(use_enable python-bindings python ) \ |
162 |
$(use python-bindings && use doc && echo --enable-python-doc ) \ |
163 |
$(use_enable vim-syntax vim ) \ |
164 |
$(use_enable visibility ) \ |
165 |
$(use_enable xml ) \ |
166 |
$(use_enable search-index ) \ |
167 |
--with-vim-install-dir=/usr/share/vim/vimfiles \ |
168 |
--with-repositories=${repositories} \ |
169 |
--with-environments=${environments} \ |
170 |
|| die "econf failed" |
171 |
|
172 |
emake || die "emake failed" |
173 |
} |
174 |
|
175 |
src_install() { |
176 |
emake DESTDIR="${D}" install || die "install failed" |
177 |
dodoc AUTHORS README NEWS |
178 |
|
179 |
BASHCOMPLETION_NAME="cave" dobashcompletion bash-completion/cave |
180 |
|
181 |
if use zsh-completion ; then |
182 |
insinto /usr/share/zsh/site-functions |
183 |
doins zsh-completion/_cave |
184 |
fi |
185 |
} |
186 |
|
187 |
src_test() { |
188 |
# Work around Portage bugs |
189 |
export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
190 |
export BASH_ENV=/dev/null |
191 |
|
192 |
if [[ `id -u` == 0 ]] ; then |
193 |
# hate |
194 |
export PALUDIS_REDUCED_UID=0 |
195 |
export PALUDIS_REDUCED_GID=0 |
196 |
fi |
197 |
|
198 |
if ! emake check ; then |
199 |
eerror "Tests failed. Looking for files for you to add to your bug report..." |
200 |
find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
201 |
eerror " $a" |
202 |
done |
203 |
die "Make check failed" |
204 |
fi |
205 |
} |
206 |
|
207 |
pkg_postinst() { |
208 |
pm_is_paludis=false |
209 |
if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
210 |
pm_is_paludis=$( source ${ROOT}/etc/env.d/50package-manager ; [[ ${PACKAGE_MANAGER} == paludis ]] && echo true || echo false ) |
211 |
fi |
212 |
|
213 |
if ! $pm_is_paludis ; then |
214 |
elog "If you are using paludis or cave as your primary package manager," |
215 |
elog "you should consider running:" |
216 |
elog " eselect package-manager set paludis" |
217 |
fi |
218 |
} |