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