Gentoo Archives: gentoo-commits

From: "Brian Dolbec (dolsen)" <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/catalyst: catalyst-2.0.18-r1.ebuild ChangeLog
Date: Fri, 30 Jan 2015 17:40:26
Message-Id: 20150130174020.D33BC10B3D@oystercatcher.gentoo.org
1 dolsen 15/01/30 17:40:20
2
3 Modified: ChangeLog
4 Added: catalyst-2.0.18-r1.ebuild
5 Log:
6 Bump patched 2.0.18
7
8 (Portage version: 2.2.15/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x65E309F2189DB0B8)
9
10 Revision Changes Path
11 1.276 dev-util/catalyst/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.276&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?rev=1.276&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/ChangeLog?r1=1.275&r2=1.276
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v
20 retrieving revision 1.275
21 retrieving revision 1.276
22 diff -u -r1.275 -r1.276
23 --- ChangeLog 9 Jan 2015 05:01:28 -0000 1.275
24 +++ ChangeLog 30 Jan 2015 17:40:20 -0000 1.276
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-util/catalyst
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.275 2015/01/09 05:01:28 dolsen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/ChangeLog,v 1.276 2015/01/30 17:40:20 dolsen Exp $
30 +
31 +*catalyst-2.0.18-r1 (30 Jan 2015)
32 +
33 + 30 Jan 2015; Brian Dolbec <dolsen@g.o> +catalyst-2.0.18-r1.ebuild,
34 + +files/catalyst-2.0.18-Do-notuntarwith--acls.patch:
35 + Bump 2.0.18 with the Do-notuntarwith--acls patch.
36
37 *catalyst-2.0.18 (09 Jan 2015)
38
39
40
41
42 1.1 dev-util/catalyst/catalyst-2.0.18-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.18-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/catalyst/catalyst-2.0.18-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: catalyst-2.0.18-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 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.18-r1.ebuild,v 1.1 2015/01/30 17:40:20 dolsen Exp $
52
53 EAPI=5
54
55 if [[ ${PV} == *9999* ]]; then
56 SRC_ECLASS="git-2"
57 EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/catalyst.git"
58 EGIT_MASTER="master"
59 SRC_URI=""
60 KEYWORDS=""
61 S="${WORKDIR}/${PN}"
62 else
63 SRC_URI="mirror://gentoo/${P}.tar.bz2
64 http://dev.gentoo.org/~jmbsvicetto/distfiles/${P}.tar.bz2
65 http://dev.gentoo.org/~mattst88/distfiles/${P}.tar.bz2
66 http://dev.gentoo.org/~zerochaos/distfiles/${P}.tar.bz2
67 http://dev.gentoo.org/~dolsen/releases/catalyst/${P}.tar.bz2"
68 KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
69 fi
70
71 PYTHON_COMPAT=( python2_7 )
72
73 inherit eutils multilib python-single-r1 ${SRC_ECLASS}
74
75 DESCRIPTION="Release metatool used for creating releases based on Gentoo Linux"
76 HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst/"
77
78 LICENSE="GPL-2"
79 SLOT="0"
80 IUSE="ccache kernel_linux"
81
82 DEPEND="
83 app-text/asciidoc
84 ${PYTHON_DEPS}
85 "
86 RDEPEND="
87 app-arch/lbzip2
88 app-crypt/shash
89 virtual/cdrtools
90 amd64? ( >=sys-boot/syslinux-3.72 )
91 ia64? ( sys-fs/dosfstools )
92 x86? ( >=sys-boot/syslinux-3.72 )
93 ccache? ( dev-util/ccache )
94 kernel_linux? ( app-misc/zisofs-tools >=sys-fs/squashfs-tools-2.1 )
95 ${PYTHON_DEPS}
96 "
97
98 REQUIRED_USE=${PYTHON_REQUIRED_USE}
99
100 PATCHES=( "${FILESDIR}/catalyst-2.0.18-Do-notuntarwith--acls.patch" )
101
102 pkg_setup() {
103 if use ccache ; then
104 einfo "Enabling ccache support for catalyst."
105 else
106 ewarn "By default, ccache support for catalyst is disabled."
107 ewarn "If this is not what you intended,"
108 ewarn "then you should add ccache to your USE."
109 fi
110
111 echo
112 einfo "The template spec files are now installed by default. You can find"
113 einfo "them under /usr/share/doc/${PF}/examples"
114 einfo "and they are considered to be the authorative source of information"
115 einfo "on catalyst."
116 echo
117
118 python-single-r1_pkg_setup
119 }
120
121 src_prepare() {
122 epatch $PATCHES
123 }
124
125 src_install() {
126 insinto /usr/$(get_libdir)/${PN}
127 exeinto /usr/$(get_libdir)/${PN}
128 doexe catalyst || die "copying catalyst"
129
130 if [[ ${PV} == 3.9999* ]]; then
131 doins -r modules files || die "copying files"
132 else
133 doins -r arch modules livecd || die "copying files"
134 fi
135
136 for x in targets/*; do
137 exeinto /usr/$(get_libdir)/${PN}/$x
138 doexe $x/* || die "copying ${x}"
139 done
140
141 # Here is where we actually enable ccache
142 use ccache && \
143 sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' \
144 files/catalyst.conf
145
146 sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \
147 files/catalyst.conf
148
149 make_wrapper catalyst /usr/$(get_libdir)/${PN}/catalyst
150 insinto /etc/catalyst
151 doins files/catalyst.conf files/catalystrc || die "copying configuration"
152 insinto /usr/share/doc/${PF}/examples
153 doins examples/* || die
154 dodoc README AUTHORS
155 doman files/catalyst.1 files/catalyst-spec.5
156
157 python_fix_shebang "${ED}usr/$(get_libdir)/catalyst/catalyst"
158 python_optimize "${ED}"
159 }
160
161 pkg_postinst() {
162 einfo "You can find more information about catalyst by checking out the"
163 einfo "catalyst project page at:"
164 einfo "http://www.gentoo.org/proj/en/releng/catalyst/index.xml"
165 }