[arch-commits] Commit in python-botocore/repos (2 files)

Felix Yan felixonmars at archlinux.org
Sun Jul 8 13:00:52 UTC 2018


    Date: Sunday, July 8, 2018 @ 13:00:51
  Author: felixonmars
Revision: 354870

archrelease: copy trunk to community-staging-any

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

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

Copied: python-botocore/repos/community-staging-any/PKGBUILD (from rev 354869, python-botocore/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-08 13:00:51 UTC (rev 354870)
@@ -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.10.50
+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=('a5503ae30fd3b8356d34f126ef9935cb')
+
+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')
+
+  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')
+
+  cd "python2-botocore-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list