Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/nkf: nkf-2.1.3.ebuild ChangeLog
Date: Sun, 01 Dec 2013 07:21:16
Message-Id: 20131201072109.97B7C2004B@flycatcher.gentoo.org
1 matsuu 13/12/01 07:21:09
2
3 Modified: ChangeLog
4 Added: nkf-2.1.3.ebuild
5 Log:
6 Version bumped.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 05280D69)
9
10 Revision Changes Path
11 1.57 app-i18n/nkf/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 10 Sep 2013 06:53:47 -0000 1.56
24 +++ ChangeLog 1 Dec 2013 07:21:09 -0000 1.57
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/nkf
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.56 2013/09/10 06:53:47 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/ChangeLog,v 1.57 2013/12/01 07:21:09 matsuu Exp $
30 +
31 +*nkf-2.1.3 (01 Dec 2013)
32 +
33 + 01 Dec 2013; MATSUU Takuto <matsuu@g.o> +nkf-2.1.3.ebuild:
34 + Version bumped.
35
36 *nkf-2.1.2-r2 (10 Sep 2013)
37
38
39
40
41 1.1 app-i18n/nkf/nkf-2.1.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/nkf-2.1.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/nkf/nkf-2.1.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: nkf-2.1.3.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/nkf/nkf-2.1.3.ebuild,v 1.1 2013/12/01 07:21:09 matsuu Exp $
51
52 EAPI="5"
53 PYTHON_COMPAT=( python{2_6,2_7} )
54 inherit eutils distutils-r1 perl-module toolchain-funcs
55
56 DESCRIPTION="Network Kanji code conversion Filter with UTF-8/16 support"
57 HOMEPAGE="http://sourceforge.jp/projects/nkf/"
58 SRC_URI="mirror://sourceforge.jp/nkf/59912/${P}.tar.gz
59 python? ( http://dev.gentoo.org/~naota/files/NKF_python20090602.tgz )"
60
61 LICENSE="ZLIB"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-macos"
64 IUSE="perl python linguas_ja"
65
66 src_prepare() {
67 sed -i \
68 -e "/^CFLAGS/s:-O2:${CFLAGS}:" \
69 -e '/-o nkf/s:$(CFLAGS):$(CFLAGS) $(LDFLAGS):' \
70 Makefile || die
71
72 if use python; then
73 mv "${WORKDIR}/NKF.python" "${S}" || die
74 sed -i -e "s/-s/${CFLAGS}/" NKF.python/setup.py || die
75 fi
76 }
77
78 src_compile() {
79 emake CC="$(tc-getCC)" nkf || die
80 if use perl; then
81 cd "${S}/NKF.mod"
82 perl-module_src_compile
83 fi
84 if use python; then
85 cd "${S}/NKF.python"
86 distutils-r1_src_compile
87 fi
88 }
89
90 src_test() {
91 emake test || die
92 if use perl; then
93 cd "${S}/NKF.mod"
94 perl-module_src_test
95 fi
96 }
97
98 src_install() {
99 dobin nkf || die
100 doman nkf.1
101
102 if use linguas_ja; then
103 ./nkf -e nkf.1j > nkf.1
104 doman -i18n=ja nkf.1
105 fi
106 dodoc nkf.doc
107
108 if use perl; then
109 cd "${S}/NKF.mod"
110 perl-module_src_install
111 fi
112 if use python; then
113 cd "${S}/NKF.python"
114 distutils-r1_src_install
115 fi
116 }