blob: 4602be82583c2ca0abdd20bedc9d87b7619274f1 (
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
|
# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
pkgname=python-oci
_pyname=oci-python-sdk
pkgver=2.0.0
pkgrel=1
pkgdesc='Python SDK for Oracle Cloud Infrastructure'
arch=('any')
url='https://github.com/oracle/oci-python-sdk'
license=('Apache')
depends=('python' 'python-pyjwt' 'python-dateutil' 'python-certifi' 'python-cryptography' 'python-idna' 'python-pyopenssl' 'python-pytz' 'python-requests' 'python-six')
makedepends=('python-setuptools')
source=("${url}/archive/v${pkgver}.tar.gz"
"${pkgname}.patch")
sha256sums=('6ad20c543638af6987a8c9cbec2be08746a15ab168222cffb3d6654d4cc66501'
'82d5526ade9d556503d9e09eb39f9d81b00bcf3f9eee9f2bc36598a6f738cb19')
prepare() {
cd "${_pyname}-${pkgver}"
patch -p1 -i ../${pkgname}.patch
}
build() {
cd "${_pyname}-${pkgver}"
python setup.py build
}
package() {
cd "${_pyname}-$pkgver"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|