summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2021-03-14 15:45:37 +0100
committerJoonas Niilola <juippis@gentoo.org>2021-03-27 07:49:56 +0200
commitbc9cdf976f5ea831b9c839362bdd8eb38901167c (patch)
treee82794c68b1a16a5c0a648123390d6d1b826bf4e /dev-libs/aws-sdk-cpp
parentdev-libs/aws-c-event-stream: Version Bump to 0.2.7 (diff)
downloadgentoo-bc9cdf976f5ea831b9c839362bdd8eb38901167c.tar.gz
gentoo-bc9cdf976f5ea831b9c839362bdd8eb38901167c.tar.bz2
gentoo-bc9cdf976f5ea831b9c839362bdd8eb38901167c.zip
dev-libs/aws-sdk-cpp: Version Bump to 1.8.160
New in this ebuild: * New module 'wellarchitected' Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sven Eden <sven.eden@prydeworx.com> Closes: https://github.com/gentoo/gentoo/pull/19926 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/aws-sdk-cpp')
-rw-r--r--dev-libs/aws-sdk-cpp/Manifest1
-rw-r--r--dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild207
-rw-r--r--dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch17
-rw-r--r--dev-libs/aws-sdk-cpp/metadata.xml17
4 files changed, 236 insertions, 6 deletions
diff --git a/dev-libs/aws-sdk-cpp/Manifest b/dev-libs/aws-sdk-cpp/Manifest
index 283ae812409e..7c55604e6c1c 100644
--- a/dev-libs/aws-sdk-cpp/Manifest
+++ b/dev-libs/aws-sdk-cpp/Manifest
@@ -1 +1,2 @@
DIST aws-sdk-cpp-1.8.105.tar.gz 31880249 BLAKE2B 1a2eb972b716c656f45b8d1d12fc3e7280c171e4a19eb5431e320511365d305211e8567aa7fcc3e21f553ad5befda91829df6ccf60c23296d210d0c7347bb2a2 SHA512 a76da095718c8569c62597431d29a0a54c1a7f81c1825894f0f40b1a971a3e0b4f0813da4ac929612b9bb5f92501ee6a034436faa6eef678d936117765baab7e
+DIST aws-sdk-cpp-1.8.160.tar.gz 33282825 BLAKE2B 3c48edb5578d4450feeab94f9c44ec8222e2e7785d8f69d468b97cddc9bb503bb1648facdce85c2c90a73141c60a22aa6d1e29aeb4b8a904f8e926055f48124e SHA512 b71bed89d27361bf735907ad86908a3dcb952ff6ba9d6c2c04dd2ff6afded777b12ad2da79ba97744ef9ade6fa21a5ff4451f5b664bbab8bae4864fa4e0db073
diff --git a/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild
new file mode 100644
index 000000000000..4f2cb238a8cb
--- /dev/null
+++ b/dev-libs/aws-sdk-cpp/aws-sdk-cpp-1.8.160.ebuild
@@ -0,0 +1,207 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="AWS SDK for C++"
+HOMEPAGE="https://aws.amazon.com/sdk-for-cpp/"
+SRC_URI="https://github.com/aws/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+MODULES=(
+ access-management apigateway appconfig backup batch budgets chime cloud-desktop cloud-dev cloud-media
+ cloud-mobile cloudformation cloudfront cloudhsm cloudsearch cloudwatch cognito config dlm ebs ec2 ecr ecs
+ eks elasticache elasticbeanstalk elastic-inference elasticloadbalancing elasticmapreduce email es events
+ forecast frauddetector fsx globalaccelerator iot kendra kinesis kms lambda lex license-manager lightsail
+ lookoutvision machinelearning macie managedblockchain marketplace mwaa networkmanager opsworks
+ organizations other outposts personalize polly qldb queues rds rekognition resource-groups route53 s3
+ sagemaker secretsmanager securityhub serverlessrepo shield sns sqs textract timestream transcribe
+ translate waf wellarchitected
+)
+
+IUSE="+http libressl pulseaudio +rtti +ssl static-libs test unity-build ${MODULES[*]}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ http? ( net-misc/curl:= )
+ pulseaudio? ( media-sound/pulseaudio )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ >=dev-libs/aws-c-common-0.5.2:=[static-libs=]
+ >=dev-libs/aws-c-event-stream-0.2.7:=[static-libs=]
+ >=dev-libs/aws-checksums-0.1.10:=[static-libs=]
+ sys-libs/zlib
+"
+RDEPEND="
+ ${DEPEND}
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-upgrade_android-build_build_and_test_android_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_binary-release-pipeline_lambda_publish_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_CI_ConstructReleaseDoc_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_CI_ExtractBuildArgs_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_CI_handle_release_notification_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_CI_move_release_doc_to_models_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_doc_crosslinks_generate_cross_link_data_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_build_3rdparty_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_build_example_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_dummy_web_server_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_endpoints_checker_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_gather_3rdparty_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_generate_sdks_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_renew_license_py-3.9.patch
+ "${FILESDIR}"/${PN}-upgrade_scripts_run_integration_tests_py-3.9.patch
+ "${FILESDIR}"/${PN}-1.8.105-remove_Werror_from_FLAGS.patch
+ "${FILESDIR}"/${P}-disable_http_testing.patch
+)
+
+src_configure() {
+ local mybuildtargets="core"
+
+ for module in ${MODULES[@]}; do
+ if use ${module}; then
+ if [ "${module}" = "access-management" ] ; then
+ mybuildtargets+=";${module};accessanalyzer;acm;acm-pca;dataexchange;iam"
+ mybuildtargets+=";identity-management;identitystore;ram;sso;sso-admin;sso-oidc;sts"
+ elif [ "${module}" = "apigateway" ] ; then
+ mybuildtargets+=";${module};apigatewaymanagementapi;apigatewayv2"
+ elif [ "${module}" = "budgets" ] ; then
+ mybuildtargets+=";${module};ce;cur"
+ elif [ "${module}" = "cloud-desktop" ] ; then
+ mybuildtargets+=";appstream;workdocs;worklink;workmail;workmailmessageflow;workspaces"
+ elif [ "${module}" = "cloud-dev" ] ; then
+ mybuildtargets+=";cloud9;codeartifact;codebuild;codecommit;codedeploy;codeguruprofiler"
+ mybuildtargets+=";codeguru-reviewer;codepipeline;codestar;codestar-connections"
+ mybuildtargets+=";codestar-notifications;honeycode;xray"
+ if ! use "queues"; then
+ mybuildtargets+=";queues"
+ fi
+ elif [ "${module}" = "cloud-media" ] ; then
+ mybuildtargets+=";elastictranscoder;mediaconnect;mediaconvert;medialive;mediapackage"
+ mybuildtargets+=";mediapackage-vod;mediastore;mediastore-data;mediatailor"
+ elif [ "${module}" = "cloud-mobile" ] ; then
+ mybuildtargets+=";amplify;appsync;devicefarm;mobile;mobileanalytics;pinpoint"
+ mybuildtargets+=";pinpoint-email;sms-voice"
+ if ! use "sns"; then
+ mybuildtargets+=";sns"
+ fi
+ elif [ "${module}" = "cloudhsm" ] ; then
+ mybuildtargets+=";${module};cloudhsmv2"
+ elif [ "${module}" = "cloudsearch" ] ; then
+ mybuildtargets+=";${module};cloudsearchdomain"
+ elif [ "${module}" = "cloudwatch" ] ; then
+ mybuildtargets+=";application-insights;appmesh;auditmanager;cloudtrail;compute-optimizer"
+ mybuildtargets+=";detective;devops-guru;guardduty;health;inspector;logs;monitoring;synthetics"
+ elif [ "${module}" = "cognito" ] ; then
+ mybuildtargets+=";cognito-identity;cognito-idp;cognito-sync"
+ elif [ "${module}" = "dynamodb" ] ; then
+ mybuildtargets+=";${module};dax;dynamodbstreams"
+ elif [ "${module}" = "ec2" ] ; then
+ mybuildtargets+=";${module};autoscaling;autoscaling-plans;application-autoscaling"
+ mybuildtargets+=";ec2-instance-connect;elasticfilesystem;imagebuilder;savingsplans"
+ elif [ "${module}" = "ecr" ] ; then
+ mybuildtargets+=";${module};ecr-public"
+ elif [ "${module}" = "eks" ] ; then
+ mybuildtargets+=";${module};emr-containers"
+ elif [ "${module}" = "elasticloadbalancing" ] ; then
+ mybuildtargets+=";${module};elasticloadbalancingv2"
+ elif [ "${module}" = "email" ] ; then
+ mybuildtargets+=";${module};sesv2"
+ elif [ "${module}" = "events" ] ; then
+ mybuildtargets+=";${module};eventbridge"
+ elif [ "${module}" = "forecast" ] ; then
+ mybuildtargets+=";${module};forecastquery"
+ elif [ "${module}" = "iot" ] ; then
+ mybuildtargets+=";${module};greengrass;greengrassv2;iot1click-devices;iot1click-projects;iotanalytics"
+ mybuildtargets+=";iot-data;iotdeviceadvisor;iotevents;iotfleethub;iotevents-data;iot-jobs-data"
+ mybuildtargets+=";iotsecuretunneling;iotsitewise;iotthingsgraph;iotwireless"
+ elif [ "${module}" = "kinesis" ] ; then
+ mybuildtargets+=";${module};firehose;ivs;kinesisanalytics;kinesisanalyticsv2"
+ mybuildtargets+=";kinesisvideo;kinesis-video-archived-media;kinesis-video-media"
+ mybuildtargets+=";kinesis-video-signaling"
+ elif [ "${module}" = "lex" ] ; then
+ mybuildtargets+=";${module};lex-models;lexv2-models;lexv2-runtime"
+ elif [ "${module}" = "macie" ] ; then
+ mybuildtargets+=";${module};macie2"
+ elif [ "${module}" = "marketplace" ] ; then
+ mybuildtargets+=";marketplacecommerceanalytics;marketplace-catalog"
+ mybuildtargets+=";marketplace-entitlement;meteringmarketplace;pricing"
+ mybuildtargets+=";servicecatalog-appregistry"
+ elif [ "${module}" = "opsworks" ] ; then
+ mybuildtargets+=";${module};opsworkscm"
+ elif [ "${module}" = "other" ] ; then
+ mybuildtargets+=";AWSMigrationHub;alexaforbusiness;appflow;appintegrations;braket;clouddirectory"
+ mybuildtargets+=";comprehend;comprehendmedical;connect;connect-contact-lens"
+ mybuildtargets+=";connectparticipant;customer-profiles;datapipeline;databrew;datasync"
+ mybuildtargets+=";directconnect;discovery;dms;docdb;ds;dynamodb;gamelift;glue"
+ mybuildtargets+=";groundstation;healthlake;importexport;kafka;lakeformation"
+ mybuildtargets+=";migrationhub-config;mq;mturk-requester;neptune;quicksight;redshift"
+ mybuildtargets+=";robomaker;sdb;schemas;service-quotas;servicecatalog;servicediscovery"
+ mybuildtargets+=";signer;sms;snowball;ssm;states;storagegateway;support;swf"
+ elif [ "${module}" = "outposts" ] ; then
+ mybuildtargets+=";${module};s3outposts"
+ elif [ "${module}" = "personalize" ] ; then
+ mybuildtargets+=";${module};personalize-events;personalize-runtime"
+ elif [ "${module}" = "polly" ] ; then
+ mybuildtargets+=";${module};text-to-speech"
+ elif [ "${module}" = "qldb" ] ; then
+ mybuildtargets+=";${module};qldb-session"
+ elif [ "${module}" = "rds" ] ; then
+ mybuildtargets+=";${module};pi;rds-data"
+ elif [ "${module}" = "resource-groups" ] ; then
+ mybuildtargets+=";${module};resourcegroupstaggingapi"
+ elif [ "${module}" = "route53" ] ; then
+ mybuildtargets+=";${module};route53domains;route53resolver"
+ elif [ "${module}" = "s3" ] ; then
+ mybuildtargets+=";${module};athena;awstransfer;glacier;s3-encryption;s3control;transfer"
+ elif [ "${module}" = "sagemaker" ] ; then
+ mybuildtargets+=";${module};sagemaker-a2i-runtime;sagemaker-edge"
+ mybuildtargets+=";sagemaker-featurestore-runtime;sagemaker-runtime"
+ elif [ "${module}" = "timestream" ] ; then
+ mybuildtargets+=";timestream-query;timestream-write"
+ elif [ "${module}" = "transcribe" ] ; then
+ mybuildtargets+=";${module};transcribestreaming"
+ elif [ "${module}" = "waf" ] ; then
+ mybuildtargets+=";${module};fms;network-firewall;waf-regional;wafv2"
+ else
+ mybuildtargets+=";${module}"
+ fi
+ fi
+ done
+
+ local mycmakeargs=(
+ -DAUTORUN_UNIT_TESTS=$(usex test)
+ -DBUILD_DEPS=NO
+ -DBUILD_ONLY="${mybuildtargets}"
+ -DBUILD_SHARED_LIBS=$(usex !static-libs)
+ -DCPP_STANDARD=17
+ -DENABLE_RTTI=$(usex rtti)
+ -DENABLE_TESTING=$(usex test)
+ -DENABLE_UNITY_BUILD=$(usex unity-build)
+ -DNO_ENCRYPTION=$(usex !ssl)
+ -DNO_HTTP_CLIENT=$(usex !http)
+ )
+
+ 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_HTTP_CLIENT_TESTING=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
diff --git a/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch
new file mode 100644
index 000000000000..8bf926148e52
--- /dev/null
+++ b/dev-libs/aws-sdk-cpp/files/aws-sdk-cpp-1.8.160-disable_http_testing.patch
@@ -0,0 +1,17 @@
+--- a/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:01.193340560 +0100
++++ b/aws-cpp-sdk-core-tests/http/HttpClientTest.cpp 2021-03-14 12:52:42.684342951 +0100
+@@ -18,7 +18,7 @@
+ using namespace Aws::Utils;
+ using namespace Aws::Client;
+
+-#ifndef NO_HTTP_CLIENT
++#if !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING
+ static void makeRandomHttpRequest(std::shared_ptr<HttpClient> httpClient)
+ {
+ auto request = CreateHttpRequest(Aws::String("http://some.unknown1234xxx.test.aws"),
+@@ -319,4 +319,4 @@
+ }
+ #endif // ENABLE_CURL_CLIENT
+ #endif // ENABLE_HTTP_CLIENT_TESTING
+-#endif // NO_HTTP_CLIENT
++#endif // !defined(NO_HTTP_CLIENT) && ENABLE_HTTP_CLIENT_TESTING
diff --git a/dev-libs/aws-sdk-cpp/metadata.xml b/dev-libs/aws-sdk-cpp/metadata.xml
index 08001e16fd87..f8f498c7fc37 100644
--- a/dev-libs/aws-sdk-cpp/metadata.xml
+++ b/dev-libs/aws-sdk-cpp/metadata.xml
@@ -22,7 +22,7 @@
via GitHub Issues.
</longdescription>
<use>
- <flag name="http">Enable http support via curl</flag>
+ <flag name="http">Enable http support via net-misc/curl</flag>
<flag name="rtti">Flag to enable/disable rtti within the library</flag>
<flag name="unity-build">
Build using a single unified .cpp file for each service library.
@@ -266,7 +266,7 @@
(such as sensors, actuators, embedded devices, or smart appliances) and the AWS Cloud
over MQTT and HTTP.
greengrass : Extends AWS onto physical devices so they can act locally on the data they
- generate.
+ generate. Installed are both Version 1 and Version 2.
iot1click : A service for simple devices to trigger AWS Lambda functions that execute a
specific action.
iotanalytics : Provides advanced data analysis for AWS IoT.
@@ -276,8 +276,8 @@
iotthingsgraph: Integrated set of tools that enable developers to build IoT applications using
devices and services that use different data representation standards and communication
protocols.
- Also enables iot1click-devices, iot1click-projects, iot-data, iotevents-data, iot-jobs-data and
- iotsecuretunneling.
+ Also enables iot1click-devices, iot1click-projects, iotdeviceadvisor, iot-data, iotevents-data, iotfleethub,
+ iot-jobs-data, iotsecuretunneling and iotwireless.
</flag>
<flag name="kendra">
Amazon Kendra is a search service, powered by machine learning, that enables users to search
@@ -301,7 +301,7 @@
</flag>
<flag name="lex">
Amazon Lex is an AWS service for building conversational interfaces into applications using
- voice and text.
+ voice and text. Installed are both Version1 and Version 2.
Also enables lex-models.
</flag>
<flag name="lambda">AWS Lambda: Run code without provisioning or managing servers.</flag>
@@ -362,7 +362,7 @@
you would like to have any of the following modules to have their own USE flag, please open a
bug report and it will most probably get one.
The modules are:
- AWSMigrationHub, alexaforbusiness, appflow, braket, clouddirectory, comprehend,
+ AWSMigrationHub, alexaforbusiness, appflow, appintegrations, braket, clouddirectory, comprehend,
comprehendmedical, connect, connect-contact-lens, customer-profiles, datapipeline, databrew,
datasync, directconnect, discovery, dms, docdb, ds, dynamodb, gamelift, glue, groundstation,
healthlake, importexport, kafka, lakeformation, migrationhub-config, mq, mturk-requester,
@@ -470,5 +470,10 @@
the requests.
Also enables fms, network-firewall, waf-regional and wafv2
</flag>
+ <flag name="wellarchitected">
+ Use the AWS Well-Architected Tool to review your workloads against current AWS architectural best practices.
+ The AWS Well-Architected Tool measures the workload and provides recommendations on how to improve your
+ architecture.
+ </flag>
</use>
</pkgmetadata>