Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: aws-cli-v2-2.8.3
@ 2022-10-19 13:46 wiktorciurej
  2022-10-19 15:44 ` [PR PATCH] [Updated] " wiktorciurej
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: wiktorciurej @ 2022-10-19 13:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]

There is a new pull request by wiktorciurej against master on the void-packages repository

https://github.com/wiktorciurej/void-packages new_package/aws-cli-v2
https://github.com/void-linux/void-packages/pull/40041

New package: aws-cli-v2-2.8.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package/aws-cli-v2-40041.patch --]
[-- Type: text/x-diff, Size: 2354 bytes --]

From 279ea1d488d8780f567dadd9c8944cf1ebd6e20f Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Tue, 18 Oct 2022 20:22:28 +0200
Subject: [PATCH] New package: aws-cli-v2-2.8.3

---
 srcpkgs/aws-cli-v2/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/aws-cli-v2/template

diff --git a/srcpkgs/aws-cli-v2/template b/srcpkgs/aws-cli-v2/template
new file mode 100644
index 000000000000..e3c590e0a9e9
--- /dev/null
+++ b/srcpkgs/aws-cli-v2/template
@@ -0,0 +1,37 @@
+# Template file for 'aws-cli-v2'
+pkgname=aws-cli-v2
+version=2.8.3
+revision=1
+wrksrc="aws-cli-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-dateutil python3-distro python3-docutils python3-flit_core python3-jmespath
+	python3-prompt_toolkit python3-ruamel.yaml python3-urllib3 python3-wcwidth"
+depends="python3 python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-distro python3-docutils python3-jmespath python3-prompt_toolkit
+	python3-ruamel.yaml python3-urllib3"
+checkdepends="$depends python3-jsonschema python3-mock python3-pytest python3-pytest-cov"
+short_desc="Universal Command Line Interface for Amazon Web Services v2"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aws/aws-cli"
+distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz"
+checksum=d96d176262b65f03eab6ef9728ff79e9a30a082aa51285ee012ab58cefb39d55
+conflicts="aws-cli"
+
+do_check() {
+	# integration tests want aws credentials, have some other issues not worth fixing
+	PATH=$PWD/bin:$PATH PYTHONPATH=$PWD python3 -m pytest tests/unit tests/functional --ignore=tests/functional/autoprompt/ --ignore=tests/unit/customizations/wizard/
+}
+
+do_install() {
+	TMPDIR="${PWD}/build" python3 -m pip install --use-pep517 --prefix /usr --root ${DESTDIR} --no-deps --no-build-isolation --no-clean awscli-${version}-py3-none-any.whl
+}
+
+post_install() {
+	vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws
+	vinstall bin/aws_zsh_completer.sh 644 usr/share/zsh/site-functions _aws
+	rm "${DESTDIR}/usr/bin/aws_bash_completer"
+	rm "${DESTDIR}/usr/bin/aws_zsh_completer.sh"
+	rm "${DESTDIR}/usr/bin/aws.cmd"
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: aws-cli-v2-2.8.3
  2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
@ 2022-10-19 15:44 ` wiktorciurej
  2022-10-21 13:23 ` wiktorciurej
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wiktorciurej @ 2022-10-19 15:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

There is an updated pull request by wiktorciurej against master on the void-packages repository

https://github.com/wiktorciurej/void-packages new_package/aws-cli-v2
https://github.com/void-linux/void-packages/pull/40041

New package: aws-cli-v2-2.8.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package/aws-cli-v2-40041.patch --]
[-- Type: text/x-diff, Size: 8627 bytes --]

From 1431869538482a93aee01659c2942b2e1a3a511f Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Tue, 18 Oct 2022 20:21:55 +0200
Subject: [PATCH 1/2] New package: python3-awscrt-0.14.7

---
 srcpkgs/python3-awscrt/template | 95 +++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)
 create mode 100644 srcpkgs/python3-awscrt/template

diff --git a/srcpkgs/python3-awscrt/template b/srcpkgs/python3-awscrt/template
new file mode 100644
index 000000000000..b1c4393f982d
--- /dev/null
+++ b/srcpkgs/python3-awscrt/template
@@ -0,0 +1,95 @@
+# Template file for 'python3-awscrt'
+pkgname=python3-awscrt
+version=0.14.7
+revision=1
+wrksrc="aws-crt-python-${version}"
+build_style=python3-module
+hostmakedepends="cmake libunwind-devel pkgconf python3-devel python3-setuptools tar"
+depends="libunwind python3"
+checkdepends="$depends python3-pytest python3-pytest-cov"
+short_desc="Python bindings for the AWS Common Runtime. (Python 3)"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/awslabs/aws-crt-python"
+distfiles="https://github.com/awslabs/aws-crt-python/archive/v${version}.tar.gz"
+checksum="e608c46542e1076d00a7270657ddeea726893cb02f38f3c544c2f18643e0ca83"
+
+_c_auth_ver=0.6.17
+_c_cal_ver=0.5.20
+_c_common_ver=0.8.3
+_c_compression_ver=0.2.15
+_c_event_stream_ver=0.2.15
+_c_http_ver=0.6.22
+_c_io_ver=0.13.5
+_c_mqtt_ver=0.7.12
+_c_s3_ver=0.1.49
+_c_sdkutils_ver=0.1.3
+_checksums_ver=0.1.13
+_lc_ver=1.3.0
+_s2n_ver=1.3.24
+distfiles+="
+	https://github.com/awslabs/aws-c-auth/archive/v${_c_auth_ver}.tar.gz>aws-c-auth-${_c_auth_ver}.tar.gz
+	https://github.com/awslabs/aws-c-cal/archive/v${_c_cal_ver}.tar.gz>aws-c-cal-${_c_cal_ver}.tar.gz
+	https://github.com/awslabs/aws-c-common/archive/v${_c_common_ver}.tar.gz>aws-c-common-${_c_common_ver}.tar.gz
+	https://github.com/awslabs/aws-c-compression/archive/v${_c_compression_ver}.tar.gz>aws-c-compression-${_c_compression_ver}.tar.gz
+	https://github.com/awslabs/aws-c-event-stream/archive/v${_c_event_stream_ver}.tar.gz>aws-c-event-stream-${_c_event_stream_ver}.tar.gz
+	https://github.com/awslabs/aws-c-http/archive/v${_c_http_ver}.tar.gz>aws-c-http-${_c_http_ver}.tar.gz
+	https://github.com/awslabs/aws-c-io/archive/v${_c_io_ver}.tar.gz>aws-c-io-${_c_io_ver}.tar.gz
+	https://github.com/awslabs/aws-c-mqtt/archive/v${_c_mqtt_ver}.tar.gz>aws-c-mqtt-${_c_mqtt_ver}.tar.gz
+	https://github.com/awslabs/aws-c-s3/archive/v${_c_s3_ver}.tar.gz>aws-c-s3-${_c_s3_ver}.tar.gz
+	https://github.com/awslabs/aws-c-sdkutils/archive/v${_c_sdkutils_ver}.tar.gz>aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz
+	https://github.com/awslabs/aws-checksums/archive/v${_checksums_ver}.tar.gz>aws-checksums-${_checksums_ver}.tar.gz
+	https://github.com/awslabs/aws-lc/archive/v${_lc_ver}.tar.gz>aws-lc-${_lc_ver}.tar.gz
+	https://github.com/awslabs/s2n/archive/v${_s2n_ver}.tar.gz>s2n-tls-${_s2n_ver}.tar.gz"
+checksum+="
+	b43678ad3a779c9c7fccf8f931c162eaaf4d5d64d2955ac1fcfd32e538545c0f
+	acc352359bd06f8597415c366cf4ec4f00d0b0da92d637039a73323dd55b6cd0
+	5af2b7036a0c4ff5ca4e2f3b53ac7c4c3d2c3690890466efa92bf557cb00fe99
+	11d58a229e2961b2b36493155a981dea2c8a0bc0d113b0073deb8c3189cfa04e
+	4ff2ada07ede3c6afa4b8e6e20de541e717038307f29b38c27efa7c4d875ee26
+	a178fd04bd1618469cd21afc5b84cbe436d1f9d9e036fefbd3a8f00356da4d4c
+	8f3ff7a01cfedbbea8c00e5f7f6444fd340fac781d115ddf84fbd952639ab22c
+	cf80f1b4f37aa8a6b8698315fae32cbf2bd944b67784f07b5762f392f18e64df
+	71acbba41a02477a6c352172da561bc2138bf239b936490c773d7aaa83afc9ab
+	13d99c0877424a8fad40f312762968012dd54ec60a4438fb601ee65ff8b2484b
+	0f897686f1963253c5069a0e495b85c31635ba146cd3ac38cc2ea31eaf54694d
+	ae96a3567161552744fc0cae8b4d68ed88b1ec0f3d3c98700070115356da5a37
+	df6d2642e7b491f56110527bd73686d94ed3b186ff78d24e525cc0c3dd0d6b4b"
+skip_extraction="aws-c-auth-${_c_auth_ver}.tar.gz
+	aws-c-cal-${_c_cal_ver}.tar.gz
+	aws-c-common-${_c_common_ver}.tar.gz
+	aws-c-compression-${_c_compression_ver}.tar.gz
+	aws-c-event-stream-${_c_event_stream_ver}.tar.gz
+	aws-c-http-${_c_http_ver}.tar.gz
+	aws-c-io-${_c_io_ver}.tar.gz
+	aws-c-mqtt-${_c_mqtt_ver}.tar.gz
+	aws-c-s3-${_c_s3_ver}.tar.gz
+	aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz
+	aws-checksums-${_checksums_ver}.tar.gz
+	aws-lc-${_lc_ver}.tar.gz
+	s2n-tls-${_s2n_ver}.tar.gz"
+
+post_extract() {
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-auth-${_c_auth_ver}.tar.gz --strip-components=1 -C crt/aws-c-auth
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-cal-${_c_cal_ver}.tar.gz --strip-components=1 -C crt/aws-c-cal
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-common-${_c_common_ver}.tar.gz --strip-components=1 -C crt/aws-c-common
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-compression-${_c_compression_ver}.tar.gz --strip-components=1 -C crt/aws-c-compression
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-event-stream-${_c_event_stream_ver}.tar.gz --strip-components=1 -C crt/aws-c-event-stream
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-http-${_c_http_ver}.tar.gz --strip-components=1 -C crt/aws-c-http
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-io-${_c_io_ver}.tar.gz --strip-components=1 -C crt/aws-c-io
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-mqtt-${_c_mqtt_ver}.tar.gz --strip-components=1 -C crt/aws-c-mqtt
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-s3-${_c_s3_ver}.tar.gz --strip-components=1 -C crt/aws-c-s3
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz --strip-components=1 -C crt/aws-c-sdkutils
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-checksums-${_checksums_ver}.tar.gz --strip-components=1 -C crt/aws-checksums
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-lc-${_lc_ver}.tar.gz --strip-components=1 -C crt/aws-lc
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/s2n-tls-${_s2n_ver}.tar.gz --strip-components=1 -C crt/s2n
+}
+
+do_check() {
+	# Ignore failing integration tests
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k 'not (test_delegate_provider_exception)' test/
+}
+
+do_build() {
+	CMAKE_SYSTEM_PROCESSOR=$XBPS_TARGET_MACHINE PYTHONPATH="$(cd build/lib* && pwd)" python3 setup.py build
+}

From f1a12c9cc1db902cb6aded87d1a88db118c3d901 Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Tue, 18 Oct 2022 20:22:28 +0200
Subject: [PATCH 2/2] New package: aws-cli-v2-2.8.3

---
 srcpkgs/aws-cli-v2/template | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/aws-cli-v2/template

diff --git a/srcpkgs/aws-cli-v2/template b/srcpkgs/aws-cli-v2/template
new file mode 100644
index 000000000000..e3c590e0a9e9
--- /dev/null
+++ b/srcpkgs/aws-cli-v2/template
@@ -0,0 +1,37 @@
+# Template file for 'aws-cli-v2'
+pkgname=aws-cli-v2
+version=2.8.3
+revision=1
+wrksrc="aws-cli-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-dateutil python3-distro python3-docutils python3-flit_core python3-jmespath
+	python3-prompt_toolkit python3-ruamel.yaml python3-urllib3 python3-wcwidth"
+depends="python3 python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-distro python3-docutils python3-jmespath python3-prompt_toolkit
+	python3-ruamel.yaml python3-urllib3"
+checkdepends="$depends python3-jsonschema python3-mock python3-pytest python3-pytest-cov"
+short_desc="Universal Command Line Interface for Amazon Web Services v2"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aws/aws-cli"
+distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz"
+checksum=d96d176262b65f03eab6ef9728ff79e9a30a082aa51285ee012ab58cefb39d55
+conflicts="aws-cli"
+
+do_check() {
+	# integration tests want aws credentials, have some other issues not worth fixing
+	PATH=$PWD/bin:$PATH PYTHONPATH=$PWD python3 -m pytest tests/unit tests/functional --ignore=tests/functional/autoprompt/ --ignore=tests/unit/customizations/wizard/
+}
+
+do_install() {
+	TMPDIR="${PWD}/build" python3 -m pip install --use-pep517 --prefix /usr --root ${DESTDIR} --no-deps --no-build-isolation --no-clean awscli-${version}-py3-none-any.whl
+}
+
+post_install() {
+	vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws
+	vinstall bin/aws_zsh_completer.sh 644 usr/share/zsh/site-functions _aws
+	rm "${DESTDIR}/usr/bin/aws_bash_completer"
+	rm "${DESTDIR}/usr/bin/aws_zsh_completer.sh"
+	rm "${DESTDIR}/usr/bin/aws.cmd"
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Updated] New package: aws-cli-v2-2.8.3
  2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
  2022-10-19 15:44 ` [PR PATCH] [Updated] " wiktorciurej
