blob: 23e34afc06bc317cb03e54592281dbb1d149bb62 (
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
32
33
34
35
|
# Contributor (Arch) : Limao Luo <luolimao+AUR@gmail.com>
# Contributor (Arch) : Josh Chase <jcjoshuachase@gmail.com>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=nova
_relname=icehouse
pkgver=2014.1.b2
pkgrel=1
pkgdesc="OpenStack cloud computing fabric controller"
arch=(any)
url=https://launchpad.net/nova
license=(custom)
depends=(glance python2-amqplib python2-babel python2-carrot python2-cheetah python2-daemon
python2-feedparser python2-gflags python2-lockfile python2-novaclient python2-paramiko
python2-suds)
makedepends=(python2-setuptools)
source=($url/$_relname/$_relname-2/+download/$pkgname-$pkgver.tar.gz)
prepare() {
find $pkgname-$pkgver -type f -exec sed -ri 's:^#!/usr/bin/(env )?python$:&2:' '{}' \;
}
build() {
cd $pkgname-$pkgver/
python2 setup.py build
}
package() {
cd $pkgname-$pkgver/
python2 setup.py install --root="$pkgdir" --optimize=1
install -d "$pkgdir"/etc/
cp -r etc/ "$pkgdir"/etc/$pkgname/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|