Date: Thursday, April 6, 2023 @ 02:33:43
  Author: felixonmars
Revision: 1438109

archrelease: copy trunk to community-staging-any

Added:
  python-boto3/repos/community-staging-any/
  python-boto3/repos/community-staging-any/PKGBUILD
    (from rev 1438104, python-boto3/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: python-boto3/repos/community-staging-any/PKGBUILD (from rev 1438104, 
python-boto3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 02:33:43 UTC (rev 1438109)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Felix Yan <[email protected]>
+
+pkgname=python-boto3
+# UPDATE_BLOCKED: blocked as python-botocore is blocked
+pkgver=1.26.89
+pkgrel=2
+pkgdesc='The AWS SDK for Python'
+arch=('any')
+license=('Apache')
+url='https://github.com/boto/boto3'
+depends=('python' 'python-botocore' 'python-jmespath' 'python-s3transfer')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-xdist')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/boto/boto3/archive/$pkgver.tar.gz";)
+sha512sums=('02ee02b05023e9184f779ab8ff21afa6f7e56f7d2e883d021b2567676c5fc57cad6b475d55316a2017c2a837c41d2f5604824f440060e2f96804c5a61ccdd143')
+
+build() {
+  cd boto3-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd boto3-$pkgver
+  # Many integration tests need real credentials
+  pytest tests -n auto --ignore=tests/integration
+}
+
+package() {
+  cd boto3-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to