@ 2022-10-21 13:23 ` wiktorciurej
  2022-10-21 21:18 ` wiktorciurej
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: wiktorciurej @ 2022-10-21 13:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

There is an updated pull request by wiktorciurej against master on the void-packages repository

https://github.com/wiktorciurej/void-packages new_package/aws-cli-v2
https://github.com/void-linux/void-packages/pull/40041

New package: aws-cli-v2-2.8.3
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/40041.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package/aws-cli-v2-40041.patch --]
[-- Type: text/x-diff, Size: 8887 bytes --]

From 9fd3f170c6fc2d7d1d74dcd73d5dd9db5988ce6a Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Tue, 18 Oct 2022 20:21:55 +0200
Subject: [PATCH 1/2] New package: python3-awscrt-0.14.7

---
 srcpkgs/python3-awscrt/template | 96 +++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)
 create mode 100644 srcpkgs/python3-awscrt/template

diff --git a/srcpkgs/python3-awscrt/template b/srcpkgs/python3-awscrt/template
new file mode 100644
index 000000000000..4c6751490e73
--- /dev/null
+++ b/srcpkgs/python3-awscrt/template
@@ -0,0 +1,96 @@
+# Template file for 'python3-awscrt'
+pkgname=python3-awscrt
+version=0.14.7
+revision=1
+archs="i686 x86_64*"
+wrksrc="aws-crt-python-${version}"
+build_style=python3-module
+hostmakedepends="cmake libunwind-devel pkgconf python3-devel python3-setuptools tar"
+depends="libunwind python3"
+checkdepends="$depends python3-pytest python3-pytest-cov"
+short_desc="Python bindings for the AWS Common Runtime. (Python 3)"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/awslabs/aws-crt-python"
+distfiles="https://github.com/awslabs/aws-crt-python/archive/v${version}.tar.gz"
+checksum="e608c46542e1076d00a7270657ddeea726893cb02f38f3c544c2f18643e0ca83"
+
+_c_auth_ver=0.6.17
+_c_cal_ver=0.5.20
+_c_common_ver=0.8.3
+_c_compression_ver=0.2.15
+_c_event_stream_ver=0.2.15
+_c_http_ver=0.6.22
+_c_io_ver=0.13.5
+_c_mqtt_ver=0.7.12
+_c_s3_ver=0.1.49
+_c_sdkutils_ver=0.1.3
+_checksums_ver=0.1.13
+_lc_ver=1.3.0
+_s2n_ver=1.3.24
+distfiles+="
+	https://github.com/awslabs/aws-c-auth/archive/v${_c_auth_ver}.tar.gz>aws-c-auth-${_c_auth_ver}.tar.gz
+	https://github.com/awslabs/aws-c-cal/archive/v${_c_cal_ver}.tar.gz>aws-c-cal-${_c_cal_ver}.tar.gz
+	https://github.com/awslabs/aws-c-common/archive/v${_c_common_ver}.tar.gz>aws-c-common-${_c_common_ver}.tar.gz
+	https://github.com/awslabs/aws-c-compression/archive/v${_c_compression_ver}.tar.gz>aws-c-compression-${_c_compression_ver}.tar.gz
+	https://github.com/awslabs/aws-c-event-stream/archive/v${_c_event_stream_ver}.tar.gz>aws-c-event-stream-${_c_event_stream_ver}.tar.gz
+	https://github.com/awslabs/aws-c-http/archive/v${_c_http_ver}.tar.gz>aws-c-http-${_c_http_ver}.tar.gz
+	https://github.com/awslabs/aws-c-io/archive/v${_c_io_ver}.tar.gz>aws-c-io-${_c_io_ver}.tar.gz
+	https://github.com/awslabs/aws-c-mqtt/archive/v${_c_mqtt_ver}.tar.gz>aws-c-mqtt-${_c_mqtt_ver}.tar.gz
+	https://github.com/awslabs/aws-c-s3/archive/v${_c_s3_ver}.tar.gz>aws-c-s3-${_c_s3_ver}.tar.gz
+	https://github.com/awslabs/aws-c-sdkutils/archive/v${_c_sdkutils_ver}.tar.gz>aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz
+	https://github.com/awslabs/aws-checksums/archive/v${_checksums_ver}.tar.gz>aws-checksums-${_checksums_ver}.tar.gz
+	https://github.com/awslabs/aws-lc/archive/v${_lc_ver}.tar.gz>aws-lc-${_lc_ver}.tar.gz
+	https://github.com/awslabs/s2n/archive/v${_s2n_ver}.tar.gz>s2n-tls-${_s2n_ver}.tar.gz"
+checksum+="
+	b43678ad3a779c9c7fccf8f931c162eaaf4d5d64d2955ac1fcfd32e538545c0f
+	acc352359bd06f8597415c366cf4ec4f00d0b0da92d637039a73323dd55b6cd0
+	5af2b7036a0c4ff5ca4e2f3b53ac7c4c3d2c3690890466efa92bf557cb00fe99
+	11d58a229e2961b2b36493155a981dea2c8a0bc0d113b0073deb8c3189cfa04e
+	4ff2ada07ede3c6afa4b8e6e20de541e717038307f29b38c27efa7c4d875ee26
+	a178fd04bd1618469cd21afc5b84cbe436d1f9d9e036fefbd3a8f00356da4d4c
+	8f3ff7a01cfedbbea8c00e5f7f6444fd340fac781d115ddf84fbd952639ab22c
+	cf80f1b4f37aa8a6b8698315fae32cbf2bd944b67784f07b5762f392f18e64df
+	71acbba41a02477a6c352172da561bc2138bf239b936490c773d7aaa83afc9ab
+	13d99c0877424a8fad40f312762968012dd54ec60a4438fb601ee65ff8b2484b
+	0f897686f1963253c5069a0e495b85c31635ba146cd3ac38cc2ea31eaf54694d
+	ae96a3567161552744fc0cae8b4d68ed88b1ec0f3d3c98700070115356da5a37
+	df6d2642e7b491f56110527bd73686d94ed3b186ff78d24e525cc0c3dd0d6b4b"
+skip_extraction="aws-c-auth-${_c_auth_ver}.tar.gz
+	aws-c-cal-${_c_cal_ver}.tar.gz
+	aws-c-common-${_c_common_ver}.tar.gz
+	aws-c-compression-${_c_compression_ver}.tar.gz
+	aws-c-event-stream-${_c_event_stream_ver}.tar.gz
+	aws-c-http-${_c_http_ver}.tar.gz
+	aws-c-io-${_c_io_ver}.tar.gz
+	aws-c-mqtt-${_c_mqtt_ver}.tar.gz
+	aws-c-s3-${_c_s3_ver}.tar.gz
+	aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz
+	aws-checksums-${_checksums_ver}.tar.gz
+	aws-lc-${_lc_ver}.tar.gz
+	s2n-tls-${_s2n_ver}.tar.gz"
+
+post_extract() {
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-auth-${_c_auth_ver}.tar.gz --strip-components=1 -C crt/aws-c-auth
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-cal-${_c_cal_ver}.tar.gz --strip-components=1 -C crt/aws-c-cal
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-common-${_c_common_ver}.tar.gz --strip-components=1 -C crt/aws-c-common
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-compression-${_c_compression_ver}.tar.gz --strip-components=1 -C crt/aws-c-compression
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-event-stream-${_c_event_stream_ver}.tar.gz --strip-components=1 -C crt/aws-c-event-stream
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-http-${_c_http_ver}.tar.gz --strip-components=1 -C crt/aws-c-http
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-io-${_c_io_ver}.tar.gz --strip-components=1 -C crt/aws-c-io
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-mqtt-${_c_mqtt_ver}.tar.gz --strip-components=1 -C crt/aws-c-mqtt
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-s3-${_c_s3_ver}.tar.gz --strip-components=1 -C crt/aws-c-s3
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-c-sdkutils-${_c_sdkutils_ver}.tar.gz --strip-components=1 -C crt/aws-c-sdkutils
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-checksums-${_checksums_ver}.tar.gz --strip-components=1 -C crt/aws-checksums
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/aws-lc-${_lc_ver}.tar.gz --strip-components=1 -C crt/aws-lc
+	tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/s2n-tls-${_s2n_ver}.tar.gz --strip-components=1 -C crt/s2n
+}
+
+do_check() {
+	# Ignore failing integration tests
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k 'not (test_delegate_provider_exception)' test/
+}
+
+do_build() {
+	CMAKE_SYSTEM_PROCESSOR=$XBPS_TARGET_MACHINE PYTHONPATH="$(cd build/lib* && pwd)" python3 setup.py build
+}

