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, 07 Sep 2020 22:06:07
Message-Id: 1599516357.af1aa5dda0985512c063560717852166af82e144.whissi@gentoo
1 commit: af1aa5dda0985512c063560717852166af82e144
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 7 22:02:55 2020 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 7 22:05:57 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af1aa5dd
7
8 net-libs/zeromq: bump to v4.3.3
9
10 Bug: https://bugs.gentoo.org/740574
11 Package-Manager: Portage-3.0.5, Repoman-3.0.1
12 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
13
14 net-libs/zeromq/Manifest | 1 +
15 net-libs/zeromq/zeromq-4.3.3.ebuild | 61 +++++++++++++++++++++++++++++++++++++
16 2 files changed, 62 insertions(+)
17
18 diff --git a/net-libs/zeromq/Manifest b/net-libs/zeromq/Manifest
19 index 822566c7851..592bf7febdd 100644
20 --- a/net-libs/zeromq/Manifest
21 +++ b/net-libs/zeromq/Manifest
22 @@ -1,3 +1,4 @@
23 DIST zeromq-2.2.0.tar.gz 1899104 BLAKE2B 1c02629e33151db11c529d538ce519dae7f3426ee13f8a2b840960779cd7514f7cc3257983704f2c392a00ad62f4a955bc33fcbdadb8bada3858753a1790ab41 SHA512 fb3cf421b2dc48c31956b3e3ee4ab6ebc743deec3bf626c2238a1996c8c51be87260bd6aa662793a1f0c34dcda9b3146763777bb162dfad6fec4ca7acc403b2e
24 DIST zeromq-3.2.5.tar.gz 2082960 BLAKE2B 88fe3b3206f0e59acb3cf370964c9e40df2dceb5e40aef85ae8cd8fedef4c655fd2698a7f81431e34550b5156814a75c0b1a738393e7c44acbfefe96acc4c4bc SHA512 3682204e5a47824d149968e62fbf9768134370e4f7debbbf8f2bfa24bdd0a781e50c4a9b4231af8a0c4bab61839169100525a91472448ef180a9672342e10a3f
25 DIST zeromq-4.3.2.tar.gz 1697442 BLAKE2B 70a1f6da357987c32483050fcf86cb81a1fb0b65a527f6900f54eea8958c6aa6024af04067114663824d42305f507cba67e03c7aaab7e23e4f6332d4368613eb SHA512 b6251641e884181db9e6b0b705cced7ea4038d404bdae812ff47bdd0eed12510b6af6846b85cb96898e253ccbac71eca7fe588673300ddb9c3109c973250c8e4
26 +DIST zeromq-4.3.3.tar.gz 2117050 BLAKE2B 69bd1544fa76232ecf860b364592762c4170c327c444bf79a916947e1c370eb8c6c20b2ae271374d70bde11db9116ef6a64262e287982e5f41d6a5029649348f SHA512 4c18d784085179c5b1fcb753a93813095a12c8d34970f2e1bfca6499be6c9d67769c71c68b7ca54ff181b20390043170e89733c22f76ff1ea46494814f7095b1
27
28 diff --git a/net-libs/zeromq/zeromq-4.3.3.ebuild b/net-libs/zeromq/zeromq-4.3.3.ebuild
29 new file mode 100644
30 index 00000000000..e9a0a3255f3
31 --- /dev/null
32 +++ b/net-libs/zeromq/zeromq-4.3.3.ebuild
33 @@ -0,0 +1,61 @@
34 +# Copyright 1999-2020 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 +RESTRICT="!test? ( test )"
50 +
51 +RDEPEND="
52 + !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) )
53 + sodium? ( dev-libs/libsodium:= )
54 + pgm? ( ~net-libs/openpgm-5.2.122 )"
55 +DEPEND="${RDEPEND}
56 + !elibc_Darwin? ( sys-apps/util-linux )
57 + doc? (
58 + app-text/asciidoc
59 + app-text/xmlto
60 + )
61 + pgm? ( virtual/pkgconfig )"
62 +
63 +src_prepare() {
64 + sed \
65 + -e '/libzmq_werror=/s:yes:no:g' \
66 + -i configure.ac || die
67 + default
68 + eautoreconf
69 +}
70 +
71 +src_configure() {
72 + local myeconfargs=(
73 + --enable-shared
74 + $(use_enable drafts)
75 + $(use_enable static-libs static)
76 + $(use_enable unwind libunwind)
77 + $(use_with sodium libsodium)
78 + $(use_with pgm)
79 + $(use_with doc docs)
80 + )
81 + econf "${myeconfargs[@]}"
82 +}
83 +
84 +src_test() {
85 + # Restricting to one job because multiple tests are using the same port.
86 + # Upstream knows the problem and says it doesn't support parallel test
87 + # execution, see ${S}/INSTALL.
88 + emake -j1 check
89 +}
90 +
91 +src_install() {
92 + default
93 + find "${ED}"/usr/lib* -name '*.la' -delete || die
94 +}