[arch-commits] Commit in apache-libcloud/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Dec 29 06:44:34 UTC 2016


    Date: Thursday, December 29, 2016 @ 06:44:33
  Author: felixonmars
Revision: 203239

archrelease: copy trunk to community-staging-any

Added:
  apache-libcloud/repos/community-staging-any/PKGBUILD
    (from rev 203238, apache-libcloud/trunk/PKGBUILD)
Deleted:
  apache-libcloud/repos/community-staging-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-12-29 06:44:08 UTC (rev 203238)
+++ PKGBUILD	2016-12-29 06:44:33 UTC (rev 203239)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Lex Black <autumn-wind at web dot de>
-# Contributor: Alasdair Haswell <ali at arhaswell dot co dot uk>
-
-pkgbase=apache-libcloud
-pkgname=('python-apache-libcloud' 'python2-apache-libcloud')
-pkgver=1.4.0
-pkgrel=2
-pkgdesc="Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs"
-arch=('any')
-url="https://libcloud.apache.org"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-mock' 'python2-mock' 'python2-paramiko' 'openssh')
-source=("https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-${pkgver}.tar.gz")
-sha256sums=('614954bb5f8d439c1de2ff294c25ff45037b1ce7b0ba5e4930e85cb045747cec')
-
-prepare() {
-  cp -a apache-libcloud-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir/apache-libcloud-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/apache-libcloud-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/apache-libcloud-$pkgver"
-  cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
-  python setup.py test
-  rm libcloud/test/secrets.py
-
-  cd "$srcdir/apache-libcloud-$pkgver-py2"
-  cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
-  python2 setup.py test
-  rm libcloud/test/secrets.py
-}
-
-package_python-apache-libcloud() {
-  depends=('python')
-
-  cd apache-libcloud-$pkgver
-  python setup.py install --root="$pkgdir"
-}
-
-package_python2-apache-libcloud() {
-  depends=('python2')
-  replaces=('apache-libcloud')
-  conflicts=('apache-libcloud')
-
-  cd apache-libcloud-$pkgver-py2
-  python2 setup.py install --root="$pkgdir"
-}

Copied: apache-libcloud/repos/community-staging-any/PKGBUILD (from rev 203238, apache-libcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-12-29 06:44:33 UTC (rev 203239)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Lex Black <autumn-wind at web dot de>
+# Contributor: Alasdair Haswell <ali at arhaswell dot co dot uk>
+
+pkgbase=apache-libcloud
+pkgname=('python-apache-libcloud' 'python2-apache-libcloud')
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Apache Libcloud is a standard Python library that abstracts away differences among multiple cloud provider APIs"
+arch=('any')
+url="https://libcloud.apache.org"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-mock' 'python2-mock' 'python2-paramiko' 'openssh')
+source=("https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-${pkgver}.tar.bz2")
+sha256sums=('ea3dd7825e30611e5a018ab18107b33a9029097d64bd8b39a87feae7c2770282')
+
+prepare() {
+  cp -a apache-libcloud-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir/apache-libcloud-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/apache-libcloud-$pkgver-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/apache-libcloud-$pkgver"
+  cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
+  python setup.py test
+  rm libcloud/test/secrets.py
+
+  cd "$srcdir/apache-libcloud-$pkgver-py2"
+  cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
+  python2 setup.py test
+  rm libcloud/test/secrets.py
+}
+
+package_python-apache-libcloud() {
+  depends=('python')
+
+  cd apache-libcloud-$pkgver
+  python setup.py install --root="$pkgdir"
+}
+
+package_python2-apache-libcloud() {
+  depends=('python2')
+  replaces=('apache-libcloud')
+  conflicts=('apache-libcloud')
+
+  cd apache-libcloud-$pkgver-py2
+  python2 setup.py install --root="$pkgdir"
+}



More information about the arch-commits mailing list