Date: Saturday, October 26, 2019 @ 04:06:44 Author: foutrelis Revision: 519898
archrelease: copy trunk to community-staging-any Added: python-botocore/repos/community-staging-any/ python-botocore/repos/community-staging-any/PKGBUILD (from rev 519897, python-botocore/trunk/PKGBUILD) ----------+ PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) Copied: python-botocore/repos/community-staging-any/PKGBUILD (from rev 519897, python-botocore/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2019-10-26 04:06:44 UTC (rev 519898) @@ -0,0 +1,51 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Chris Severance aur.severach AatT spamgourmet.com +# Contributor: Ainola +# Contributor: Chris Fordham + +pkgbase=python-botocore +pkgname=('python-botocore' 'python2-botocore') +pkgver=1.12.253 +pkgrel=2 +pkgdesc='A low-level interface to a growing number of Amazon Web Services' +arch=('any') +url="https://github.com/boto/botocore" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools') +source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz) +md5sums=('d8a2191b7d698abfa215d5c5848d7be7') + +prepare() { + cp -r "botocore-$pkgver" "python-botocore-$pkgver" + cp -r "botocore-$pkgver" "python2-botocore-$pkgver" +} + +build_python-botocore() { + cd "python-botocore-$pkgver" + + python setup.py build +} + +build_python2-botocore() { + cd "python2-botocore-$pkgver" + + python2 setup.py build +} + +package_python-botocore() { + depends=('python-dateutil' 'python-jmespath' 'python-docutils' 'python-urllib3') + + cd "python-botocore-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-botocore() { + depends=('python2-dateutil' 'python2-jmespath' 'python2-docutils' 'python2-urllib3') + + cd "python2-botocore-$pkgver" + + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}