blob: 391e98caa34a1a3474dd2cc15ca734cf64d9ca1c (
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: Limao Luo <luolimao+AUR@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=python2-glanceclient
pkgver=0.12.0
pkgrel=1
pkgdesc="OpenStack image service (client libs)"
arch=(any)
url=https://launchpad.net/glance
license=(custom)
depends=(python2-anyjson python2-crypto python2-eventlet python2-greenlet python2-httplib2
python2-iso8601 python2-kombu python2-lxml python2-migrate python2-netaddr python2-passlib
python2-paste python2-paste-deploy python2-routes python2-sendfile python2-sqlalchemy
python2-webob python2-wsgiref python2-xattr python2-pbr python2-pip)
makedepends=(python2-setuptools)
source=(https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname//2}/${pkgname//2}-$pkgver.tar.gz)
prepare() {
find ${pkgname//2}-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
}
build() {
cd ${pkgname//2}-$pkgver/
python2 setup.py build
}
package() {
cd ${pkgname//2}-$pkgver/
python2 setup.py install --root="$pkgdir"
}
|