Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/ppc64le:master commit in: dev-libs/libverto/
Date: Tue, 28 Jun 2016 17:39:46
Message-Id: 1467135734.b203d40040e1f75cc12efd27853cd0bc43e7f051.blueness@gentoo
1 commit: b203d40040e1f75cc12efd27853cd0bc43e7f051
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 17:42:14 2016 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 17:42:14 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/ppc64le.git/commit/?id=b203d400
7
8 dev-libs/libverto: copy from tree
9
10 dev-libs/libverto/Manifest | 2 ++
11 dev-libs/libverto/libverto-0.2.5-r1.ebuild | 52 ++++++++++++++++++++++++++++++
12 dev-libs/libverto/libverto-0.2.5.ebuild | 52 ++++++++++++++++++++++++++++++
13 dev-libs/libverto/libverto-0.2.6.ebuild | 52 ++++++++++++++++++++++++++++++
14 dev-libs/libverto/metadata.xml | 15 +++++++++
15 5 files changed, 173 insertions(+)
16
17 diff --git a/dev-libs/libverto/Manifest b/dev-libs/libverto/Manifest
18 new file mode 100644
19 index 0000000..cc090d3
20 --- /dev/null
21 +++ b/dev-libs/libverto/Manifest
22 @@ -0,0 +1,2 @@
23 +DIST libverto-0.2.5.tar.gz 349722 SHA256 b249067e91a98a5a44ff958d77c2e5a45de697d08dfd22800aa760d752d7a6ce SHA512 d57a7f86e714d3fbed391984de3356d8a2769f846985769c1be7d881647c1be95a5fc6a82bba1660ef3241aa1a40150b5e005af6f35dc32473facfdea49c556e WHIRLPOOL af696e8503e2bd8331826bb3c437ab640a83263ab2e9dfaaf63d240c9a8e58803ef0df440ef264add3884d47cb060e60fb2701f1578e845e1c92e74263e7eb89
24 +DIST libverto-0.2.6.tar.gz 352690 SHA256 17eca6a3855f4884e2e7095e91501767d834b3bf313a6f59a93303f54ac91c9e SHA512 aa8d047501d28741f2f8185fc4a0ef6dc4b99dbe69b583c40cd4c0afc97db4dd0a928d9ec23861fff61651e9ac82e52da9473b8e62ccc11a91e5e5c6b41dfd3b WHIRLPOOL 518eb5390e3e3a6265e9f3fd049755f737d768efca23f3abef5286b512e6576cf6d16d241e1430debfc15fb974df543a3435bc926784d143dad37883bac04914
25
26 diff --git a/dev-libs/libverto/libverto-0.2.5-r1.ebuild b/dev-libs/libverto/libverto-0.2.5-r1.ebuild
27 new file mode 100644
28 index 0000000..cd1aecd
29 --- /dev/null
30 +++ b/dev-libs/libverto/libverto-0.2.5-r1.ebuild
31 @@ -0,0 +1,52 @@
32 +# Copyright 1999-2014 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit multilib-minimal
39 +
40 +DESCRIPTION="Main event loop abstraction library"
41 +HOMEPAGE="https://fedorahosted.org/libverto/"
42 +SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd"
47 +IUSE="glib +libev libevent tevent +threads static-libs"
48 +
49 +# file collisions
50 +DEPEND="!=app-crypt/mit-krb5-1.10.1-r0
51 + !=app-crypt/mit-krb5-1.10.1-r1
52 + !=app-crypt/mit-krb5-1.10.1-r2
53 + glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
54 + libev? ( >=dev-libs/libev-4.15[${MULTILIB_USEDEP}] )
55 + libevent? ( >=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}] )
56 + tevent? ( >=sys-libs/tevent-0.9.19[${MULTILIB_USEDEP}] )"
57 +
58 +RDEPEND="${DEPEND}"
59 +
60 +REQUIRED_USE="|| ( glib libev libevent tevent ) "
61 +
62 +src_prepare() {
63 + # known problem uptream with tevent write test. tevent does not fire a
64 + # callback on error, but we explicitly test for this behaviour. Do not run
65 + # tevent tests for now.
66 + sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
67 +}
68 +
69 +multilib_src_configure() {
70 + ECONF_SOURCE="${S}" \
71 + econf \
72 + $(use_with glib) \
73 + $(use_with libev) \
74 + $(use_with libevent) \
75 + $(use_with tevent) \
76 + $(use_with threads pthread) \
77 + $(use_enable static-libs static)
78 +}
79 +
80 +multilib_src_install_all() {
81 + dodoc AUTHORS ChangeLog NEWS INSTALL README
82 + use static-libs || prune_libtool_files --all
83 +}
84
85 diff --git a/dev-libs/libverto/libverto-0.2.5.ebuild b/dev-libs/libverto/libverto-0.2.5.ebuild
86 new file mode 100644
87 index 0000000..92642a9
88 --- /dev/null
89 +++ b/dev-libs/libverto/libverto-0.2.5.ebuild
90 @@ -0,0 +1,52 @@
91 +# Copyright 1999-2014 Gentoo Foundation
92 +# Distributed under the terms of the GNU General Public License v2
93 +# $Id$
94 +
95 +EAPI=5
96 +
97 +DESCRIPTION="Main event loop abstraction library"
98 +HOMEPAGE="https://fedorahosted.org/libverto/"
99 +SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz"
100 +
101 +LICENSE="MIT"
102 +SLOT="0"
103 +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd"
104 +IUSE="glib +libev libevent tevent +threads static-libs"
105 +
106 +# file collisions
107 +DEPEND="!=app-crypt/mit-krb5-1.10.1-r0
108 + !=app-crypt/mit-krb5-1.10.1-r1
109 + !=app-crypt/mit-krb5-1.10.1-r2
110 + glib? ( >=dev-libs/glib-2.29 )
111 + libev? ( >=dev-libs/libev-4.11 )
112 + libevent? ( >=dev-libs/libevent-2.0 )
113 + tevent? ( sys-libs/tevent )"
114 +
115 +RDEPEND="${DEPEND}"
116 +
117 +REQUIRED_USE="|| ( glib libev libevent tevent ) "
118 +
119 +src_prepare() {
120 + # known problem uptream with tevent write test. tevent does not fire a
121 + # callback on error, but we explicitly test for this behaviour. Do not run
122 + # tevent tests for now.
123 + sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
124 +}
125 +
126 +src_configure() {
127 + econf \
128 + $(use_with glib) \
129 + $(use_with libev) \
130 + $(use_with libevent) \
131 + $(use_with tevent) \
132 + $(use_with threads pthread) \
133 + $(use_enable static-libs static)
134 +}
135 +
136 +src_install() {
137 + emake DESTDIR="${D}" install
138 +
139 + dodoc AUTHORS ChangeLog NEWS INSTALL README
140 +
141 + use static-libs || find "${D}" -name '*.la' -delete
142 +}
143
144 diff --git a/dev-libs/libverto/libverto-0.2.6.ebuild b/dev-libs/libverto/libverto-0.2.6.ebuild
145 new file mode 100644
146 index 0000000..6f6eff7
147 --- /dev/null
148 +++ b/dev-libs/libverto/libverto-0.2.6.ebuild
149 @@ -0,0 +1,52 @@
150 +# Copyright 1999-2014 Gentoo Foundation
151 +# Distributed under the terms of the GNU General Public License v2
152 +# $Id$
153 +
154 +EAPI=5
155 +
156 +inherit multilib-minimal
157 +
158 +DESCRIPTION="Main event loop abstraction library"
159 +HOMEPAGE="https://fedorahosted.org/libverto/"
160 +SRC_URI="https://fedorahosted.org/releases/l/i/libverto/${P}.tar.gz"
161 +
162 +LICENSE="MIT"
163 +SLOT="0"
164 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
165 +IUSE="glib +libev libevent tevent +threads static-libs"
166 +
167 +# file collisions
168 +DEPEND="!=app-crypt/mit-krb5-1.10.1-r0
169 + !=app-crypt/mit-krb5-1.10.1-r1
170 + !=app-crypt/mit-krb5-1.10.1-r2
171 + glib? ( >=dev-libs/glib-2.34.3[${MULTILIB_USEDEP}] )
172 + libev? ( >=dev-libs/libev-4.15[${MULTILIB_USEDEP}] )
173 + libevent? ( >=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}] )
174 + tevent? ( >=sys-libs/tevent-0.9.19[${MULTILIB_USEDEP}] )"
175 +
176 +RDEPEND="${DEPEND}"
177 +
178 +REQUIRED_USE="|| ( glib libev libevent tevent ) "
179 +
180 +src_prepare() {
181 + # known problem uptream with tevent write test. tevent does not fire a
182 + # callback on error, but we explicitly test for this behaviour. Do not run
183 + # tevent tests for now.
184 + sed -i -e 's/def HAVE_TEVENT/ 0/' tests/test.h || die
185 +}
186 +
187 +multilib_src_configure() {
188 + ECONF_SOURCE="${S}" \
189 + econf \
190 + $(use_with glib) \
191 + $(use_with libev) \
192 + $(use_with libevent) \
193 + $(use_with tevent) \
194 + $(use_with threads pthread) \
195 + $(use_enable static-libs static)
196 +}
197 +
198 +multilib_src_install_all() {
199 + dodoc AUTHORS ChangeLog NEWS INSTALL README
200 + use static-libs || prune_libtool_files --all
201 +}
202
203 diff --git a/dev-libs/libverto/metadata.xml b/dev-libs/libverto/metadata.xml
204 new file mode 100644
205 index 0000000..24304b1
206 --- /dev/null
207 +++ b/dev-libs/libverto/metadata.xml
208 @@ -0,0 +1,15 @@
209 +<?xml version="1.0" encoding="UTF-8"?>
210 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
211 +<pkgmetadata>
212 +<longdescription lang="en">Many applications and libraries are unable to write asynchronous code because they are unable to pick an event loop. This is particularly true of libraries who want to be useful to many applications who use loops that do not integrate with one another or which use home-grown loops. libverto provides a loop-neutral async api which allows the library to expose asynchronous interfaces and offload the choice of the main loop to the application.</longdescription>
213 +<maintainer type="person">
214 + <email>eras@g.o</email>
215 + <name>Eray Aslan</name>
216 +</maintainer>
217 +<use>
218 + <flag name="glib">Support event loops using <pkg>dev-libs/glib</pkg></flag>
219 + <flag name="libev">Support event loops using <pkg>dev-libs/libev</pkg></flag>
220 + <flag name="libevent">Support event loops using <pkg>dev-libs/libevent</pkg></flag>
221 + <flag name="tevent">Support event loops using <pkg>sys-libs/tevent</pkg></flag>
222 +</use>
223 +</pkgmetadata>