Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/portage: portage-9999.ebuild ChangeLog
Date: Wed, 02 Nov 2011 05:26:14
Message-Id: 20111102052603.EA5D12004B@flycatcher.gentoo.org
1 zmedico 11/11/02 05:26:03
2
3 Modified: portage-9999.ebuild ChangeLog
4 Log:
5 Bump to EAPI 3 and add prefix support.
6
7 (Portage version: 2.2.0_alpha72_p4/cvs/Linux i686)
8
9 Revision Changes Path
10 1.31 sys-apps/portage/portage-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?rev=1.31&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?rev=1.31&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/portage-9999.ebuild?r1=1.30&r2=1.31
15
16 Index: portage-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v
19 retrieving revision 1.30
20 retrieving revision 1.31
21 diff -u -r1.30 -r1.31
22 --- portage-9999.ebuild 26 Jul 2011 16:24:30 -0000 1.30
23 +++ portage-9999.ebuild 2 Nov 2011 05:26:03 -0000 1.31
24 @@ -1,10 +1,8 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.30 2011/07/26 16:24:30 zmedico Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-9999.ebuild,v 1.31 2011/11/02 05:26:03 zmedico Exp $
29
30 -# Require EAPI 2 since we now require at least python-2.6 (for python 3
31 -# syntax support) which also requires EAPI 2.
32 -EAPI=2
33 +EAPI=3
34 inherit git-2 eutils multilib python
35
36 DESCRIPTION="Portage is the package management and distribution system for Gentoo"
37 @@ -206,7 +204,7 @@
38 fi
39 symlinks=$(find . -mindepth 1 -maxdepth 1 -type l)
40 if [ -n "$symlinks" ] ; then
41 - cp -P $symlinks "$D$portage_base/$x" || die "cp failed"
42 + cp -P $symlinks "${ED}$portage_base/$x" || die "cp failed"
43 fi
44 done
45
46 @@ -219,7 +217,7 @@
47 doins *.py || die "doins failed"
48 symlinks=$(find . -mindepth 1 -maxdepth 1 -type l)
49 if [ -n "$symlinks" ] ; then
50 - cp -P $symlinks "$D$portage_base/$x" || die "cp failed"
51 + cp -P $symlinks "${ED}$portage_base/$x" || die "cp failed"
52 fi
53 done
54
55 @@ -237,7 +235,7 @@
56
57 # Symlinks to directories cause up/downgrade issues and the use of these
58 # modules outside of portage is probably negligible.
59 - for x in "${D}${portage_base}/pym/"{cache,elog_modules} ; do
60 + for x in "${ED}${portage_base}/pym/"{cache,elog_modules} ; do
61 [ ! -L "${x}" ] && continue
62 die "symlink to directory will cause upgrade/downgrade issues: '${x}'"
63 done
64 @@ -278,7 +276,7 @@
65 pkg_preinst() {
66 if [[ $ROOT == / ]] ; then
67 # Run some minimal tests as a sanity check.
68 - local test_runner=$(find "$D" -name runTests)
69 + local test_runner=$(find "${ED}" -name runTests)
70 if [[ -n $test_runner && -x $test_runner ]] ; then
71 einfo "Running preinst sanity tests..."
72 "$test_runner" || die "preinst sanity tests failed"
73 @@ -293,8 +291,8 @@
74 ewarn "to enable RMD160 hash support."
75 ewarn "See bug #198398 for more information."
76 fi
77 - if [ -f "${ROOT}/etc/make.globals" ]; then
78 - rm "${ROOT}/etc/make.globals"
79 + if [ ! -L "${EROOT}/etc/make.globals" ]; then
80 + rm -f "${EROOT}/etc/make.globals"
81 fi
82
83 has_version "<${CATEGORY}/${PN}-2.2_alpha"
84 @@ -306,7 +304,7 @@
85 # If portage-2.1.6 is installed and the preserved_libs_registry exists,
86 # assume that the NEEDED.ELF.2 files have already been generated.
87 has_version "<=${CATEGORY}/${PN}-2.2_pre7" && \
88 - ! ( [ -e "$ROOT"var/lib/portage/preserved_libs_registry ] && \
89 + ! ( [ -e "${EROOT}"var/lib/portage/preserved_libs_registry ] && \
90 has_version ">=${CATEGORY}/${PN}-2.1.6_rc" )
91 NEEDED_REBUILD_UPGRADE=$?
92
93 @@ -321,14 +319,14 @@
94
95 if [ $WORLD_MIGRATION_UPGRADE = 0 ] ; then
96 einfo "moving set references from the worldfile into world_sets"
97 - cd "${ROOT}/var/lib/portage/"
98 + cd "${EROOT}/var/lib/portage/"
99 grep "^@" world >> world_sets
100 sed -i -e '/^@/d' world
101 fi
102
103 if [ $NEEDED_REBUILD_UPGRADE = 0 ] ; then
104 einfo "rebuilding NEEDED.ELF.2 files"
105 - for cpv in "${ROOT}/var/db/pkg"/*/*; do
106 + for cpv in "${EROOT}/var/db/pkg"/*/*; do
107 if [ -f "${cpv}/NEEDED" ]; then
108 rm -f "${cpv}/NEEDED.ELF.2"
109 while read line; do
110
111
112
113 1.898 sys-apps/portage/ChangeLog
114
115 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.898&view=markup
116 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.898&content-type=text/plain
117 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/portage/ChangeLog?r1=1.897&r2=1.898
118
119 Index: ChangeLog
120 ===================================================================
121 RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v
122 retrieving revision 1.897
123 retrieving revision 1.898
124 diff -u -r1.897 -r1.898
125 --- ChangeLog 30 Oct 2011 08:14:52 -0000 1.897
126 +++ ChangeLog 2 Nov 2011 05:26:03 -0000 1.898
127 @@ -1,6 +1,9 @@
128 # ChangeLog for sys-apps/portage
129 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
130 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.897 2011/10/30 08:14:52 zmedico Exp $
131 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.898 2011/11/02 05:26:03 zmedico Exp $
132 +
133 + 02 Nov 2011; Zac Medico <zmedico@g.o> portage-9999.ebuild:
134 + Bump to EAPI 3 and add prefix support.
135
136 *portage-2.2.0_alpha72 (30 Oct 2011)