aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-apache-libcloud/APKBUILD
blob: b923e172163989951151d841729a59ebaa71007f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-apache-libcloud
pkgver=2.8.0
pkgrel=0
pkgdesc="Python3 library for interacting with many popular cloud service providers using a unified API"
url="https://libcloud.apache.org/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="libcloud-$pkgver.tar.gz::https://github.com/apache/libcloud/archive/v$pkgver.tar.gz"
builddir="$srcdir"/libcloud-$pkgver

replaces=py-libcloud # Backwards compatibility
provides=py-libcloud=$pkgver-r$pkgrel # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f4c89843fc459e153a0718c6786a2175af87498e01c9fa5dae2e91502e0d1f218c48ae51c77d756a50845c7ccec6d8576e0b3293e966bbf54eab928a1e13418c  libcloud-2.8.0.tar.gz"