Date: Thursday, November 8, 2018 @ 09:01:40 Author: jsteel Revision: 403221
archrelease: copy trunk to community-any Added: python-boto3/repos/community-any/PKGBUILD (from rev 403220, python-boto3/trunk/PKGBUILD) Deleted: python-boto3/repos/community-any/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-11-08 09:01:33 UTC (rev 403220) +++ PKGBUILD 2018-11-08 09:01:40 UTC (rev 403221) @@ -1,45 +0,0 @@ -# Maintainer: Jonathan Steel <jsteel at archlinux.org> -# Contributor: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-boto3 -pkgname=('python-boto3' 'python2-boto3') -pkgver=1.9.36 -pkgrel=1 -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=('086302706ed55af3b5ca654b378a2d772352f6d3eeecbe15e386ec2a99bbe8c0b37d8305bf4ba9fbf2de2061ad207b1adc876d98049451fb13862a6ba827c4de') - -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 -} Copied: python-boto3/repos/community-any/PKGBUILD (from rev 403220, python-boto3/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-11-08 09:01:40 UTC (rev 403221) @@ -0,0 +1,45 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-boto3 +pkgname=('python-boto3' 'python2-boto3') +pkgver=1.9.40 +pkgrel=1 +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=('58bb4423849bcbdcb97a74cf607a67eb4fa52073e7b231bfb09e122827a3eb795b9351ac3c5c775e58fbee247c8412b2ec62468447d996c2dda9a9ea9293c446') + +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 +}