From: wiktorciurej <wiktorciurej@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: python3-awscrt-0.14.7
Date: Wed, 19 Oct 2022 15:45:44 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40040@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
There is a new pull request by wiktorciurej against master on the void-packages repository
https://github.com/wiktorciurej/void-packages new_package/python3-awscrt
https://github.com/void-linux/void-packages/pull/40040
New package: python3-awscrt-0.14.7
<!-- 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**
- This package is required for aws-cli-v2
<!-- 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/40040.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new_package/python3-awscrt-40040.patch --]
[-- Type: text/x-diff, Size: 6139 bytes --]
From 19c086a6cc1d478387acf26443f38308718bcc17 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] New package: python3-awscrt-0.14.7
---
srcpkgs/python3-awscrt/template | 91 +++++++++++++++++++++++++++++++++
1 file changed, 91 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..44b5e52b8cfa
--- /dev/null
+++ b/srcpkgs/python3-awscrt/template
@@ -0,0 +1,91 @@
+# 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/
+}
next reply other threads:[~2022-10-19 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-19 13:45 wiktorciurej [this message]
2022-10-19 15:15 ` classabbyamp
2022-10-19 15:31 ` [PR PATCH] [Updated] " wiktorciurej
2022-10-19 15:37 ` wiktorciurej
2022-10-19 15:51 ` classabbyamp
2022-10-19 15:52 ` [PR PATCH] [Closed]: " classabbyamp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40040@inbox.vuxu.org \
--to=wiktorciurej@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).