Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libuv/
Date: Tue, 03 Apr 2018 04:46:44
Message-Id: 1522730798.daf90b27ec2e2ca51f89ebbea287be04ccdcaa46.jer@gentoo
1 commit: daf90b27ec2e2ca51f89ebbea287be04ccdcaa46
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 3 04:44:49 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 3 04:46:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf90b27
7
8 dev-libs/libuv: Version 1.20.0.
9
10 Package-Manager: Portage-2.3.27, Repoman-2.3.9
11
12 dev-libs/libuv/Manifest | 1 +
13 dev-libs/libuv/libuv-1.20.0.ebuild | 47 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-libs/libuv/Manifest b/dev-libs/libuv/Manifest
17 index b48877dc5d7..a84a7f10694 100644
18 --- a/dev-libs/libuv/Manifest
19 +++ b/dev-libs/libuv/Manifest
20 @@ -8,3 +8,4 @@ DIST libuv-1.17.0.tar.gz 1167930 BLAKE2B 2e38e400d312005f94ad671203b82794f96e580
21 DIST libuv-1.18.0.tar.gz 1167950 BLAKE2B 2c40adbc2c98ffdd3a8a9c30f90eb90e6b0ad16b23935e43d1e19c53238f1a57e422f6f9a3e00374283c4187faa65e13c3e1546ead3ff1fd8e30d98340947078 SHA512 d1ef70b0f060f40cf57b282279d1d63d6dd019b4b811211b2252db32633a80af46290d201b4a4338f84b3efdfe9754a11b29bfa4a7636b06540b1a65e1fd4fbc
22 DIST libuv-1.19.1.tar.gz 1174572 BLAKE2B 097a8702420ab2536aedd8df95d01a9a3dbff447252f28ced474314506b717589828fd6c86f0e90234c3ebafded95e01b2dd8a422cf690d37354cb5efe95ba40 SHA512 b903dd460c4bbb11011821d1e1f6c92474462cb6ff0dd8185604eb7726cc61c545dc3f59f5b418e9b31d6512beacdf4fcbdb868dd0004e688a6e34f3feb17eb2
23 DIST libuv-1.19.2.tar.gz 1176076 BLAKE2B 2ba7b7ebedffe5964a9ca7ebe52d6acc7546d415fb9015107b8ad8cf96ad6b0c60d731844a7dea29ae1255bfa1cf43f1851443652c1ab64cb6837dc26e472340 SHA512 4fa879e34c51ae428ebf72ce80873b8d12994ae1560f9d3577a693653bfd5bd4b4fda7ff457b98b5e60fc82546658300401d6545d677f31d2cd66be3d82e02da
24 +DIST libuv-1.20.0.tar.gz 1180231 BLAKE2B 8ba258477c685acc1ed5486211b65719419757f6dec5dda863d622d4190552a2f5968f3b05519ec5574a5963cce99a9b92c224b511e0f9e70aa099d47f4fb4ca SHA512 382309cb6e54765b956b03357cb754f49d93505ba0e0122a77f33efca07d7b87966c993a5fd9f9503edd1bcd0f49ca42bd9cd9264cce94c847aebca77d237ba0
25
26 diff --git a/dev-libs/libuv/libuv-1.20.0.ebuild b/dev-libs/libuv/libuv-1.20.0.ebuild
27 new file mode 100644
28 index 00000000000..1edbef416b0
29 --- /dev/null
30 +++ b/dev-libs/libuv/libuv-1.20.0.ebuild
31 @@ -0,0 +1,47 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit autotools ltprune multilib-minimal
38 +
39 +DESCRIPTION="Cross-platform asychronous I/O"
40 +HOMEPAGE="https://github.com/libuv/libuv"
41 +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="BSD BSD-2 ISC MIT"
44 +SLOT="0/1"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +IUSE="static-libs"
47 +RESTRICT="test"
48 +
49 +DEPEND="sys-devel/libtool
50 + virtual/pkgconfig[${MULTILIB_USEDEP}]"
51 +
52 +src_prepare() {
53 + default
54 +
55 + echo "m4_define([UV_EXTRA_AUTOMAKE_FLAGS], [serial-tests])" \
56 + > m4/libuv-extra-automake-flags.m4 || die
57 +
58 + eautoreconf
59 +}
60 +
61 +multilib_src_configure() {
62 + local myeconfargs=(
63 + cc_cv_cflags__g=no
64 + $(use_enable static-libs static)
65 + )
66 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
67 +}
68 +
69 +multilib_src_test() {
70 + mkdir "${BUILD_DIR}"/test || die
71 + cp -pPR "${S}"/test/fixtures "${BUILD_DIR}"/test/fixtures || die
72 + default
73 +}
74 +
75 +multilib_src_install_all() {
76 + einstalldocs
77 + prune_libtool_files
78 +}