Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libuev/
Date: Thu, 07 Dec 2017 10:15:22
Message-Id: 1512641703.6ee0574f47cdce4a6fded9e5243db4aab857502b.kensington@gentoo
1 commit: 6ee0574f47cdce4a6fded9e5243db4aab857502b
2 Author: Oz N Tiram <oz.tiram <AT> mobilityhouse <DOT> com>
3 AuthorDate: Sun Dec 3 14:12:06 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 7 10:15:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee0574f
7
8 dev-libs/libuev: Simple event loop for Linux
9
10 libuev is a simple event loop in the style of the more established
11
12 libevent, libev and the venerable Xt(3) event loop. The u (micro) in the
13 name refers to both the small feature set and the small size overhead
14 impact of the library.
15
16 Experienced developers may appreciate that libuEv is built on top of
17 modern Linux APIs: epoll, timerfd and signalfd. Note however, a certain
18 amount of care is needed when dealing with APIs that employ signalfd.
19
20 Libuev is required for net-ftp/uftpd (see bug https://bugs.gentoo.org/639564).
21
22 Closes: https://bugs.gentoo.org/639630
23 Closes: https://github.com/gentoo/gentoo/pull/6423
24 Package-Manager: Portage-2.3.13, Repoman-2.3.1
25
26 dev-libs/libuev/Manifest | 1 +
27 dev-libs/libuev/libuev-2.1.0.ebuild | 22 ++++++++++++++++++++++
28 dev-libs/libuev/metadata.xml | 20 ++++++++++++++++++++
29 3 files changed, 43 insertions(+)
30
31 diff --git a/dev-libs/libuev/Manifest b/dev-libs/libuev/Manifest
32 new file mode 100644
33 index 00000000000..56cc5b76b11
34 --- /dev/null
35 +++ b/dev-libs/libuev/Manifest
36 @@ -0,0 +1 @@
37 +DIST libuev-2.1.0.tar.xz 247388 BLAKE2B e2934fb79e32bf61e22a7c8fcdd6371f089c5e8a4f5b3039c10c90abd852d08c5612f7b871ef705afdca68857a270dfd133a1436cd9f49876e0bf47b903e6328 SHA512 82bd68c75f015284d3757886720d1a0e5689cf71b40b896410e5e4e952761fe05b090a33e0787f632afa7726567667e4dbbbc6270129828656953ded6d28d02b
38
39 diff --git a/dev-libs/libuev/libuev-2.1.0.ebuild b/dev-libs/libuev/libuev-2.1.0.ebuild
40 new file mode 100644
41 index 00000000000..661b7402fb6
42 --- /dev/null
43 +++ b/dev-libs/libuev/libuev-2.1.0.ebuild
44 @@ -0,0 +1,22 @@
45 +# Copyright 1999-2017 Gentoo Foundation
46 +# Distributed under the terms of the GNU General Public License v2
47 +
48 +EAPI=6
49 +
50 +DESCRIPTION="A collection of useful BSD APIs"
51 +HOMEPAGE="https://github.com/troglobit/libuev"
52 +SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
53 +
54 +LICENSE="MIT"
55 +SLOT="0"
56 +KEYWORDS="~amd64 ~x86"
57 +IUSE="static-libs"
58 +
59 +src_configure(){
60 + econf --enable-static=$(usex static-libs)
61 +}
62 +
63 +src_install(){
64 + default
65 + find "${D}" -name '*.la' -delete || die
66 +}
67
68 diff --git a/dev-libs/libuev/metadata.xml b/dev-libs/libuev/metadata.xml
69 new file mode 100644
70 index 00000000000..55df3087918
71 --- /dev/null
72 +++ b/dev-libs/libuev/metadata.xml
73 @@ -0,0 +1,20 @@
74 +<?xml version="1.0" encoding="UTF-8"?>
75 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
76 +<pkgmetadata>
77 + <maintainer type="person">
78 + <name>Oz Tiram</name>
79 + <email>oz.tiram@×××××.com</email>
80 + </maintainer>
81 + <maintainer type="project">
82 + <email>proxy-maint@g.o</email>
83 + </maintainer>
84 + <longdescription lang="en">
85 + libuEv is a simple event loop in the style of the more established
86 + libevent, libev and the venerable Xt(3) event loop. The u (micro) in the
87 + name refers to both the small feature set and the small size overhead
88 + impact of the library.
89 + </longdescription>
90 + <upstream>
91 + <remote-id type="github">troglobit/libuev</remote-id>
92 + </upstream>
93 +</pkgmetadata>