[arch-commits] Commit in python-boto3/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 05:32:32 UTC 2019
Date: Saturday, October 26, 2019 @ 05:32:32
Author: foutrelis
Revision: 520114
archrelease: copy trunk to community-staging-any
Added:
python-boto3/repos/community-staging-any/
python-boto3/repos/community-staging-any/PKGBUILD
(from rev 520113, python-boto3/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: python-boto3/repos/community-staging-any/PKGBUILD (from rev 520113, python-boto3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 05:32:32 UTC (rev 520114)
@@ -0,0 +1,45 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-boto3
+pkgname=('python-boto3' 'python2-boto3')
+pkgver=1.9.253
+pkgrel=2
+pkgdesc='The AWS SDK for Python'
+arch=('any')
+license=('Apache')
+url='https://github.com/boto/boto3'
+makedepends=('python-setuptools' 'python2-setuptools')
+# checkdepends=('python-coverage' 'python-nose' 'python-mock')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/boto/boto3/archive/$pkgver.tar.gz")
+sha512sums=('53ff48023f4f11091ea51b999853d6d75274f3b7eb04367e1cf376c5226ac2326bcd2e7cd936e8d2c1cf5acbe8c7c26ab318b971c87ce33662ce23283f4593f3')
+
+prepare() {
+ cp -r "boto3-$pkgver" "python-boto3-$pkgver"
+ cp -r "boto3-$pkgver" "python2-boto3-$pkgver"
+}
+
+build() {
+ cd "$srcdir/python-boto3-$pkgver"
+ python setup.py build
+
+ cd "$srcdir/python2-boto3-$pkgver"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/boto3-$pkgver
+ # scripts/ci/run-tests
+}
+
+package_python-boto3() {
+ depends=('python-botocore' 'python-jmespath' 'python-s3transfer')
+ cd "$srcdir/python-boto3-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-boto3() {
+ depends=('python2-botocore' 'python2-jmespath' 'python2-s3transfer')
+ cd "$srcdir/python2-boto3-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list