[arch-commits] Commit in python-boto/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Dec 15 08:40:03 UTC 2016


    Date: Thursday, December 15, 2016 @ 08:40:02
  Author: felixonmars
Revision: 199451

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-15 08:39:48 UTC (rev 199450)
+++ PKGBUILD	2016-12-15 08:40:02 UTC (rev 199451)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Aaron Schaefer <aaron at elasticdog.com>
-
-pkgbase=python-boto
-pkgname=(python-boto python2-boto)
-pkgver=2.44.0
-pkgrel=1
-pkgdesc='A Python interface to Amazon Web Services (AWS)'
-arch=('any')
-url='https://github.com/boto/boto'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-requests'
-              'python2-requests' 'python-httpretty' 'python2-httpretty')
-source=("git+https://github.com/boto/boto.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
-  cp -a boto{,-py2}
-
-  cd boto-py2
-  # python2 fix
-  find . -name '*.py' -type f -print0 | xargs -0 \
-    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_'
-}
-
-check() {
-  cd boto
-  # Known failure on test_correct_low_level_api_calls: https://bugs.python.org/issue25195
-  python tests/test.py default || warning 'Tests failed'
-
-  cd ../boto-py2
-  python2 tests/test.py default
-}
-
-package_python-boto() {
-  depends=('python')
-
-  cd boto
-
-  python setup.py install -O1 --root="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
-  # Remove (somewhat deprecated) tools that conflicts with the python 2 version.
-  rm -r "$pkgdir/usr/bin"
-}
-
-package_python2-boto() {
-  depends=('python2')
-  conflicts=('python-boto<2.32.1-1')
-  replaces=('python-boto<2.32.1-1')
-
-  cd boto-py2
-
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-boto/repos/community-any/PKGBUILD (from rev 199450, python-boto/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-12-15 08:40:02 UTC (rev 199451)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Aaron Schaefer <aaron at elasticdog.com>
+
+pkgbase=python-boto
+pkgname=(python-boto python2-boto)
+pkgver=2.45.0
+pkgrel=1
+pkgdesc='A Python interface to Amazon Web Services (AWS)'
+arch=('any')
+url='https://github.com/boto/boto'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-requests'
+              'python2-requests' 'python-httpretty' 'python2-httpretty')
+source=("git+https://github.com/boto/boto.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a boto{,-py2}
+
+  cd boto-py2
+  # python2 fix
+  find . -name '*.py' -type f -print0 | xargs -0 \
+    sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_'
+}
+
+check() {
+  cd boto
+  # Known failure on test_correct_low_level_api_calls: https://bugs.python.org/issue25195
+  python tests/test.py default || warning 'Tests failed'
+
+  cd ../boto-py2
+  python2 tests/test.py default
+}
+
+package_python-boto() {
+  depends=('python')
+
+  cd boto
+
+  python setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove (somewhat deprecated) tools that conflicts with the python 2 version.
+  rm -r "$pkgdir/usr/bin"
+}
+
+package_python2-boto() {
+  depends=('python2')
+  conflicts=('python-boto<2.32.1-1')
+  replaces=('python-boto<2.32.1-1')
+
+  cd boto-py2
+
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list