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

Felix Yan felixonmars at archlinux.org
Fri Dec 22 05:39:28 UTC 2017


    Date: Friday, December 22, 2017 @ 05:39:27
  Author: felixonmars
Revision: 275303

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 05:39:11 UTC (rev 275302)
+++ PKGBUILD	2017-12-22 05:39:27 UTC (rev 275303)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-digitalocean
-pkgname=('python-digitalocean' 'python2-digitalocean')
-pkgver=1.12
-pkgrel=1
-pkgdesc='digitalocean.com API to manage Droplets and Images'
-arch=('any')
-license=('LGPL')
-url='https://github.com/koalalorenzo/python-digitalocean'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-responses' 'python2-responses')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/koalalorenzo/python-digitalocean/archive/v$pkgver.tar.gz")
-sha512sums=('5ccb536c5e21b9787413122aa15d6eccd1f47e820c7d5bf5724ccda862775034bee341a14e52b5bbc01e8185b6401da182cdd796b80b9675c687756c8f11cf1f')
-
-prepare() {
-  cp -a python-digitalocean-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/python-digitalocean-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/python-digitalocean-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/python-digitalocean-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/python-digitalocean-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-digitalocean() {
-  depends=('python-requests')
-
-  cd python-digitalocean-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-digitalocean() {
-  depends=('python2-requests')
-
-  cd python-digitalocean-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-digitalocean/repos/community-any/PKGBUILD (from rev 275302, python-digitalocean/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-22 05:39:27 UTC (rev 275303)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-digitalocean
+pkgname=('python-digitalocean' 'python2-digitalocean')
+pkgver=1.13.2
+pkgrel=1
+pkgdesc='digitalocean.com API to manage Droplets and Images'
+arch=('any')
+license=('LGPL')
+url='https://github.com/koalalorenzo/python-digitalocean'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests'
+             'python-jsonpickle' 'python2-jsonpickle')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner' 'python-responses' 'python2-responses')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/koalalorenzo/python-digitalocean/archive/v$pkgver.tar.gz")
+sha512sums=('6ccc559d755c96b84c311b8f8798388e7e6c1f4e344568093f5c81902c703b9b05e6a143a59c5935d049e407ec11df326e0cf2192524f74829857c1013a12bbc')
+
+prepare() {
+  cp -a python-digitalocean-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/python-digitalocean-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/python-digitalocean-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/python-digitalocean-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/python-digitalocean-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-digitalocean() {
+  depends=('python-requests' 'python-jsonpickle')
+
+  cd python-digitalocean-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-digitalocean() {
+  depends=('python2-requests' 'python2-jsonpickle')
+
+  cd python-digitalocean-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list