1 |
genone 08/02/28 13:22:29 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: portage-2.2_pre3.ebuild |
5 |
Removed: portage-2.2_pre2.ebuild |
6 |
Log: |
7 |
bump 2.2 test release |
8 |
(Portage version: 2.2_pre3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.502 sys-apps/portage/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.502&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.502&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?r1=1.501&r2=1.502 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v |
20 |
retrieving revision 1.501 |
21 |
retrieving revision 1.502 |
22 |
diff -u -r1.501 -r1.502 |
23 |
--- ChangeLog 15 Feb 2008 01:49:38 -0000 1.501 |
24 |
+++ ChangeLog 28 Feb 2008 13:22:29 -0000 1.502 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for sys-apps/portage |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.501 2008/02/15 01:49:38 ranger Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.502 2008/02/28 13:22:29 genone Exp $ |
30 |
+ |
31 |
+*portage-2.2_pre3 (28 Feb 2008) |
32 |
+ |
33 |
+ 28 Feb 2008; Marius Mauch <genone@g.o> -portage-2.2_pre2.ebuild, |
34 |
+ +portage-2.2_pre3.ebuild: |
35 |
+ Bump 2.2 test release to bring it back in line with 2.1 releases |
36 |
+ regarding bugfixes/features. Change epydoc dependency to avoid |
37 |
+ a traceback during API doc generation with >=epydoc-3. |
38 |
|
39 |
15 Feb 2008; Brent Baude <ranger@g.o> portage-2.1.4.4.ebuild: |
40 |
stable ppc64, bug 210031 |
41 |
@@ -39,9 +47,9 @@ |
42 |
2.1.4.2 bump. This fixes bugs #155993, #208708, #208743, #208782, and |
43 |
#209144. Bug #200044 tracks all bugs fixed since 2.1.3.x. |
44 |
|
45 |
-*portage-2.2_pre1 (09 Feb 2008) |
46 |
+*portage-2.2_pre2 (09 Feb 2008) |
47 |
|
48 |
- 09 Feb 2008; Marius Mauch <genone@g.o> +portage-2.2_pre1.ebuild: |
49 |
+ 09 Feb 2008; Marius Mauch <genone@g.o> +portage-2.2_pre2.ebuild: |
50 |
First public test release of portage-2.2. See the NEWS and RELEASE-NOTES file |
51 |
for important changes from the 2.1 series. This branch is still in development, |
52 |
so don't use this on production systems. |
53 |
|
54 |
|
55 |
|
56 |
1.1 sys-apps/portage/portage-2.2_pre3.ebuild |
57 |
|
58 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.2_pre3.ebuild?rev=1.1&view=markup |
59 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.2_pre3.ebuild?rev=1.1&content-type=text/plain |
60 |
|
61 |
Index: portage-2.2_pre3.ebuild |
62 |
=================================================================== |
63 |
# Copyright 1999-2008 Gentoo Foundation |
64 |
# Distributed under the terms of the GNU General Public License v2 |
65 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.2_pre3.ebuild,v 1.1 2008/02/28 13:22:29 genone Exp $ |
66 |
|
67 |
inherit toolchain-funcs eutils flag-o-matic multilib python |
68 |
|
69 |
DESCRIPTION="Portage is the package management and distribution system for Gentoo" |
70 |
HOMEPAGE="http://www.gentoo.org/proj/en/portage/index.xml" |
71 |
LICENSE="GPL-2" |
72 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
73 |
PROVIDE="virtual/portage" |
74 |
SLOT="0" |
75 |
IUSE="build doc epydoc selinux linguas_pl" |
76 |
DEPEND=">=dev-lang/python-2.4 |
77 |
!build? ( >=sys-apps/sed-4.0.5 ) |
78 |
doc? ( app-text/xmlto ~app-text/docbook-xml-dtd-4.4 ) |
79 |
epydoc? ( =dev-python/epydoc-2* )" |
80 |
RDEPEND=">=dev-lang/python-2.4 |
81 |
!build? ( >=sys-apps/sed-4.0.5 |
82 |
>=app-shells/bash-3.2_p17 |
83 |
>=app-admin/eselect-news-20071201 ) |
84 |
elibc_FreeBSD? ( sys-freebsd/freebsd-bin ) |
85 |
elibc_glibc? ( >=sys-apps/sandbox-1.2.17 !mips? ( >=sys-apps/sandbox-1.2.18.1-r2 ) ) |
86 |
elibc_uclibc? ( >=sys-apps/sandbox-1.2.17 !mips? ( >=sys-apps/sandbox-1.2.18.1-r2 ) ) |
87 |
>=app-misc/pax-utils-0.1.13 |
88 |
selinux? ( >=dev-python/python-selinux-2.16 )" |
89 |
PDEPEND=" |
90 |
!build? ( |
91 |
>=net-misc/rsync-2.6.4 |
92 |
userland_GNU? ( >=sys-apps/coreutils-6.4 ) |
93 |
|| ( >=dev-lang/python-2.5 >=dev-python/pycrypto-2.0.1-r6 ) |
94 |
)" |
95 |
# coreutils-6.4 rdep is for date format in emerge-webrsync #164532 |
96 |
# rsync-2.6.4 rdep is for the --filter option #167668 |
97 |
|
98 |
SRC_ARCHIVES="http://dev.gentoo.org/~zmedico/portage/archives http://dev.gentoo.org/~genone/distfiles" |
99 |
|
100 |
prefix_src_archives() { |
101 |
local x y |
102 |
for x in ${@}; do |
103 |
for y in ${SRC_ARCHIVES}; do |
104 |
echo ${y}/${x} |
105 |
done |
106 |
done |
107 |
} |
108 |
|
109 |
PV_PL="2.1.2" |
110 |
PATCHVER_PL="" |
111 |
SRC_URI="mirror://gentoo/${P}.tar.bz2 |
112 |
$(prefix_src_archives ${P}.tar.bz2) |
113 |
linguas_pl? ( mirror://gentoo/${PN}-man-pl-${PV_PL}.tar.bz2 |
114 |
$(prefix_src_archives ${PN}-man-pl-${PV_PL}.tar.bz2) )" |
115 |
|
116 |
PATCHVER="" |
117 |
if [ -n "${PATCHVER}" ]; then |
118 |
SRC_URI="${SRC_URI} mirror://gentoo/${PN}-${PATCHVER}.patch.bz2 |
119 |
$(prefix_src_archives ${PN}-${PATCHVER}.patch.bz2)" |
120 |
fi |
121 |
|
122 |
S="${WORKDIR}"/${P} |
123 |
S_PL="${WORKDIR}"/${PN}-${PV_PL} |
124 |
|
125 |
pkg_setup() { |
126 |
MINOR_UPGRADE=$(has_version '>=sys-apps/portage-2.2_alpha' && echo true) |
127 |
} |
128 |
|
129 |
src_unpack() { |
130 |
unpack ${A} |
131 |
cd "${S}" |
132 |
if [ -n "${PATCHVER}" ]; then |
133 |
cd "${S}" |
134 |
epatch "${WORKDIR}/${PN}-${PATCHVER}.patch" |
135 |
fi |
136 |
einfo "Setting portage.VERSION to ${PVR} ..." |
137 |
sed -i "s/^VERSION=.*/VERSION=\"${PVR}\"/" pym/portage/__init__.py || \ |
138 |
die "Failed to patch portage.VERSION" |
139 |
} |
140 |
|
141 |
src_compile() { |
142 |
append-lfs-flags |
143 |
|
144 |
cd "${S}"/src |
145 |
$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o tbz2tool tbz2tool.c || \ |
146 |
die "Failed to build tbz2tool" |
147 |
|
148 |
if use doc; then |
149 |
cd "${S}"/doc |
150 |
touch fragment/date |
151 |
make xhtml xhtml-nochunks || die "failed to make docs" |
152 |
fi |
153 |
|
154 |
if use epydoc; then |
155 |
einfo "Generating api docs" |
156 |
mkdir "${WORKDIR}"/api |
157 |
local my_modules |
158 |
my_modules="$(find "${S}/pym" -name "*.py" \ |
159 |
| sed -e 's:/__init__.py$::' -e 's:\.py$::' -e "s:^${S}/pym/::" \ |
160 |
-e 's:/:.:g' | sort)" || die "error listing modules" |
161 |
PYTHONPATH="${S}/pym:${PYTHONPATH}" epydoc -o "${WORKDIR}"/api \ |
162 |
-qqqqq --no-frames --show-imports \ |
163 |
--name "${PN}" --url "${HOMEPAGE}" \ |
164 |
${my_modules} || die "epydoc failed" |
165 |
fi |
166 |
} |
167 |
|
168 |
src_test() { |
169 |
./pym/portage/tests/runTests || \ |
170 |
die "test(s) failed" |
171 |
} |
172 |
|
173 |
src_install() { |
174 |
local libdir=$(get_libdir) |
175 |
local portage_base="/usr/${libdir}/portage" |
176 |
local portage_share_config=/usr/share/portage/config |
177 |
cd "${S}"/cnf |
178 |
insinto /etc |
179 |
doins etc-update.conf dispatch-conf.conf make.globals |
180 |
if [ -f "make.conf.${ARCH}".diff ]; then |
181 |
patch make.conf "make.conf.${ARCH}".diff || \ |
182 |
die "Failed to patch make.conf.example" |
183 |
newins make.conf make.conf.example |
184 |
else |
185 |
eerror "" |
186 |
eerror "Portage does not have an arch-specific configuration for this arch." |
187 |
eerror "Please notify the arch maintainer about this issue. Using generic." |
188 |
eerror "" |
189 |
newins make.conf make.conf.example |
190 |
fi |
191 |
|
192 |
insinto /etc/logrotate.d |
193 |
doins "${S}"/cnf/logrotate.d/elog-save-summary |
194 |
|
195 |
dodir ${portage_base}/bin |
196 |
exeinto ${portage_base}/bin |
197 |
|
198 |
# BSD and OSX need a sed wrapper so that find/xargs work properly |
199 |
if use userland_GNU; then |
200 |
rm "${S}"/bin/sed || die "Failed to remove sed wrapper" |
201 |
fi |
202 |
|
203 |
cd "${S}"/bin |
204 |
doexe * |
205 |
doexe "${S}"/src/tbz2tool |
206 |
dosym newins ${portage_base}/bin/donewins |
207 |
|
208 |
local symlinks |
209 |
for mydir in $(find "${S}"/pym -type d | sed -e "s:^${S}/::") ; do |
210 |
dodir ${portage_base}/${mydir} |
211 |
insinto ${portage_base}/${mydir} |
212 |
cd "${S}"/${mydir} |
213 |
doins *.py |
214 |
symlinks=$(find -mindepth 1 -maxdepth 1 -type l) |
215 |
[ -n "${symlinks}" ] && cp -P ${symlinks} "${D}${portage_base}/${mydir}" |
216 |
done |
217 |
|
218 |
# Symlinks to directories cause up/downgrade issues and the use of these |
219 |
# modules outside of portage is probably negligible. |
220 |
for x in "${D}${portage_base}/pym/"{cache,elog_modules} ; do |
221 |
[ ! -L "${x}" ] && continue |
222 |
die "symlink to directory will cause upgrade/downgrade issues: '${x}'" |
223 |
done |
224 |
|
225 |
exeinto ${portage_base}/pym/portage/tests |
226 |
doexe "${S}"/pym/portage/tests/runTests |
227 |
|
228 |
doman "${S}"/man/*.[0-9] |
229 |
if use linguas_pl; then |
230 |
doman -i18n=pl "${S_PL}"/man/pl/*.[0-9] |
231 |
doman -i18n=pl_PL.UTF-8 "${S_PL}"/man/pl_PL.UTF-8/*.[0-9] |
232 |
fi |
233 |
|
234 |
dodoc "${S}"/{ChangeLog,NEWS,RELEASE-NOTES} |
235 |
use doc && dohtml -r "${S}"/doc/* |
236 |
use epydoc && dohtml -r "${WORKDIR}"/api |
237 |
|
238 |
dodir /usr/bin |
239 |
for x in ebuild emerge portageq repoman tbz2tool xpak; do |
240 |
dosym ../${libdir}/portage/bin/${x} /usr/bin/${x} |
241 |
done |
242 |
|
243 |
dodir /usr/sbin |
244 |
local my_syms="archive-conf |
245 |
dispatch-conf |
246 |
emaint |
247 |
emerge-webrsync |
248 |
env-update |
249 |
etc-update |
250 |
fixpackages |
251 |
quickpkg |
252 |
regenworld" |
253 |
local x |
254 |
for x in ${my_syms}; do |
255 |
dosym ../${libdir}/portage/bin/${x} /usr/sbin/${x} |
256 |
done |
257 |
dosym env-update /usr/sbin/update-env |
258 |
dosym etc-update /usr/sbin/update-etc |
259 |
|
260 |
dodir /etc/portage |
261 |
keepdir /etc/portage |
262 |
dodir "${portage_share_config}" |
263 |
insinto "${portage_share_config}" |
264 |
doins "${S}/cnf/sets.conf" |
265 |
} |
266 |
|
267 |
pkg_preinst() { |
268 |
if ! use build && ! has_version dev-python/pycrypto && \ |
269 |
has_version '>=dev-lang/python-2.5' ; then |
270 |
if ! built_with_use '>=dev-lang/python-2.5' ssl ; then |
271 |
ewarn "If you are an ebuild developer and you plan to commit ebuilds" |
272 |
ewarn "with this system then please install dev-python/pycrypto or" |
273 |
ewarn "enable the ssl USE flag for >=dev-lang/python-2.5 in order" |
274 |
ewarn "to enable RMD160 hash support." |
275 |
ewarn "See bug #198398 for more information." |
276 |
fi |
277 |
fi |
278 |
} |
279 |
|
280 |
pkg_postinst() { |
281 |
for x in "${ROOT}"/etc/._cfg????_make.globals; do |
282 |
# Overwrite the globals file automatically. |
283 |
[ -e "${x}" ] && mv -f "${x}" "${ROOT}etc/make.globals" |
284 |
done |
285 |
|
286 |
# Compile all source files recursively. Any orphans |
287 |
# will be identified and removed in postrm. |
288 |
python_mod_optimize "${ROOT}usr/$(get_libdir)/portage/pym" |
289 |
|
290 |
elog |
291 |
elog "For help with using portage please consult the Gentoo Handbook" |
292 |
elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3" |
293 |
elog |
294 |
|
295 |
if [ -z "${MINOR_UPGRADE}" ]; then |
296 |
elog "If you're upgrading from a pre-2.2 version of portage you might" |
297 |
elog "want to remerge world (emerge -e world) to take full advantage" |
298 |
elog "of some of the new features in 2.2." |
299 |
elog "This is not required however for portage to function properly." |
300 |
elog |
301 |
fi |
302 |
|
303 |
if [ -z "${PV/*_pre*}" ]; then |
304 |
elog "If you always want to use the latest development version of portage" |
305 |
elog "please read http://www.gentoo.org/proj/en/portage/doc/testing.xml" |
306 |
elog |
307 |
fi |
308 |
} |
309 |
|
310 |
pkg_postrm() { |
311 |
python_mod_cleanup "${ROOT}usr/$(get_libdir)/portage/pym" |
312 |
} |
313 |
|
314 |
|
315 |
|
316 |
-- |
317 |
gentoo-commits@l.g.o mailing list |