From 89c324c9c2b40bce2101c7b4d5d705b15e89fbf8 Mon Sep 17 00:00:00 2001
From: Wiktor Ciurej <wiktor.ciurej@gmail.com>
Date: Tue, 18 Oct 2022 20:22:28 +0200
Subject: [PATCH 2/2] New package: aws-cli-v2-2.8.3

---
 srcpkgs/aws-cli-v2/template | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
 create mode 100644 srcpkgs/aws-cli-v2/template

diff --git a/srcpkgs/aws-cli-v2/template b/srcpkgs/aws-cli-v2/template
new file mode 100644
index 000000000000..ea2228882e0b
--- /dev/null
+++ b/srcpkgs/aws-cli-v2/template
@@ -0,0 +1,39 @@
+# Template file for 'aws-cli-v2'
+pkgname=aws-cli-v2
+version=2.8.3
+revision=1
+archs="i686 x86_64*"
+wrksrc="aws-cli-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-dateutil python3-distro python3-docutils python3-flit_core python3-jmespath
+	python3-prompt_toolkit python3-ruamel.yaml python3-urllib3 python3-wcwidth"
+depends="python3 python3-awscrt python3-colorama python3-cryptography python3-dateutil
+	python3-distro python3-docutils python3-jmespath python3-prompt_toolkit
+	python3-ruamel.yaml python3-urllib3"
+checkdepends="$depends python3-jsonschema python3-mock python3-pytest python3-pytest-cov"
+short_desc="Universal Command Line Interface for Amazon Web Services v2"
+maintainer="Wiktor Ciurej <wiktor.ciurej@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/aws/aws-cli"
+distfiles="https://github.com/aws/aws-cli/archive/${version}.tar.gz"
+checksum=d96d176262b65f03eab6ef9728ff79e9a30a082aa51285ee012ab58cefb39d55
+conflicts="aws-cli"
+
+do_check() {
+        # integration tests want aws credentials, have some other issues not worth fixing
+        # some unit/functional tests are failing too
+	PATH="${PWD}/bin:${PATH}" PYTHONPATH="${PWD}" python3 -m pytest tests/unit tests/functional --ignore=tests/functional/autoprompt/ --ignore=tests/functional/botocore/leak/test_resource_leaks.py --ignore=tests/functional/autocomplete/test_main.py --ignore=tests/unit/customizations/wizard/ -W ignore::DeprecationWarning
+}
+
+do_install() {
+	TMPDIR="${PWD}/build" python3 -m pip install --use-pep517 --prefix /usr --root ${DESTDIR} --no-deps --no-build-isolation --no-clean awscli-${version}-py3-none-any.whl
+}
+
+post_install() {
+	vinstall bin/aws_bash_completer 644 usr/share/bash-completion/completions aws
+	vinstall bin/aws_zsh_completer.sh 644 usr/share/zsh/site-functions _aws
+	rm "${DESTDIR}/usr/bin/aws_bash_completer"
+	rm "${DESTDIR}/usr/bin/aws_zsh_completer.sh"
+	rm "${DESTDIR}/usr/bin/aws.cmd"
+}

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: aws-cli-v2-2.8.3
  2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
  2022-10-19 15:44 ` [PR PATCH] [Updated] " wiktorciurej
  2022-10-21 13:23 ` wiktorciurej
