[arch-commits] Commit in apache-libcloud/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Oct 16 15:01:07 UTC 2016
Date: Sunday, October 16, 2016 @ 15:01:06
Author: felixonmars
Revision: 192358
archrelease: copy trunk to community-any
Added:
apache-libcloud/repos/community-any/PKGBUILD
(from rev 192357, apache-libcloud/trunk/PKGBUILD)
Deleted:
apache-libcloud/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-16 15:00:48 UTC (rev 192357)
+++ PKGBUILD 2016-10-16 15:01:06 UTC (rev 192358)
@@ -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.2.1
-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.gz")
-sha256sums=('b26b542c6c9785dd4e34892d87421ffa4c043335c1cba301a97a8d9748c423f2')
-
-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-any/PKGBUILD (from rev 192357, apache-libcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-16 15:01:06 UTC (rev 192358)
@@ -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.3.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.gz")
+sha256sums=('198d86a69f889ded7c023567280f6c479862da5a3d82f70eba7c208bba07b395')
+
+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