1 |
fuzzyray 12/06/20 20:09:15 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gentoolkit-0.3.0.6-r3.ebuild |
5 |
Log: |
6 |
Revision bump to add patch for euse to support the md5-dict metadata cache |
7 |
format. |
8 |
|
9 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.266 app-portage/gentoolkit/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.266&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?rev=1.266&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/ChangeLog?r1=1.265&r2=1.266 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v |
21 |
retrieving revision 1.265 |
22 |
retrieving revision 1.266 |
23 |
diff -u -r1.265 -r1.266 |
24 |
--- ChangeLog 28 May 2012 13:49:53 -0000 1.265 |
25 |
+++ ChangeLog 20 Jun 2012 20:09:15 -0000 1.266 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for app-portage/gentoolkit |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.265 2012/05/28 13:49:53 armin76 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/ChangeLog,v 1.266 2012/06/20 20:09:15 fuzzyray Exp $ |
31 |
+ |
32 |
+*gentoolkit-0.3.0.6-r3 (20 Jun 2012) |
33 |
+ |
34 |
+ 20 Jun 2012; Paul Varner <fuzzyray@g.o> +gentoolkit-0.3.0.6-r3.ebuild, |
35 |
+ +files/0.3.0.6-euse-422675.patch: |
36 |
+ Revision bump to add patch for euse to support the md5-dict metadata cache |
37 |
+ format. |
38 |
|
39 |
28 May 2012; Raúl Porcel <armin76@g.o> gentoolkit-0.3.0.5.ebuild: |
40 |
alpha/ia64/m68k/s390/sh/sparc stable wrt #411479 |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gentoolkit-0.3.0.6-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2012 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.6-r3.ebuild,v 1.1 2012/06/20 20:09:15 fuzzyray Exp $ |
54 |
|
55 |
EAPI="3" |
56 |
SUPPORT_PYTHON_ABIS="1" |
57 |
RESTRICT_PYTHON_ABIS="2.[45]" |
58 |
PYTHON_USE_WITH="xml" |
59 |
PYTHON_NONVERSIONED_EXECUTABLES=(".*") |
60 |
|
61 |
inherit distutils python eutils |
62 |
|
63 |
DESCRIPTION="Collection of administration scripts for Gentoo" |
64 |
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml" |
65 |
SRC_URI="mirror://gentoo/${P}.tar.gz" |
66 |
|
67 |
LICENSE="GPL-2" |
68 |
SLOT="0" |
69 |
IUSE="" |
70 |
|
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
72 |
|
73 |
# Note: argparse is provided in python 2.7 and 3.2 (Bug 346005) |
74 |
# Note: dev-lang/python dependencies are so emerge will print a blocker if any |
75 |
# installed slot of python is not built with +xml. This is used since |
76 |
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331. |
77 |
DEPEND="sys-apps/portage" |
78 |
RDEPEND="${DEPEND} |
79 |
>=dev-lang/python-2.6[xml] |
80 |
!>=dev-lang/python-2.6[-xml] |
81 |
!<=app-portage/gentoolkit-dev-0.2.7 |
82 |
dev-python/argparse |
83 |
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin ) |
84 |
sys-apps/gawk |
85 |
sys-apps/grep" |
86 |
|
87 |
distutils_src_compile_pre_hook() { |
88 |
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version |
89 |
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \ |
90 |
|| die "setup.py set_version failed" |
91 |
} |
92 |
|
93 |
src_prepare() { |
94 |
epatch "${FILESDIR}/${PV}-eread-413577.patch" |
95 |
epatch "${FILESDIR}/${PV}-eshowkw-414627.patch" |
96 |
epatch "${FILESDIR}/${PV}-gentoolkit-304125.patch" |
97 |
epatch "${FILESDIR}/${PV}-euse-410365.patch" |
98 |
epatch "${FILESDIR}/${PV}-eshowkw-409449.patch" |
99 |
epatch "${FILESDIR}/${PV}-euse-422675.patch" |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
python_convert_shebangs -r "" build-*/scripts-* |
104 |
distutils_src_install |
105 |
|
106 |
# Rename the python versions of revdep-rebuild, since we are not ready |
107 |
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to |
108 |
# revdep-rebuild.sh. Leaving the python version available for potential |
109 |
# testing by a wider audience. |
110 |
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py |
111 |
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild |
112 |
|
113 |
# Create cache directory for revdep-rebuild |
114 |
dodir /var/cache/revdep-rebuild |
115 |
keepdir /var/cache/revdep-rebuild |
116 |
use prefix || fowners root:root /var/cache/revdep-rebuild |
117 |
fperms 0700 /var/cache/revdep-rebuild |
118 |
|
119 |
# remove on Gentoo Prefix platforms where it's broken anyway |
120 |
if use prefix; then |
121 |
elog "The revdep-rebuild command is removed, the preserve-libs" |
122 |
elog "feature of portage will handle issues." |
123 |
rm "${ED}"/usr/bin/revdep-rebuild |
124 |
rm "${ED}"/usr/bin/revdep-rebuild.py |
125 |
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1 |
126 |
rm -rf "${ED}"/etc/revdep-rebuild |
127 |
rm -rf "${ED}"/var |
128 |
fi |
129 |
|
130 |
# Can distutils handle this? |
131 |
dosym eclean /usr/bin/eclean-dist |
132 |
dosym eclean /usr/bin/eclean-pkg |
133 |
} |
134 |
|
135 |
pkg_postinst() { |
136 |
distutils_pkg_postinst |
137 |
|
138 |
einfo |
139 |
einfo "For further information on gentoolkit, please read the gentoolkit" |
140 |
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml" |
141 |
einfo |
142 |
einfo "Another alternative to equery is app-portage/portage-utils" |
143 |
ewarn |
144 |
ewarn "glsa-check since gentoolkit 0.3 has modified some output," |
145 |
ewarn "options and default behavior. The list of injected GLSAs" |
146 |
ewarn "has moved to /var/lib/portage/glsa_injected, please" |
147 |
ewarn "run 'glsa-check -p affected' before copying the existing checkfile." |
148 |
} |