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

Felix Yan felixonmars at archlinux.org
Wed Jul 26 05:51:22 UTC 2017


    Date: Wednesday, July 26, 2017 @ 05:51:21
  Author: felixonmars
Revision: 246383

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  116 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 58 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-26 05:51:03 UTC (rev 246382)
+++ PKGBUILD	2017-07-26 05:51:21 UTC (rev 246383)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-softlayer
-pkgname=('python-softlayer' 'python2-softlayer')
-pkgver=5.2.7
-pkgrel=1
-pkgdesc="A library for SoftLayer's API"
-arch=('any')
-license=('MIT')
-url='http://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::http://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
-sha512sums=('f464dfc91a87dd4afedf176d4910bd8bd051bd93bba6c34f2064e1608f1f253492d758dc63f52f8ff2077d9be5ac0568ebc72e101833854171f4125265f54a46')
-
-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
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-softlayer/repos/community-any/PKGBUILD (from rev 246382, python-softlayer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-26 05:51:21 UTC (rev 246383)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-softlayer
+pkgname=('python-softlayer' 'python2-softlayer')
+pkgver=5.2.8
+pkgrel=1
+pkgdesc="A library for SoftLayer's API"
+arch=('any')
+license=('MIT')
+url='http://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::http://github.com/softlayer/softlayer-python/archive/v$pkgver.tar.gz")
+sha512sums=('2b2ab9ef62d07f4fd443d77e624f02151635edf76a6307a829bfa968c8e3c179d45d3f3093ecc4d22c5352558f5947a3da85fef125c5f8ecb07bd33ff1a02773')
+
+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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list