@ 2022-10-21 21:18 ` wiktorciurej
  2023-01-20  2:01 ` github-actions
  2023-02-03  2:02 ` [PR PATCH] [Closed]: " github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: wiktorciurej @ 2022-10-21 21:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

New comment by wiktorciurej on void-packages repository

https://github.com/void-linux/void-packages/pull/40041#issuecomment-1287445198

Comment:
I fixed failing tests @classabbyamp I'm not sure why xlint is failing though.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: New package: aws-cli-v2-2.8.3
  2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
                   ` (2 preceding siblings ...)
  2022-10-21 21:18 ` wiktorciurej
@ 2023-01-20  2:01 ` github-actions
  2023-02-03  2:02 ` [PR PATCH] [Closed]: " github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2023-01-20  2:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/40041#issuecomment-1397834482

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PR PATCH] [Closed]: New package: aws-cli-v2-2.8.3
  2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
                   ` (3 preceding siblings ...)
  2023-01-20  2:01 ` github-actions
@ 2023-02-03  2:02 ` github-actions
  4 siblings, 0 replies; 6+ messages in thread
From: github-actions @ 2023-02-03  2:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]

There's a closed pull request on the void-packages repository

New package: aws-cli-v2-2.8.3
https://github.com/void-linux/void-packages/pull/40041

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-03  2:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 13:46 [PR PATCH] New package: aws-cli-v2-2.8.3 wiktorciurej
2022-10-19 15:44 ` [PR PATCH] [Updated] " wiktorciurej
2022-10-21 13:23 ` wiktorciurej
2022-10-21 21:18 ` wiktorciurej
2023-01-20  2:01 ` github-actions
2023-02-03  2:02 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).