1 |
mgorny 14/06/23 07:46:30 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: paludis-2.0.0.ebuild |
5 |
Log: |
6 |
Version bump, bug #512786. |
7 |
|
8 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.242 sys-apps/paludis/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.242&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?rev=1.242&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/ChangeLog?r1=1.241&r2=1.242 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v |
20 |
retrieving revision 1.241 |
21 |
retrieving revision 1.242 |
22 |
diff -u -r1.241 -r1.242 |
23 |
--- ChangeLog 8 Nov 2013 21:33:45 -0000 1.241 |
24 |
+++ ChangeLog 23 Jun 2014 07:46:30 -0000 1.242 |
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.241 2013/11/08 21:33:45 mgorny Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/ChangeLog,v 1.242 2014/06/23 07:46:30 mgorny Exp $ |
31 |
+ |
32 |
+*paludis-2.0.0 (23 Jun 2014) |
33 |
+ |
34 |
+ 23 Jun 2014; Michał Górny <mgorny@g.o> +paludis-2.0.0.ebuild: |
35 |
+ Version bump, bug #512786. |
36 |
|
37 |
08 Nov 2013; Michał Górny <mgorny@g.o> paludis-1.4.2-r1.ebuild: |
38 |
Call python-single-r1_pkg_setup only with USE=python. |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/paludis/paludis-2.0.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-2.0.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/paludis/paludis-2.0.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: paludis-2.0.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/paludis/paludis-2.0.0.ebuild,v 1.1 2014/06/23 07:46:30 mgorny Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
56 |
|
57 |
inherit bash-completion-r1 eutils python-single-r1 user |
58 |
|
59 |
DESCRIPTION="paludis, the other package mangler" |
60 |
HOMEPAGE="http://paludis.exherbo.org/" |
61 |
SRC_URI="http://paludis.exherbo.org/download/${P}.tar.bz2" |
62 |
|
63 |
IUSE="doc pbins pink python ruby search-index test xml" |
64 |
LICENSE="GPL-2 vim" |
65 |
SLOT="0" |
66 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
67 |
|
68 |
COMMON_DEPEND=" |
69 |
>=app-admin/eselect-1.2.13 |
70 |
>=app-shells/bash-3.2 |
71 |
dev-libs/libpcre[cxx] |
72 |
sys-apps/file |
73 |
pbins? ( >=app-arch/libarchive-3.1.2 ) |
74 |
python? ( |
75 |
${PYTHON_DEPS} |
76 |
>=dev-libs/boost-1.41.0[python,${PYTHON_USEDEP}] ) |
77 |
ruby? ( dev-lang/ruby:1.9 ) |
78 |
search-index? ( >=dev-db/sqlite-3 ) |
79 |
xml? ( >=dev-libs/libxml2-2.6 )" |
80 |
|
81 |
DEPEND="${COMMON_DEPEND} |
82 |
>=app-text/asciidoc-8.6.3 |
83 |
app-text/htmltidy |
84 |
app-text/xmlto |
85 |
>=sys-devel/gcc-4.4 |
86 |
doc? ( |
87 |
|| ( |
88 |
>=app-doc/doxygen-1.5.3 |
89 |
<=app-doc/doxygen-1.5.1 ) |
90 |
python? ( |
91 |
dev-python/sphinx[${PYTHON_USEDEP}] ) |
92 |
ruby? ( dev-ruby/syntax ) |
93 |
) |
94 |
virtual/pkgconfig |
95 |
test? ( >=dev-cpp/gtest-1.6.0-r1 )" |
96 |
|
97 |
RDEPEND="${COMMON_DEPEND} |
98 |
sys-apps/sandbox" |
99 |
|
100 |
PDEPEND="app-admin/eselect-package-manager" |
101 |
|
102 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
103 |
|
104 |
pkg_pretend() { |
105 |
if [[ ${MERGE_TYPE} != buildonly ]]; then |
106 |
if id paludisbuild >/dev/null 2>/dev/null ; then |
107 |
if ! groups paludisbuild | grep --quiet '\<tty\>' ; then |
108 |
eerror "The 'paludisbuild' user is now expected to be a member of the" |
109 |
eerror "'tty' group. You should add the user to this group before" |
110 |
eerror "upgrading Paludis." |
111 |
die "Please add paludisbuild to tty group" |
112 |
fi |
113 |
fi |
114 |
fi |
115 |
|
116 |
if [[ ${MERGE_TYPE} != binary ]]; then |
117 |
if [[ $(gcc-major-version) -lt 4 |
118 |
|| ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]] |
119 |
then |
120 |
eerror "Paludis requires at least gcc 4.4 to build. Please switch the active" |
121 |
eerror "gcc version using gcc-config." |
122 |
die "Paludis requires at least gcc 4.4" |
123 |
fi |
124 |
fi |
125 |
} |
126 |
|
127 |
pkg_setup() { |
128 |
enewgroup "paludisbuild" |
129 |
enewuser "paludisbuild" -1 -1 "/var/tmp/paludis" "paludisbuild,tty" |
130 |
|
131 |
use python && python-single-r1_pkg_setup |
132 |
} |
133 |
|
134 |
src_prepare() { |
135 |
# The package explicitly wants ruby1.9, so fix the script on it. |
136 |
# https://bugs.gentoo.org/show_bug.cgi?id=439372#c2 |
137 |
sed -i -e '1s/ruby/&19/' ruby/demos/*.rb || die |
138 |
|
139 |
epatch_user |
140 |
} |
141 |
|
142 |
src_configure() { |
143 |
local myconf=( |
144 |
--htmldir=/usr/share/doc/${PF}/html |
145 |
|
146 |
$(use_enable doc doxygen) |
147 |
$(use_enable test gtest) |
148 |
$(use_enable pbins) |
149 |
$(use_enable pink) |
150 |
$(use_enable python) |
151 |
$(use python && use_enable doc python-doc) |
152 |
$(use_enable ruby) |
153 |
$(use ruby && use_enable doc ruby-doc) |
154 |
$(use_enable search-index) |
155 |
$(use_enable xml) |
156 |
|
157 |
--enable-prebuilt-documentation |
158 |
--enable-vim |
159 |
--enable-visibility |
160 |
--with-config-framework=eselect |
161 |
--with-environments=default,portage |
162 |
--with-vim-install-dir=/usr/share/vim/vimfiles |
163 |
) |
164 |
|
165 |
econf "${myconf[@]}" |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
default |
170 |
prune_libtool_files |
171 |
|
172 |
dobashcomp bash-completion/cave |
173 |
|
174 |
insinto /usr/share/zsh/site-functions |
175 |
doins zsh-completion/_cave |
176 |
} |
177 |
|
178 |
src_test() { |
179 |
# Work around Portage bugs |
180 |
local -x PALUDIS_DO_NOTHING_SANDBOXY="portage sucks" |
181 |
local -x BASH_ENV=/dev/null |
182 |
|
183 |
if [[ ${EUID} == 0 ]] ; then |
184 |
# hate |
185 |
local -x PALUDIS_REDUCED_UID=0 |
186 |
local -x PALUDIS_REDUCED_GID=0 |
187 |
fi |
188 |
|
189 |
if ! nonfatal emake check ; then |
190 |
eerror "Tests failed. Looking for files for you to add to your bug report..." |
191 |
find "${S}" -type f -name '*.epicfail' -or -name '*.log' | while read a ; do |
192 |
eerror " $a" |
193 |
done |
194 |
die "Make check failed" |
195 |
fi |
196 |
} |
197 |
|
198 |
pkg_postinst() { |
199 |
local pm |
200 |
if [[ -f ${ROOT}/etc/env.d/50package-manager ]] ; then |
201 |
pm=$( source "${ROOT}"/etc/env.d/50package-manager ; echo "${PACKAGE_MANAGER}" ) |
202 |
fi |
203 |
|
204 |
if [[ ${pm} != paludis ]] ; then |
205 |
elog "If you are using paludis or cave as your primary package manager," |
206 |
elog "you should consider running:" |
207 |
elog " eselect package-manager set paludis" |
208 |
fi |
209 |
} |