mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/py3-oci: upgrade to 2.101.0
* https://github.com/oracle/oci-python-sdk/blob/v2.101.0/CHANGELOG.rst
This commit is contained in:
parent
f67f258958
commit
ff20bbfb32
@ -1,14 +1,14 @@
|
||||
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
|
||||
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
|
||||
pkgname=py3-oci
|
||||
pkgver=2.100.0
|
||||
pkgver=2.101.0
|
||||
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"
|
||||
makedepends="py3-gpep517 py3-setuptools py3-wheel"
|
||||
checkdepends="py3-pytest py3-vcrpy"
|
||||
subpackages="$pkgname-pyc"
|
||||
source="$pkgname.$pkgver.tar.gz::https://github.com/oracle/oci-python-sdk/archive/refs/tags/v$pkgver.tar.gz
|
||||
@ -17,18 +17,23 @@ source="$pkgname.$pkgver.tar.gz::https://github.com/oracle/oci-python-sdk/archiv
|
||||
builddir="$srcdir/oci-python-sdk-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$builddir"/build/lib pytest tests
|
||||
python3 -m venv --clear --without-pip --system-site-packages testenv
|
||||
testenv/bin/python3 -m installer dist/*.whl
|
||||
testenv/bin/python3 -m pytest tests
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --skip-build --root="$pkgdir"
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
dist/*.whl
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b136734efee40fdda8124533cf370e10d6e14f7c2831167af164dff6b97dc339f27b47e0244b34d5a0cb0f024869254010821ce0aef6b1355d3223919eb6729c py3-oci.2.100.0.tar.gz
|
||||
224e6e4f079b10b57413ebb50313de93eae28c7e247e5a553f3e5c80d8e9b48c061010055bc52744ec0fc89e0aea6b617b9735f080651c55515adcd367e3f447 py3-oci.2.101.0.tar.gz
|
||||
e88495f19a3b9bd4b4b086007e2c93d6200aa316e93c1ec58b31794afb58967994f061a5ad1346edbbecd9119cea7a60c1e2ac6cba99f78b4e349b8f594ce01f vcr.patch
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user