Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-db/recutils: metadata.xml ChangeLog recutils-1.7.ebuild
Date: Fri, 31 Oct 2014 01:40:56
Message-Id: 20141031014049.AAC9E91BF@oystercatcher.gentoo.org
1 radhermit 14/10/31 01:40:49
2
3 Modified: metadata.xml ChangeLog
4 Added: recutils-1.7.ebuild
5 Log:
6 Version bump, add uuid use flag.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.2 dev-db/recutils/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-db/recutils/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 15 Jan 2012 02:16:45 -0000 1.1
24 +++ metadata.xml 31 Oct 2014 01:40:49 -0000 1.2
25 @@ -6,7 +6,8 @@
26 <name>Tim Harder</name>
27 </maintainer>
28 <use>
29 - <flag name="mdb">Build the mdb2rec utility</flag>
30 <flag name="curl">Enable support for remote descriptors using libcurl</flag>
31 + <flag name="mdb">Build the mdb2rec utility</flag>
32 + <flag name="uuid">Enable support for uuid types</flag>
33 </use>
34 </pkgmetadata>
35
36
37
38 1.5 dev-db/recutils/ChangeLog
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/ChangeLog?rev=1.5&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/ChangeLog?rev=1.5&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/ChangeLog?r1=1.4&r2=1.5
43
44 Index: ChangeLog
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/dev-db/recutils/ChangeLog,v
47 retrieving revision 1.4
48 retrieving revision 1.5
49 diff -u -r1.4 -r1.5
50 --- ChangeLog 1 Mar 2014 22:27:01 -0000 1.4
51 +++ ChangeLog 31 Oct 2014 01:40:49 -0000 1.5
52 @@ -1,6 +1,12 @@
53 # ChangeLog for dev-db/recutils
54 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
55 -# $Header: /var/cvsroot/gentoo-x86/dev-db/recutils/ChangeLog,v 1.4 2014/03/01 22:27:01 mgorny Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/dev-db/recutils/ChangeLog,v 1.5 2014/10/31 01:40:49 radhermit Exp $
57 +
58 +*recutils-1.7 (31 Oct 2014)
59 +
60 + 31 Oct 2014; Tim Harder <radhermit@g.o> +recutils-1.7.ebuild,
61 + +files/recutils-1.7-automagic.patch, metadata.xml:
62 + Version bump, add uuid use flag.
63
64 01 Mar 2014; Michał Górny <mgorny@g.o> recutils-1.5.ebuild:
65 Update libgcrypt dep to use slot :0.
66
67
68
69 1.1 dev-db/recutils/recutils-1.7.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/recutils-1.7.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/recutils/recutils-1.7.ebuild?rev=1.1&content-type=text/plain
73
74 Index: recutils-1.7.ebuild
75 ===================================================================
76 # Copyright 1999-2014 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/dev-db/recutils/recutils-1.7.ebuild,v 1.1 2014/10/31 01:40:49 radhermit Exp $
79
80 EAPI=5
81
82 inherit autotools eutils elisp-common
83
84 DESCRIPTION="Tools and libraries to access human-editable, plain text databases"
85 HOMEPAGE="http://www.gnu.org/software/recutils/"
86 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
87
88 LICENSE="GPL-3"
89 SLOT="0"
90 KEYWORDS="~amd64 ~x86"
91 IUSE="crypt curl emacs mdb nls static-libs +uuid"
92
93 RDEPEND="sys-libs/readline
94 crypt? (
95 dev-libs/libgcrypt:0=
96 dev-libs/libgpg-error
97 )
98 curl? ( net-misc/curl )
99 emacs? (
100 app-emacs/org-mode
101 virtual/emacs
102 )
103 mdb? (
104 app-office/mdbtools
105 dev-libs/glib:2
106 )
107 nls? ( virtual/libintl )
108 uuid? ( sys-apps/util-linux )"
109 DEPEND="${RDEPEND}
110 virtual/pkgconfig
111 nls? ( sys-devel/gettext )"
112
113 SITEFILE="50${PN}-gentoo.el"
114
115 src_prepare() {
116 epatch "${FILESDIR}"/${P}-automagic.patch
117
118 # don't unconditionally install emacs files
119 sed -i "/^dist_lisp_DATA/d" etc/Makefile.am || die
120
121 eautoreconf
122 }
123
124 src_configure() {
125 econf \
126 $(use_enable crypt encryption) \
127 $(use_enable curl) \
128 $(use_enable mdb) \
129 $(use_enable nls) \
130 $(use_enable uuid) \
131 $(use_enable static-libs static)
132 }
133
134 src_compile() {
135 default
136
137 if use emacs ; then
138 elisp-compile etc/*.el || die
139 fi
140 }
141
142 src_test() {
143 # tests have parallel issues
144 emake -j1 check
145 }
146
147 src_install() {
148 default
149 prune_libtool_files
150
151 if use emacs ; then
152 elisp-install ${PN} etc/*.{el,elc} || die
153 elisp-site-file-install "${FILESDIR}"/${SITEFILE} || die
154 fi
155 }
156
157 pkg_postinst() {
158 use emacs && elisp-site-regen
159 }
160
161 pkg_postrm() {
162 use emacs && elisp-site-regen
163 }