python-prettytable: update to 3.12.0

This commit is contained in:
Mehdi Chinoune 2025-01-07 17:48:19 +00:00 committed by مهدي شينون (Mehdi Chinoune)
parent 2a10b120d5
commit 8d55e9afbe
2 changed files with 5 additions and 24 deletions

View File

@ -7,7 +7,7 @@ pkgver=4.8.0
pkgrel=1
pkgdesc="Command Line Interface Formulation Framewor (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'archlinux: python-cliff'
'pypi: cliff'
@ -34,25 +34,6 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname/-/_}-${pkgver}.tar.gz")
sha256sums=('23eff502e603cf0aa841eaea6662a42cd3064169162b3e596b20226400e34dfd')
# Helper macros to help make tasks easier #
apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying $_patch"
patch -Nbp1 -i "${srcdir}/$_patch"
done
}
del_file_exists() {
for _fname in "$@"
do
if [ -f $_fname ]; then
rm -rf $_fname
fi
done
}
# =========================================== #
prepare() {
rm -rf python-build-${MSYSTEM} | true
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}"

View File

@ -4,11 +4,11 @@ _pyname=PrettyTable
_realname=prettytable
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}")
pkgver=3.11.0
pkgrel=2
pkgver=3.12.0
pkgrel=1
pkgdesc="A simple Python library for easily displaying tabular data (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
msys2_references=(
'pypi: prettytable'
)
@ -22,7 +22,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python-build"
checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest"
"${MINGW_PACKAGE_PREFIX}-python-pytest-cov")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('7e23ca1e68bbfd06ba8de98bf553bf3493264c96d5e8a615c0471025deeba722')
sha256sums=('f04b3e1ba35747ac86e96ec33e3bb9748ce08e254dc2a1c6253945901beec804')
build() {
cp -r "${_realname}-${pkgver}" "python-build-${MSYSTEM}" && cd "python-build-${MSYSTEM}"