summaryrefslogtreecommitdiffstats
path: root/testing/py-apache-libcloud/APKBUILD
blob: f24d67dca833f4e30e011cc13d8b1ea02a7a714b (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
31
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-apache-libcloud
_pkgname=apache-libcloud
pkgver=0.12.1
pkgrel=0
pkgdesc="A Python library that abstracts away differences among multiple cloud provider APIs"
url="https://libcloud.apache.org"
arch="noarch"
license="Apache2"
depends=""
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
subpackages=""
source="http://www.mirrorservice.org/sites/ftp.apache.org/libcloud/$_pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="293bcae58ed98e354756ef2166b5d281  apache-libcloud-0.12.1.tar.bz2"
sha256sums="26cc9e13d627a58c78894e6982125ffb8418b94ab5854694e4c2f844bf1a2ca3  apache-libcloud-0.12.1.tar.bz2"
sha512sums="fcb0555bf078bf3cf548d7903f8dc7d2d49b9aa08e00c36ccb3e1da710e3f3a1885a5db7612ceaeb658e1b126214342c0fde678b90e7052490ff0412e360d024  apache-libcloud-0.12.1.tar.bz2"