[arch-commits] Commit in python-softlayer/repos/community-any (3 files)

Felix Yan felixonmars at archlinux.org
Sat Sep 1 07:58:14 UTC 2018


    Date: Saturday, September 1, 2018 @ 07:58:14
  Author: felixonmars
Revision: 375914

archrelease: copy trunk to community-any

Added:
  python-softlayer/repos/community-any/PKGBUILD
    (from rev 375913, python-softlayer/trunk/PKGBUILD)
Deleted:
  python-softlayer/repos/community-any/PKGBUILD
  python-softlayer/repos/community-any/py37.patch

------------+
 PKGBUILD   |   75 ++++++++++++++++++++++++++---------------------------------
 py37.patch |   22 -----------------
 2 files changed, 34 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-01 07:58:00 UTC (rev 375913)
+++ PKGBUILD	2018-09-01 07:58:14 UTC (rev 375914)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-softlayer
-pkgver=5.5.1
-pkgrel=1
-pkgdesc="A library for SoftLayer's API"
-arch=('any')
-license=('MIT')
-url='https://github.com/softlayer/softlayer-python'
-depends=('python-six' 'python-ptable' 'python-click' 'python-requests' 'python-prompt_toolkit'
-         'python-pygments' 'python-urllib3')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest-runner' 'python-mock' 'python-testtools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz"
-        py37.patch)
-sha512sums=('63ba7de5e0cb2fb9d055f9b25caf33011c4c12efb2a7fa69eca911f43bc58874d13a6fa0b9188d9eb208dde01cecf5123bb989848adfa0154a6c41d52775a897'
-            '1174e16cc71eb314e9ce06ce52cad5449c963e6bf5c71e199cf8893ada4d2c7d0d2a01e8025a21e133980100dd513f9a955481400b62f80f13122e94ebd315f5')
-
-prepare() { 
-  cd softlayer-python-$pkgver
-  patch -p1 -i ../py37.patch
-}
-
-build() {
-  cd softlayer-python-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd softlayer-python-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd softlayer-python-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-softlayer/repos/community-any/PKGBUILD (from rev 375913, python-softlayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-01 07:58:14 UTC (rev 375914)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-softlayer
+pkgver=5.5.2
+pkgrel=1
+pkgdesc="A library for SoftLayer's API"
+arch=('any')
+license=('MIT')
+url='https://github.com/softlayer/softlayer-python'
+depends=('python-six' 'python-ptable' 'python-click' 'python-requests' 'python-prompt_toolkit'
+         'python-pygments' 'python-urllib3')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-mock' 'python-testtools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
+sha512sums=('0f49e7a78016a5f8b9d92eb8e6ba5d5ce69f9272001506adab5731a15587040b36139598ae4bfa6f6db6d6108f639487ccd4445cf2d7af00639a70a3f3f693cc')
+
+build() {
+  cd softlayer-python-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd softlayer-python-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd softlayer-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: py37.patch
===================================================================
--- py37.patch	2018-09-01 07:58:00 UTC (rev 375913)
+++ py37.patch	2018-09-01 07:58:14 UTC (rev 375914)
@@ -1,22 +0,0 @@
-diff --git a/SoftLayer/API.py b/SoftLayer/API.py
-index 3fbab72b..913752ce 100644
---- a/SoftLayer/API.py
-+++ b/SoftLayer/API.py
-@@ -298,7 +298,7 @@ class BaseClient(object):
-                     results = transports.SoftLayerListResult(results, len(results))
-                 else:
-                     yield results
--                    raise StopIteration
-+                    return
- 
-             for item in results:
-                 yield item
-@@ -313,7 +313,7 @@ class BaseClient(object):
- 
-             offset += limit
- 
--        raise StopIteration
-+        return
- 
-     def __repr__(self):
-         return "Client(transport=%r, auth=%r)" % (self.transport, self.auth)



More information about the arch-commits mailing list