Date: Wednesday, April 5, 2023 @ 19:27:47
  Author: felixonmars
Revision: 1437969

archrelease: copy trunk to community-staging-any

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

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

Copied: python-s3transfer/repos/community-staging-any/PKGBUILD (from rev 
1437968, python-s3transfer/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-05 19:27:47 UTC (rev 1437969)
@@ -0,0 +1,36 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Chris Severance aur.severach AatT spamgourmet.com
+
+pkgname=python-s3transfer
+pkgver=0.6.0
+pkgrel=5
+pkgdesc='Amazon S3 Transfer Manager for Python'
+arch=('any')
+url="https://github.com/boto/s3transfer";
+license=('Apache')
+depends=('python' 'python-botocore')
+makedepends=('python-setuptools' 'python-awscrt')
+checkdepends=('python-pytest')
+optdepends=(
+  'python-awscrt'
+)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=('e8a9e379a537afd3754d1d5ecc25e4391d61bf77acdf055e12324daa1120f16f')
+
+build() {
+  cd s3transfer-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd s3transfer-$pkgver
+  # Many integration tests need real credentials
+  pytest tests --ignore=tests/integration
+}
+
+package() {
+  cd s3transfer-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to