[arch-commits] Commit in apache-libcloud/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Mar 3 11:00:49 UTC 2018


    Date: Saturday, March 3, 2018 @ 11:00:48
  Author: felixonmars
Revision: 301855

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-03 11:00:24 UTC (rev 301854)
+++ PKGBUILD	2018-03-03 11:00:48 UTC (rev 301855)
@@ -1,59 +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=2.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' 'python-requests' 'python2-requests')
-checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner' 'openssh'
-              'python-requests-mock' 'python2-requests-mock')
-source=("https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-${pkgver}.tar.gz")
-sha512sums=('97dc044d07888320655ea0cc16e21f61550f2c52a17464a45e6701841c03de315e94e520e50e112456869d2ae0c88e5c11175157660d1e81f2477f92ece0cb97')
-
-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-requests')
-
-  cd apache-libcloud-$pkgver
-  python setup.py install --root="$pkgdir"
-}
-
-package_python2-apache-libcloud() {
-  depends=('python2-requests')
-  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 301854, apache-libcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-03 11:00:48 UTC (rev 301855)
@@ -0,0 +1,59 @@
+# $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=2.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' 'python-requests' 'python2-requests')
+checkdepends=('python-mock' 'python2-mock' 'python-pytest-runner' 'python2-pytest-runner' 'openssh'
+              'python-requests-mock' 'python2-requests-mock')
+source=("https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-${pkgver}.tar.gz")
+sha512sums=('3c77b0261a9386af7b215f354126d0f3189209eeab3cac8e02eabddcb36ccc979159e148854bf0118ba2d8b9fa5bf57f493b144b860b1809c9aeff9efb0161a5')
+
+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-requests')
+
+  cd apache-libcloud-$pkgver
+  python setup.py install --root="$pkgdir"
+}
+
+package_python2-apache-libcloud() {
+  depends=('python2-requests')
+  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