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

Felix Yan felixonmars at archlinux.org
Tue Dec 19 03:44:43 UTC 2017


    Date: Tuesday, December 19, 2017 @ 03:44:42
  Author: felixonmars
Revision: 274830

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  122 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-19 03:44:28 UTC (rev 274829)
+++ PKGBUILD	2017-12-19 03:44:42 UTC (rev 274830)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-softlayer
-pkgname=('python-softlayer' 'python2-softlayer')
-pkgver=5.3.1
-pkgrel=1
-pkgdesc="A library for SoftLayer's API"
-arch=('any')
-license=('MIT')
-url='https://github.com/softlayer/softlayer-python'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-prettytable' 'python2-prettytable'
-             'python-click' 'python2-click' 'python-requests' 'python2-requests'
-             'python-prompt_toolkit' 'python2-prompt_toolkit' 'python-pygments' 'python2-pygments')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
-              'python-testtools' 'python2-testtools')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
-sha512sums=('66b379f236f6f7fef04fba017786ba1e766ea58b98408fbcd83ba0cddd6bbcba60bfb3b38e46d2505d81e65f67f751afa7a2df1c87f1cd8b4edd8db9381d21f8')
-
-prepare() {
-  cp -a softlayer-python-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/softlayer-python-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/softlayer-python-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/softlayer-python-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/softlayer-python-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-softlayer() {
-  depends=('python-setuptools' 'python-prettytable' 'python-click' 'python-requests'
-           'python-prompt_toolkit' 'python-pygments')
-
-  cd softlayer-python-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-softlayer() {
-  depends=('python2-setuptools' 'python2-prettytable' 'python2-click' 'python2-requests'
-           'python2-prompt_toolkit' 'python2-pygments')
-
-  cd softlayer-python-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  mv "$pkgdir"/usr/bin/sl{,2}
-  mv "$pkgdir"/usr/bin/slcli{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-softlayer/repos/community-any/PKGBUILD (from rev 274829, python-softlayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-19 03:44:42 UTC (rev 274830)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-softlayer
+pkgname=('python-softlayer' 'python2-softlayer')
+pkgver=5.3.2
+pkgrel=1
+pkgdesc="A library for SoftLayer's API"
+arch=('any')
+license=('MIT')
+url='https://github.com/softlayer/softlayer-python'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-prettytable' 'python2-prettytable'
+             'python-click' 'python2-click' 'python-requests' 'python2-requests'
+             'python-prompt_toolkit' 'python2-prompt_toolkit' 'python-pygments' 'python2-pygments')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-mock' 'python2-mock'
+              'python-testtools' 'python2-testtools')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
+sha512sums=('a82a9b759a8aef6328ff14886c02559f6c8bacf8b3f785274b35c662c3da4e2d5dfa23b6830676d708985e251ad448bbac95ac4d2e73704badebd36de6ceacb3')
+
+prepare() {
+  cp -a softlayer-python-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/softlayer-python-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/softlayer-python-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/softlayer-python-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/softlayer-python-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-softlayer() {
+  depends=('python-setuptools' 'python-prettytable' 'python-click' 'python-requests'
+           'python-prompt_toolkit' 'python-pygments')
+
+  cd softlayer-python-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-softlayer() {
+  depends=('python2-setuptools' 'python2-prettytable' 'python2-click' 'python2-requests'
+           'python2-prompt_toolkit' 'python2-pygments')
+
+  cd softlayer-python-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  mv "$pkgdir"/usr/bin/sl{,2}
+  mv "$pkgdir"/usr/bin/slcli{,2}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list