Date: Friday, March 16, 2018 @ 05:16:28
  Author: svenstaro
Revision: 308754

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-03-16 05:16:23 UTC (rev 308753)
+++ PKGBUILD    2018-03-16 05:16:28 UTC (rev 308754)
@@ -1,30 +0,0 @@
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Chris Severance aur.severach AatT spamgourmet.com
-# Contributor: Ainola
-# Contributor: Chris Fordham
-
-pkgname=python-botocore
-pkgver=1.9.7
-pkgrel=1
-pkgdesc='A low-level interface to a growing number of Amazon Web Services'
-arch=('any')
-url="https://github.com/boto/botocore";
-license=('Apache')
-depends=('python-dateutil' 'python-jmespath' 'python-docutils')
-makedepends=('python-setuptools')
-source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
-md5sums=('d3c687dfabed11413c02669b63ff58b9')
-
-build() {
-  cd botocore-$pkgver
-
-  python setup.py build
-}
-
-package() {
-  cd botocore-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-botocore/repos/community-any/PKGBUILD (from rev 308753, 
python-botocore/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-03-16 05:16:28 UTC (rev 308754)
@@ -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.9.7
+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=('d3c687dfabed11413c02669b63ff58b9')
+
+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=('python-dateutil' 'python-jmespath' 'python-docutils')
+
+  cd "python2-botocore-$pkgver"
+
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Reply via email to