python-gcs-oauth2-boto-plugin: update to 3.3
This commit is contained in:
parent
96d6dfc7e7
commit
cd17a1ff67
@ -0,0 +1,20 @@
|
|||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -29,7 +29,7 @@
|
||||||
|
"""
|
||||||
|
|
||||||
|
requires = [
|
||||||
|
- 'rsa==4.7.2',
|
||||||
|
+ 'rsa>=4.7.2',
|
||||||
|
'boto>=2.29.1',
|
||||||
|
'google-reauth>=0.1.0',
|
||||||
|
'httplib2>=0.18',
|
||||||
|
@@ -37,7 +37,7 @@
|
||||||
|
'pyOpenSSL>=0.13',
|
||||||
|
'retry_decorator>=1.0.0',
|
||||||
|
'six>=1.12.0',
|
||||||
|
- 'google-auth==2.39.0',
|
||||||
|
+ 'google-auth>=2.39.0',
|
||||||
|
'google-auth-httplib2>=0.2.0'
|
||||||
|
]
|
||||||
|
|
||||||
@ -3,12 +3,13 @@
|
|||||||
_realname=gcs-oauth2-boto-plugin
|
_realname=gcs-oauth2-boto-plugin
|
||||||
pkgbase=mingw-w64-python-${_realname}
|
pkgbase=mingw-w64-python-${_realname}
|
||||||
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
|
||||||
pkgver=3.0
|
pkgver=3.3
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage in the Boto library. (mingw-w64)"
|
pkgdesc="Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage in the Boto library. (mingw-w64)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||||
url='https://developers.google.com/storage/docs/gspythonlibrary'
|
url='https://developers.google.com/storage/docs/gspythonlibrary'
|
||||||
|
msys2_repository_url='https://github.com/GoogleCloudPlatform/gcs-oauth2-boto-plugin'
|
||||||
msys2_references=(
|
msys2_references=(
|
||||||
'purl: pkg:pypi/gcs-oauth2-boto-plugin'
|
'purl: pkg:pypi/gcs-oauth2-boto-plugin'
|
||||||
)
|
)
|
||||||
@ -16,6 +17,8 @@ license=('spdx:Apache-2.0')
|
|||||||
depends=("${MINGW_PACKAGE_PREFIX}-python"
|
depends=("${MINGW_PACKAGE_PREFIX}-python"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-rsa"
|
"${MINGW_PACKAGE_PREFIX}-python-rsa"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-boto"
|
"${MINGW_PACKAGE_PREFIX}-python-boto"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-google-auth"
|
||||||
|
"${MINGW_PACKAGE_PREFIX}-python-google-auth-httplib2"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-google-reauth"
|
"${MINGW_PACKAGE_PREFIX}-python-google-reauth"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-httplib2"
|
"${MINGW_PACKAGE_PREFIX}-python-httplib2"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-oauth2client"
|
"${MINGW_PACKAGE_PREFIX}-python-oauth2client"
|
||||||
@ -25,16 +28,18 @@ depends=("${MINGW_PACKAGE_PREFIX}-python"
|
|||||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
"${MINGW_PACKAGE_PREFIX}-python-installer"
|
||||||
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
"${MINGW_PACKAGE_PREFIX}-python-setuptools")
|
||||||
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
|
source=("https://pypi.org/packages/source/${_realname::1}/${_realname//-/_}/${_realname//-/_}-${pkgver}.tar.gz"
|
||||||
sha256sums=('f4120b08b7f8d32904674c98f07d4caf4083a58343c0c0fa0016e0f0254dfe31')
|
0001-setup.py-allow-newer-verions.patch)
|
||||||
|
sha256sums=('748e8f73161c884bc1251748b4920115201829ed9a258e7112e8bf8ce45eae18'
|
||||||
|
'31d57c2e725440d318243af7828527918417008af790199a87ca5ce121d7cab3')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}"/${_realname}-${pkgver}
|
cd "${srcdir}"/${_realname//-/_}-${pkgver}
|
||||||
sed -e "s|rsa==4.7.2|rsa|g" -i setup.py
|
patch -p1 -i "${srcdir}"/0001-setup.py-allow-newer-verions.patch
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
cp -r "${_realname//-/_}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"
|
||||||
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
${MINGW_PREFIX}/bin/python -m build --wheel --skip-dependency-check --no-isolation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user