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