Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/tokyotyrant: tokyotyrant-1.1.40.ebuild ChangeLog
Date: Fri, 19 Feb 2010 13:29:03
Message-Id: E1NiSug-0008Up-GA@stork.gentoo.org
1 patrick 10/02/19 13:28:58
2
3 Modified: ChangeLog
4 Added: tokyotyrant-1.1.40.ebuild
5 Log:
6 Bump for #302991
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.7 net-misc/tokyotyrant/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 23 Jan 2010 15:33:46 -0000 1.6
23 +++ ChangeLog 19 Feb 2010 13:28:57 -0000 1.7
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-misc/tokyotyrant
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.6 2010/01/23 15:33:46 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/ChangeLog,v 1.7 2010/02/19 13:28:57 patrick Exp $
29 +
30 +*tokyotyrant-1.1.40 (19 Feb 2010)
31 +
32 + 19 Feb 2010; Patrick Lauer <patrick@g.o>
33 + +tokyotyrant-1.1.40.ebuild:
34 + Bump for #302991
35
36 23 Jan 2010; Fabian Groffen <grobian@g.o>
37 tokyotyrant-1.1.39.ebuild:
38
39
40
41 1.1 net-misc/tokyotyrant/tokyotyrant-1.1.40.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.40.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.40.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tokyotyrant-1.1.40.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-misc/tokyotyrant/tokyotyrant-1.1.40.ebuild,v 1.1 2010/02/19 13:28:57 patrick Exp $
51
52 EAPI=2
53
54 inherit eutils
55
56 DESCRIPTION="A network interface to Tokyo Cabinet"
57 HOMEPAGE="http://1978th.net/tokyotyrant/"
58 SRC_URI="${HOMEPAGE}${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-macos"
63 IUSE="debug lua"
64
65 DEPEND="dev-db/tokyocabinet
66 sys-libs/zlib
67 app-arch/bzip2
68 lua? ( dev-lang/lua )"
69 RDEPEND="${DEPEND}"
70
71 pkg_setup() {
72 if use !prefix ; then
73 enewgroup tyrant
74 enewuser tyrant -1 -1 /var/lib/${PN} tyrant
75 fi
76 }
77
78 src_prepare() {
79 epatch "${FILESDIR}"/fix_makefiles.patch
80 epatch "${FILESDIR}"/fix_testsuite.patch
81 }
82
83 src_configure() {
84 econf \
85 $(use_enable debug) \
86 $(use_enable lua)
87 }
88
89 src_install() {
90 rm ttservctl || die "Install failed"
91 emake DESTDIR="${D}" install || die "Install failed"
92
93 for x in /var/{lib,run,log}/${PN}; do
94 dodir "${x}" || die "Install failed"
95 use prefix || fowners tyrant:tyrant "${x}"
96 done
97
98 newinitd "${FILESDIR}/${PN}.initd" ${PN} || die "Install failed"
99 newconfd "${FILESDIR}/${PN}.confd" ${PN} || die "Install failed"
100
101 }
102
103 src_test() {
104 emake -j1 check || die "Tests failed"
105 }