blob: 5b417304838a8170d4e1ccf0b7b3a27dc6f98980 (
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
|
# Maintainer: mickybart <mickybart at pygoscelis dot org>
pkgname=('python-openbrokerapi')
pkgver='2.0.0'
pkgrel=1
pkgdesc="A python package for the V2 CF Service Broker API and Open Broker API (version 2.13+)"
url="https://github.com/eruvanos/openbrokerapi"
depends=('python' 'python-flask')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("${pkgname}::git+https://github.com/eruvanos/openbrokerapi#tag=v${pkgver}"
'LICENSE')
md5sums=('SKIP'
'01fd3820ef015cfa1c6143d706106489')
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
depends+=()
cd "${srcdir}/${pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
# license
install -Dm644 "${srcdir}/LICENSE" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|