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

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).