From 78d645fdfa283a06db0fa2ec8ac4dd62b7334a4d Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 20 Dec 2023 09:14:15 +0100 Subject: [PATCH] python-isort: Update to 5.13.1 --- mingw-w64-python-isort/PKGBUILD | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/mingw-w64-python-isort/PKGBUILD b/mingw-w64-python-isort/PKGBUILD index 29f130aec3b1d..ddce4cdf344f1 100644 --- a/mingw-w64-python-isort/PKGBUILD +++ b/mingw-w64-python-isort/PKGBUILD @@ -6,40 +6,31 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=5.12.0 -pkgrel=2 +pkgver=5.13.1 +pkgrel=1 pkgdesc="A Python utility / library to sort Python imports (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64') url='https://github.com/PyCQA/isort' -license=('MIT') -depends=("${MINGW_PACKAGE_PREFIX}-python-toml" - "${MINGW_PACKAGE_PREFIX}-python-tomli") +license=('spdx:MIT') +msys2_references=( + 'pypi: isort' +) +depends=("${MINGW_PACKAGE_PREFIX}-python") makedepends=("${MINGW_PACKAGE_PREFIX}-python-build" "${MINGW_PACKAGE_PREFIX}-python-installer" - "${MINGW_PACKAGE_PREFIX}-python-setuptools" - "${MINGW_PACKAGE_PREFIX}-python-poetry-core" - "${MINGW_PACKAGE_PREFIX}-python-wheel") + "${MINGW_PACKAGE_PREFIX}-python-poetry-core") checkdepends=("${MINGW_PACKAGE_PREFIX}-python-black" "${MINGW_PACKAGE_PREFIX}-python-hypothesis" "${MINGW_PACKAGE_PREFIX}-python-pytest" "${MINGW_PACKAGE_PREFIX}-python-mock") -options=('staticlibs' 'strip' '!debug') +options=('staticlibs' '!strip' '!debug') source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/PyCQA/isort/archive/${pkgver}.tar.gz") -sha512sums=('ceb861d1a077be6fecd82fde775bded1fb676c77135e2004c92a6221762e0b3ff6c1071d17957e1add4062ec26ba6c9264e4905724f2c659339cbd0601f4b45e') +sha512sums=('23a5f7579e327f109575454e5443ee039c207aa0b6f6ad35509cf514b45a7a3fcae116fd8ee40c96d717694cfd85bd7f431481b1a456b7390f914abec2460f42') prepare() { - pushd "${_realname}-${pkgver}" - # Devendor toml - rm -r isort/_vendored - sed -i 's/from ._vendored //' isort/settings.py - popd - rm -rf python-build-${CARCH} cp -r "${_realname}-${pkgver}" "python-build-${CARCH}" - - # Set version for setuptools_scm - export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} } build() {