From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B06E21581B9 for ; Mon, 06 Oct 2025 00:13:39 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 95CDB3417BD for ; Mon, 06 Oct 2025 00:13:39 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id B39831103B8; Mon, 06 Oct 2025 00:13:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id AF91B1103B8 for ; Mon, 06 Oct 2025 00:13:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 671EA3410A3 for ; Mon, 06 Oct 2025 00:13:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE71B39A8 for ; Mon, 06 Oct 2025 00:13:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1759709093.8d921a1a9eeb74250cd0ed6b70e7ceaf0257a696.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/nanomsg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/nanomsg/Manifest dev-libs/nanomsg/nanomsg-1.2.2.ebuild X-VCS-Directories: dev-libs/nanomsg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8d921a1a9eeb74250cd0ed6b70e7ceaf0257a696 X-VCS-Branch: master Date: Mon, 06 Oct 2025 00:13:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0b692ee5-b03c-47fb-b74f-6d23efebb424 X-Archives-Hash: 510a13548c5c2cbc9a83ae78e31b375b commit: 8d921a1a9eeb74250cd0ed6b70e7ceaf0257a696 Author: Sam James gentoo org> AuthorDate: Mon Oct 6 00:04:50 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 6 00:04:53 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d921a1a dev-libs/nanomsg: add 1.2.2 Bug: https://bugs.gentoo.org/934665 Signed-off-by: Sam James gentoo.org> dev-libs/nanomsg/Manifest | 1 + dev-libs/nanomsg/nanomsg-1.2.2.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-libs/nanomsg/Manifest b/dev-libs/nanomsg/Manifest index c60768ae2740..1d84d564c956 100644 --- a/dev-libs/nanomsg/Manifest +++ b/dev-libs/nanomsg/Manifest @@ -1 +1,2 @@ DIST nanomsg-1.2.1.tar.gz 310191 BLAKE2B 8b02bf60196ce3d316643547e0a88cc63227306a24551f97a141e99996390cf3a8f1c838c6416991d09ff1309da5c69d995021585a5b8bcd02113fdcc232225a SHA512 cc119acafe6e000b75299e866b4bace56ec6d8c90e7843ad773efad7b534296d6baf2b75b107c70a0e4fd4cee9763315d87b6f354676b7915732961b89c3adcb +DIST nanomsg-1.2.2.tar.gz 310142 BLAKE2B 1845b0e3b77b996cc50f3a6af6fb006bc80580007b685e1b83360b51d93d792d81950773fbaf4bec903e80b2f42a81ea790f37218526df07a7e6ca8d68fab4e1 SHA512 76162319588d7ba7668f373147629ec2a178d247ac0518b24d129ea579f9c19cc45c544744ed9fe89ab7e74750da7c644d9565731d22f1199bf0ccfc5c734e56 diff --git a/dev-libs/nanomsg/nanomsg-1.2.2.ebuild b/dev-libs/nanomsg/nanomsg-1.2.2.ebuild new file mode 100644 index 000000000000..d8d81257530b --- /dev/null +++ b/dev-libs/nanomsg/nanomsg-1.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="High-performance messaging interface for distributed applications" +HOMEPAGE="https://nanomsg.org/" +SRC_URI="https://github.com/nanomsg/nanomsg/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/6.0.1" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~riscv ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND="doc? ( dev-ruby/asciidoctor )" + +src_prepare() { + # Old CPUs like HPPA fail tests because of timeout + sed -i \ + -e '/inproc_shutdown/s/10/80/' \ + -e '/ws_async_shutdown/s/10/80/' \ + -e '/ipc_shutdown/s/40/80/' CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DNN_STATIC_LIB=OFF + -DNN_ENABLE_DOC=$(usex doc) + -DNN_TESTS=$(usex test) + ) + + cmake_src_configure +}