[arch-commits] Commit in python-digitalocean/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 17 10:40:07 UTC 2019
Date: Sunday, March 17, 2019 @ 10:40:06
Author: felixonmars
Revision: 442347
archrelease: copy trunk to community-any
Added:
python-digitalocean/repos/community-any/PKGBUILD
(from rev 442346, python-digitalocean/trunk/PKGBUILD)
Deleted:
python-digitalocean/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++---------------------------------------
1 file changed, 29 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-17 10:39:48 UTC (rev 442346)
+++ PKGBUILD 2019-03-17 10:40:06 UTC (rev 442347)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-digitalocean
-pkgname=('python-digitalocean' 'python2-digitalocean')
-pkgver=1.14.0
-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=('821116dfdfa2191af409f3433d1edee4b6d2f97700b1b8ba6d7ca1cd6e38dd555e8dcf83e0b631d1a4e958abd0e989e3001d774916f94b2244a9d9f6bcffbf4e')
-
-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 || warning "https://github.com/koalalorenzo/python-digitalocean/issues/258"
-
- cd "$srcdir"/python-digitalocean-$pkgver-py2
- python2 setup.py pytest || warning "https://github.com/koalalorenzo/python-digitalocean/issues/258"
-}
-
-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:
Copied: python-digitalocean/repos/community-any/PKGBUILD (from rev 442346, python-digitalocean/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-17 10:40:06 UTC (rev 442347)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-digitalocean
+pkgver=1.14.0
+pkgrel=2
+pkgdesc='digitalocean.com API to manage Droplets and Images'
+arch=('any')
+license=('LGPL')
+url='https://github.com/koalalorenzo/python-digitalocean'
+depends=('python-requests' 'python-jsonpickle')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-responses')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/koalalorenzo/python-digitalocean/archive/v$pkgver.tar.gz")
+sha512sums=('821116dfdfa2191af409f3433d1edee4b6d2f97700b1b8ba6d7ca1cd6e38dd555e8dcf83e0b631d1a4e958abd0e989e3001d774916f94b2244a9d9f6bcffbf4e')
+
+build() {
+ cd python-digitalocean-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-digitalocean-$pkgver
+ python setup.py pytest || warning "https://github.com/koalalorenzo/python-digitalocean/issues/258"
+}
+
+package() {
+ cd python-digitalocean-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list