Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/catalyst: ChangeLog catalyst-2.0.8.1-r2.ebuild
Date: Sun, 08 Jul 2012 16:20:06
Message-Id: 20120708161957.250C620065@flycatcher.gentoo.org
1 armin76 12/07/08 16:19:57
2
3 Modified: ChangeLog
4 Added: catalyst-2.0.8.1-r2.ebuild
5 Log:
6 2.0.9 can't be released yet, so i'm forced to add patches here
7
8 (Portage version: 2.1.11.5/cvs/Linux ia64, RepoMan options: --force)
9
10 Revision Changes Path
11 1.245 dev-util/catalyst/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.245&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.245&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?r1=1.244&r2=1.245
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v
20 retrieving revision 1.244
21 retrieving revision 1.245
22 diff -u -r1.244 -r1.245
23 --- ChangeLog 15 May 2012 16:54:08 -0000 1.244
24 +++ ChangeLog 8 Jul 2012 16:19:56 -0000 1.245
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/catalyst
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.244 2012/05/15 16:54:08 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.245 2012/07/08 16:19:56 armin76 Exp $
30 +
31 +*catalyst-2.0.8.1-r2 (08 Jul 2012)
32 +
33 + 08 Jul 2012; Raúl Porcel <armin76@g.o>
34 + +files/2.0.8.1-arm-softfp.patch, +catalyst-2.0.8.1-r2.ebuild:
35 + 2.0.9 can't be released yet, so i'm forced to add patches here
36
37 *catalyst-2.0.8.1-r1 (15 May 2012)
38
39
40
41
42 1.1 dev-util/catalyst/catalyst-2.0.8.1-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.8.1-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.8.1-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: catalyst-2.0.8.1-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2012 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-2.0.8.1-r2.ebuild,v 1.1 2012/07/08 16:19:56 armin76 Exp $
52
53 # catalyst-9999 -> latest Git
54 # catalyst-2.9999 -> catalyst_2 branch from Git
55 # catalyst-VER -> normal catalyst release
56
57 EAPI=3
58 PYTHON_DEPEND="2"
59
60 if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then
61 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
62 inherit git-2
63 SRC_URI=""
64 S="${WORKDIR}/${PN}"
65 KEYWORDS=""
66 else
67 SRC_URI="mirror://gentoo/${P}.tar.bz2
68 http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2"
69 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
70 fi
71 inherit eutils multilib python
72
73 DESCRIPTION="release metatool used for creating releases based on Gentoo Linux"
74 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
75
76 LICENSE="GPL-2"
77 SLOT="0"
78 RESTRICT=""
79 IUSE="ccache kernel_linux"
80
81 DEPEND="app-text/asciidoc"
82 RDEPEND="app-crypt/shash
83 virtual/cdrtools
84 ccache? ( dev-util/ccache )
85 ia64? ( sys-fs/dosfstools )
86 kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )"
87
88 pkg_setup() {
89 if use ccache ; then
90 einfo "Enabling ccache support for catalyst."
91 else
92 ewarn "By default, ccache support for catalyst is disabled."
93 ewarn "If this is not what you intended,"
94 ewarn "then you should add ccache to your USE."
95 fi
96 echo
97 einfo "The template spec files are now installed by default. You can find"
98 einfo "them under /usr/share/doc/${PF}/examples"
99 einfo "and they are considered to be the authorative source of information"
100 einfo "on catalyst."
101 echo
102 if [[ ${PV} == 9999* || ${PV} == 2.9999* ]]; then
103 ewarn "The ${EGIT_BRANCH:-master} branch (what you get with this ${PV} ebuild) contains"
104 ewarn "work-in-progress code. Be aware that it's likely that it will not"
105 ewarn "be in a working state at any given point. Please do not file bugs"
106 ewarn "until you have posted on the gentoo-catalyst mailing list and we"
107 ewarn "have asked you to do so."
108 fi
109 python_set_active_version 2
110 }
111
112 src_prepare() {
113 python_convert_shebangs 2 catalyst modules/catalyst_lock.py
114
115 epatch "${FILESDIR}"/${PV}-arm-softfp.patch
116 }
117
118 src_install() {
119 insinto /usr/$(get_libdir)/${PN}
120 exeinto /usr/$(get_libdir)/${PN}
121 doexe catalyst || die "copying catalyst"
122 if [[ ${PV} == 9999* ]]; then
123 doins -r modules files || die "copying files"
124 else
125 doins -r arch modules livecd || die "copying files"
126 fi
127 for x in targets/*; do
128 exeinto /usr/$(get_libdir)/${PN}/$x
129 doexe $x/* || die "copying ${x}"
130 done
131 make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
132 insinto /etc/catalyst
133 doins files/catalyst.conf files/catalystrc || die "copying configuration"
134 insinto /usr/share/doc/${PF}/examples
135 doins examples/* || die
136 dodoc README ChangeLog AUTHORS
137 doman files/catalyst.1
138 # Here is where we actually enable ccache
139 use ccache && \
140 dosed 's:options="autoresume kern:options="autoresume ccache kern:' \
141 /etc/catalyst/catalyst.conf
142 dosed "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
143 /etc/catalyst/catalyst.conf
144 }
145
146 pkg_postinst() {
147 einfo "You can find more information about catalyst by checking out the"
148 einfo "catalyst project page at:"
149 einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
150 echo
151 }