From c90480ca2878c74f514e8456d85b79ffad359b0e Mon Sep 17 00:00:00 2001 From: KotoishiHeart Date: Fri, 20 Jun 2025 20:06:08 +0900 Subject: [PATCH] dev-libs/aws-c-io: add 0.19.1 Signed-off-by: KotoishiHeart Part-of: https://github.com/gentoo/guru/pull/331 Signed-off-by: KotoishiHeart --- dev-libs/aws-c-io/Manifest | 1 + dev-libs/aws-c-io/aws-c-io-0.19.1.ebuild | 41 ++++++++++++++++++++++++ dev-libs/aws-c-io/metadata.xml | 11 +++++++ 3 files changed, 53 insertions(+) create mode 100644 dev-libs/aws-c-io/Manifest create mode 100644 dev-libs/aws-c-io/aws-c-io-0.19.1.ebuild create mode 100644 dev-libs/aws-c-io/metadata.xml diff --git a/dev-libs/aws-c-io/Manifest b/dev-libs/aws-c-io/Manifest new file mode 100644 index 0000000000..e5fe68be2f --- /dev/null +++ b/dev-libs/aws-c-io/Manifest @@ -0,0 +1 @@ +DIST aws-c-io-0.19.1.tar.gz 736276 BLAKE2B 66afe228fda5d24eb240f9c187bfe5516fa81c8206089813b35ac7872ff5592d9014e1e7b0ae805ead59953d56abbce0356b41b7618d180f292a36c37dfb1d90 SHA512 980de4a052155226ff71e6c3a0e5b49c2717b6bf8478148b327963d6a6856b81940f0d9fa3cdaa9e99606f39e93fb74bee601b4f03e2d0f285b0f0056277fdce diff --git a/dev-libs/aws-c-io/aws-c-io-0.19.1.ebuild b/dev-libs/aws-c-io/aws-c-io-0.19.1.ebuild new file mode 100644 index 0000000000..6ce115eecb --- /dev/null +++ b/dev-libs/aws-c-io/aws-c-io-0.19.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="AWS SDK for C module, handles IO and TLS work for application protocols" +HOMEPAGE="https://github.com/awslabs/aws-c-io" +SRC_URI="https://github.com/awslabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/aws-c-common:= + dev-libs/aws-c-cal:= + dev-libs/s2n:= +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=$(usex test) + ) + + if use test; then + # (#759802) Due to network sandboxing of portage, internet connectivity + # tests will always fail. If you need a USE flag, because you want/need + # to perform these tests manually, please open a bug report for it. + mycmakeargs+=( + -DENABLE_NET_TESTS=OFF + ) + fi + + cmake_src_configure +} diff --git a/dev-libs/aws-c-io/metadata.xml b/dev-libs/aws-c-io/metadata.xml new file mode 100644 index 0000000000..e27a7e8b02 --- /dev/null +++ b/dev-libs/aws-c-io/metadata.xml @@ -0,0 +1,11 @@ + + + + + trakrailysurely@danceylove.net + Okamura Kazuya + + + awslabs/aws-c-io + +