From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/file: ChangeLog file-5.05.ebuild |
Date: | Tue, 18 Jan 2011 01:27:35 |
Message-Id: | 20110118012726.C696920054@flycatcher.gentoo.org |
1 | vapier 11/01/18 01:27:26 |
2 | |
3 | Modified: ChangeLog |
4 | Added: file-5.05.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha13/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.186 sys-apps/file/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?rev=1.186&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?rev=1.186&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/ChangeLog?r1=1.185&r2=1.186 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v |
20 | retrieving revision 1.185 |
21 | retrieving revision 1.186 |
22 | diff -u -r1.185 -r1.186 |
23 | --- ChangeLog 28 Nov 2010 17:19:18 -0000 1.185 |
24 | +++ ChangeLog 18 Jan 2011 01:27:26 -0000 1.186 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sys-apps/file |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.185 2010/11/28 17:19:18 ranger Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/file/ChangeLog,v 1.186 2011/01/18 01:27:26 vapier Exp $ |
31 | + |
32 | +*file-5.05 (18 Jan 2011) |
33 | + |
34 | + 18 Jan 2011; Mike Frysinger <vapier@g.o> +file-5.05.ebuild: |
35 | + Version bump. |
36 | |
37 | 28 Nov 2010; Brent Baude <ranger@g.o> file-5.04.ebuild: |
38 | stable ppc64, bug 340225 |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/file/file-5.05.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/file-5.05.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/file/file-5.05.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: file-5.05.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/file/file-5.05.ebuild,v 1.1 2011/01/18 01:27:26 vapier Exp $ |
52 | |
53 | PYTHON_DEPEND="python? 2" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | RESTRICT_PYTHON_ABIS="3.*" |
56 | |
57 | inherit eutils distutils libtool flag-o-matic |
58 | |
59 | DESCRIPTION="identify a file's format by scanning binary data for patterns" |
60 | HOMEPAGE="ftp://ftp.astron.com/pub/file/" |
61 | SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz |
62 | ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz" |
63 | |
64 | LICENSE="as-is" |
65 | SLOT="0" |
66 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
67 | IUSE="python" |
68 | |
69 | src_unpack() { |
70 | unpack ${P}.tar.gz |
71 | cd "${S}" |
72 | |
73 | elibtoolize |
74 | epunt_cxx |
75 | |
76 | # dont let python README kill main README #60043 |
77 | mv python/README{,.python} |
78 | } |
79 | |
80 | src_compile() { |
81 | # file uses things like strndup() and wcwidth() |
82 | append-flags -D_GNU_SOURCE |
83 | |
84 | econf || die |
85 | emake || die |
86 | |
87 | use python && cd python && distutils_src_compile |
88 | } |
89 | |
90 | src_install() { |
91 | emake DESTDIR="${D}" install || die |
92 | dodoc ChangeLog MAINT README |
93 | |
94 | use python && cd python && distutils_src_install |
95 | } |
96 | |
97 | pkg_postinst() { |
98 | use python && distutils_pkg_postinst |
99 | } |
100 | |
101 | pkg_postrm() { |
102 | use python && distutils_pkg_postrm |
103 | } |