python-imagecodecs: update to 2023.8.12, enable libjpeg-turbo 3

This commit is contained in:
Miloš Komarčević
2023-08-14 09:44:09 +02:00
committed by Biswapriyo Nath
parent fd5635a671
commit b7dcf4c28d

View File

@@ -3,8 +3,8 @@
_realname=imagecodecs
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=2023.7.10
pkgrel=2
pkgver=2023.8.12
pkgrel=1
pkgdesc="Image transformation, compression, and decompression codecs (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
@@ -40,13 +40,17 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest")
options=('!strip')
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz"
"0001-deflate.patch")
sha256sums=('cce1b815e55c4cda67582b87fbf4e2b3caa2dd447b1cdb33fa4f8ccafea8064a'
'51e7f4d58ef17d230bf9755832902982b4c228c153d30c65749d2312c3bbf281')
"0001-deflate.patch"
"https://patch-diff.githubusercontent.com/raw/cgohlke/imagecodecs/pull/83.patch")
sha256sums=('5410ccd1e6f46289c10c076579d38f621b4aaa207d54d93aeb338c5fbcdea709'
'51e7f4d58ef17d230bf9755832902982b4c228c153d30c65749d2312c3bbf281'
'bee46218af3c8a760c73ec00ed3d23edf1ed702eb08c2ef702185070872e0b8a')
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
patch -p1 -i "${srcdir}"/0001-deflate.patch
# https://github.com/cgohlke/imagecodecs/pull/83
patch -p1 -i "${srcdir}"/83.patch
}
build() {