1 |
jdhore 13/03/27 00:48:20 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: paludis-1.2.0.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha169/cvs/Linux i686, signed Manifest commit with key 23E9E900) |
9 |
|
10 |
Revision Changes Path |
11 |
1.232 sys-apps/paludis/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.232&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.232&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.231&r2=1.232 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v |
20 |
retrieving revision 1.231 |
21 |
retrieving revision 1.232 |
22 |
diff -u -r1.231 -r1.232 |
23 |
--- ChangeLog 10 Mar 2013 08:49:55 -0000 1.231 |
24 |
+++ ChangeLog 27 Mar 2013 00:48:20 -0000 1.232 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/paludis |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.231 2013/03/10 08:49:55 dev-zero Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.232 2013/03/27 00:48:20 jdhore Exp $ |
30 |
+ |
31 |
+*paludis-1.2.0 (27 Mar 2013) |
32 |
+ |
33 |
+ 27 Mar 2013; Jeff Horelick <jdhore@g.o> +paludis-1.2.0.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
10 Mar 2013; Tiziano Müller <dev-zero@g.o> paludis-1.0.0.ebuild: |
37 |
Depend on newer gtest which has USE=threads unconditionally and drop |
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-apps/paludis/paludis-1.2.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-1.2.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-1.2.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: paludis-1.2.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-1.2.0.ebuild,v 1.1 2013/03/27 00:48:20 jdhore Exp $ |
51 |
|
52 |
inherit bash-completion-r1 eutils user |
53 |
|
54 |
DESCRIPTION="paludis, the other package mangler" |
55 |
HOMEPAGE="http://paludis.exherbo.org/" |
56 |
SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" |
57 |
|
58 |
IUSE="doc pbins portage pink prebuilt-documentation python-bindings ruby-bindings search-index test 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-3.0.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 ) |
85 |
) |
86 |
virtual/pkgconfig |
87 |
test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
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 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 |
# 'paludis' tries to exec() itself after an upgrade |
136 |
if [[ "${PKGMANAGER}" == paludis-0.[012345]* ]] && [[ -z "${CAVE}" ]] ; then |
137 |
eerror "The 'paludis' client has been removed in Paludis 0.60. You must use" |
138 |
eerror "'cave' to upgrade." |
139 |
die "Can't use 'paludis' to upgrade Paludis" |
140 |
fi |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
local repositories=`echo default unavailable unpackaged | tr -s \ ,` |
145 |
local environments=`echo default $(usev portage ) | tr -s \ ,` |
146 |
econf \ |
147 |
$(use_enable doc doxygen ) \ |
148 |
$(use_enable pbins ) \ |
149 |
$(use_enable pink ) \ |
150 |
$(use_enable ruby-bindings ruby ) \ |
151 |
$(use ruby-bindings && use doc && echo --enable-ruby-doc ) \ |
152 |
$(use_enable prebuilt-documentation ) \ |
153 |
$(use_enable python-bindings python ) \ |
154 |
$(use python-bindings && use doc && echo --enable-python-doc ) \ |
155 |
$(use_enable vim-syntax vim ) \ |
156 |
$(use_enable visibility ) \ |
157 |
$(use_enable xml ) \ |
158 |
$(use_enable search-index ) \ |
159 |
$(use_enable test gtest ) \ |
160 |
--with-vim-install-dir=/usr/share/vim/vimfiles \ |
161 |
--with-repositories=${repositories} \ |
162 |
--with-environments=${environments} \ |
163 |
|| die "econf failed" |
164 |
|
165 |
emake || die "emake failed" |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
emake DESTDIR="${D}" install || die "install failed" |
170 |
dodoc AUTHORS README NEWS |
171 |
|
172 |
BASHCOMPLETION_NAME="cave" dobashcomp bash-completion/cave |
173 |
|
174 |
if use zsh-completion ; then |
175 |
insinto /usr/share/zsh/site-functions |
176 |
doins zsh-completion/_cave |
177 |
fi |
178 |
} |
179 |
|
180 |
src_test() { |
181 |
# Work around Portage bugs |
182 |
export PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
183 |
export BASH_ENV=/dev/null |
184 |
|
185 |
if [[ `id -u` == 0 ]] ; then |
186 |
# hate |
187 |
export PALUDIS_REDUCED_UID=0 |
188 |
export PALUDIS_REDUCED_GID=0 |
189 |
fi |
190 |
|
191 |
if ! emake check ; then |
192 |
eerror "Tests failed. Looking for files for you to add to your bug report..." |
193 |
find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
194 |
eerror " $a" |
195 |
done |
196 |
die "Make check failed" |
197 |
fi |
198 |
} |
199 |
|
200 |
pkg_postinst() { |
201 |
pm_is_paludis=false |
202 |
if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
203 |
pm_is_paludis=$( source ${ROOT}/etc/env.d/50package-manager ; [[ ${PACKAGE_MANAGER} == paludis ]] && echo true || echo false ) |
204 |
fi |
205 |
|
206 |
if ! $pm_is_paludis ; then |
207 |
elog "If you are using paludis or cave as your primary package manager," |
208 |
elog "you should consider running:" |
209 |
elog " eselect package-manager set paludis" |
210 |
fi |
211 |
} |