Gentoo Archives: gentoo-commits

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