1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-oci/APKBUILD

33 lines
1.1 KiB
Text

# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-oci
pkgver=2.93.1
pkgrel=0
pkgdesc="Oracle Cloud Infrastructure Python SDK"
url="https://docs.oracle.com/en-us/iaas/tools/python/2.53.1/index.html"
arch="noarch"
license="Apache-2.0"
depends="py3-certifi py3-circuitbreaker py3-cryptography py3-dateutil py3-openssl py3-tz"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-vcrpy"
source="$pkgname.$pkgver.zip::https://github.com/oracle/oci-python-sdk/archive/refs/tags/v$pkgver.zip
vcr.patch
"
builddir="$srcdir/oci-python-sdk-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$builddir"/build/lib pytest tests
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
325751183a32d46a2d26dc0d9c70f5290dc1acf68402d7b863a544f58e735c5f76b940fd54e7f93e68b77da97bfddf22d9963bbb2bb63e3308560e7b975e418b py3-oci.2.93.1.zip
e88495f19a3b9bd4b4b086007e2c93d6200aa316e93c1ec58b31794afb58967994f061a5ad1346edbbecd9119cea7a60c1e2ac6cba99f78b4e349b8f594ce01f vcr.patch
"