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