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

Felix Yan felixonmars at archlinux.org
Tue Feb 19 16:27:59 UTC 2019


    Date: Tuesday, February 19, 2019 @ 16:27:58
  Author: felixonmars
Revision: 434565

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-19 16:21:48 UTC (rev 434564)
+++ PKGBUILD	2019-02-19 16:27:58 UTC (rev 434565)
@@ -1,61 +0,0 @@
-# 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.4.0
-pkgrel=1
-pkgdesc="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"{,.asc})
-sha512sums=('0926164a2514bc3e292c06d83713fb07204b747f06b34e25daead272b33eeb568d803babc7c971a85be0ecf0f425b90a1209b8f9beea94f42dc3522271292be1'
-            'SKIP')
-validpgpkeys=('3ACBB4086C01F7376628088CAB4A19AE1CE85744'  # Anthony Shaw <anthonyshaw at apache.org>
-              '35542BB9C0C01D5E5478BADE6A61AF8545413203') # Quentin Pradet <quentin.pradet at gmail.com>
-
-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: python-apache-libcloud/repos/community-any/PKGBUILD (from rev 434564, python-apache-libcloud/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-19 16:27:58 UTC (rev 434565)
@@ -0,0 +1,37 @@
+# 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>
+
+pkgname=python-apache-libcloud
+pkgver=2.4.0
+pkgrel=2
+pkgdesc="A standard Python library that abstracts away differences among multiple cloud provider APIs"
+arch=('any')
+url="https://libcloud.apache.org"
+license=('Apache')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-pytest-runner' 'openssh' 'python-requests-mock')
+source=("https://pypi.io/packages/source/a/apache-libcloud/apache-libcloud-${pkgver}.tar.gz"{,.asc})
+sha512sums=('0926164a2514bc3e292c06d83713fb07204b747f06b34e25daead272b33eeb568d803babc7c971a85be0ecf0f425b90a1209b8f9beea94f42dc3522271292be1'
+            'SKIP')
+validpgpkeys=('3ACBB4086C01F7376628088CAB4A19AE1CE85744'  # Anthony Shaw <anthonyshaw at apache.org>
+              '35542BB9C0C01D5E5478BADE6A61AF8545413203') # Quentin Pradet <quentin.pradet at gmail.com>
+
+build() {
+  cd apache-libcloud-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd apache-libcloud-$pkgver
+  cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
+  python setup.py test
+  rm libcloud/test/secrets.py
+}
+
+package() {
+  cd apache-libcloud-$pkgver
+  python setup.py install --root="$pkgdir"
+}



More information about the arch-commits mailing list