Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/zeromq/
Date: Mon, 14 Jan 2019 02:19:32
Message-Id: 1547432355.bff2f10013fd5ad08befbb74b0f48987a4272c80.whissi@gentoo
1 commit: bff2f10013fd5ad08befbb74b0f48987a4272c80
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 14 02:19:03 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 14 02:19:15 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff2f100
7
8 net-libs/zeromq: bump to v4.3.1
9
10 Bug: https://bugs.gentoo.org/675376
11 Package-Manager: Portage-2.3.55, Repoman-2.3.12
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 net-libs/zeromq/Manifest | 1 +
15 net-libs/zeromq/zeromq-4.3.1.ebuild | 62 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 63 insertions(+)
17
18 diff --git a/net-libs/zeromq/Manifest b/net-libs/zeromq/Manifest
19 index 0a27ae6101f..611ca7c0ce5 100644
20 --- a/net-libs/zeromq/Manifest
21 +++ b/net-libs/zeromq/Manifest
22 @@ -9,3 +9,4 @@ DIST zeromq-4.2.2.tar.gz 1236437 BLAKE2B 7104f8ad28cc00f1ba6d6cb5dbb9aa466971c73
23 DIST zeromq-4.2.3.tar.gz 1326780 BLAKE2B f76ff6461e5a180221b1fff471e795a457fe4f26ec1ca725438aff4e240be7da80e42b2aea49845b5712e1d63590f64bc681f9a793bcf4d32fe0ee08bcab482c SHA512 8ac588a7a4db9d65586dd7b501999edac151e1d03056c1014d7ded6cd4bcf5bb4f81252b47d89d60c3ad7d527685218992bf5853b4656c0702e0f64c2d77712b
24 DIST zeromq-4.2.5.tar.gz 1409447 BLAKE2B 9309cff20192c4e0d9e34992cc3168c219ae63e8258362483d15f3315436324454603739393d2fa2628fb4cf7a94954c1643de07c3a28e86933fcd53aa2e0fac SHA512 4556cb50d05a6d133015a0ba804d6d951a47479a33fa29561eaeecb93d48b7bb6477365d0986c38b779f500cadaf08522c4a7aa13f5510303bd923f794d37036
25 DIST zeromq-4.3.0.tar.gz 1487771 BLAKE2B 3783eb2505c2e42fc2c03cd9a280b0e2a70758d4046bd0c5b0f43a5a0630655ff06665c30fdfe222fb077ff966a9d5e0c762f65370804dee2eb25fa8215d5e2b SHA512 593239f66c4157e596874832378c9405d79c915a5895503bdbc87304df0ab49311b96f92ba6492396b4bf25d2007689099730995f7c335a51fbf42a9aafb02e4
26 +DIST zeromq-4.3.1.tar.gz 1490122 BLAKE2B 95d0a1359e85a3868ae0b1cd4f711d9715ddc07d21fbb7799c6beaa269aa77fb68e087898033f8a515be974a799c1ee2f2afba1f50b1bc806255750b95990367 SHA512 b80388a3703993425cdd73054139a8e2895aedb9992ea68d6eadb4ea39b9af576ea14f306dfb432e4c24535feb6b293f82fac5679b655d258f0f921f2b71e772
27
28 diff --git a/net-libs/zeromq/zeromq-4.3.1.ebuild b/net-libs/zeromq/zeromq-4.3.1.ebuild
29 new file mode 100644
30 index 00000000000..ab8a55ef119
31 --- /dev/null
32 +++ b/net-libs/zeromq/zeromq-4.3.1.ebuild
33 @@ -0,0 +1,62 @@
34 +# Copyright 1999-2019 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI="7"
38 +
39 +inherit autotools
40 +
41 +DESCRIPTION="A brokerless kernel"
42 +HOMEPAGE="http://www.zeromq.org/"
43 +SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz"
44 +
45 +LICENSE="LGPL-3"
46 +SLOT="0/5"
47 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
48 +IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin"
49 +
50 +RDEPEND="
51 + !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
52 + sodium? ( dev-libs/libsodium:= )
53 + pgm? ( =net-libs/openpgm-5.2.122 )"
54 +DEPEND="${RDEPEND}
55 + !elibc_Darwin? ( sys-apps/util-linux )
56 + doc? (
57 + app-text/asciidoc
58 + app-text/xmlto
59 + )
60 + pgm? ( virtual/pkgconfig )"
61 +
62 +PATCHES=()
63 +
64 +src_prepare() {
65 + sed \
66 + -e '/libzmq_werror=/s:yes:no:g' \
67 + -i configure.ac || die
68 + default
69 + eautoreconf
70 +}
71 +
72 +src_configure() {
73 + local myeconfargs=(
74 + --enable-shared
75 + $(use_enable drafts)
76 + $(use_enable static-libs static)
77 + $(use_enable unwind libunwind)
78 + $(use_with sodium libsodium)
79 + $(use_with pgm)
80 + $(use_with doc docs)
81 + )
82 + econf "${myeconfargs[@]}"
83 +}
84 +
85 +src_test() {
86 + # Restricting to one job because multiple tests are using the same port.
87 + # Upstream knows the problem and says it doesn't support parallel test
88 + # execution, see ${S}/INSTALL.
89 + emake -j1 check
90 +}
91 +
92 +src_install() {
93 + default
94 + find "${ED%/}"/usr/lib* -name '*.la' -delete || die
95 +}