blob: c1b90fffbfe0dcfe3d6055f185a32f814b14408b (
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
|
# Maintainer: Chris Snell <chris dot snell at gmail.com>
pkgname=python-okta
_upstream_name=okta-sdk-python
pkgver=r31.e45b411
pkgver() {
cd ${_upstream_name}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
pkgrel=1
pkgdesc='Python SDK for managing Okta instances'
arch=('any')
url="https://github.com/okta/okta-sdk-python"
depends=('python-requests' 'python-dateutil' 'python-six')
makedepends=('python-setuptools' 'git')
source=("git+https://github.com/okta/okta-sdk-python.git")
sha1sums=('SKIP')
build() {
cd $_upstream_name
python setup.py build
}
package() {
cd $_upstream_name
python setup.py install --root="$pkgdir" --optimize=1
install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
# rm -f "$pkgdir"/usr/bin/{aws.cmd,aws_bash_completer}
}
|