diff --git a/mingw-w64-python-google-api-core/PKGBUILD b/mingw-w64-python-google-api-core/PKGBUILD index 0629fcd828..02c6be657b 100644 --- a/mingw-w64-python-google-api-core/PKGBUILD +++ b/mingw-w64-python-google-api-core/PKGBUILD @@ -3,17 +3,17 @@ _realname=google-api-core pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=2.19.0 +pkgver=2.19.1 pkgrel=1 pkgdesc='Google API client core library (mingw-w64)' arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') +url="https://googleapis.dev/python/google-api-core/latest" +msys2_repository_url='https://github.com/googleapis/python-api-core' msys2_references=( 'archlinux: python-google-api-core' 'pypi: google-api-core' ) -msys2_repository_url='https://github.com/googleapis/python-api-core' -url="https://googleapis.dev/python/google-api-core/latest" license=('spdx:Apache-2.0') depends=( "${MINGW_PACKAGE_PREFIX}-python-google-auth" @@ -28,16 +28,8 @@ makedepends=( "${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-python-wheel" ) -source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz" - "001-add-support-for-protobuf-5.x.patch") -sha256sums=('cf1b7c2694047886d2af1128a03ae99e391108a08804f87cfd35970e49c9cd10' - 'f3c3e151573ba48401128faf1762b751b63760c9833004a3dc6f51bf0ccfe506') - -prepare() { - cd ${_realname}-${pkgver} - # https://github.com/googleapis/python-api-core/pull/644 - patch -p1 -i "${srcdir}"/001-add-support-for-protobuf-5.x.patch -} +source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz") +sha256sums=('f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd') build() { cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"