* update python-simplejson to 3.19.3-1

This commit is contained in:
Alexander Baldeck 2025-02-17 16:52:02 +01:00
parent c1b89f596b
commit 74856b157a
2 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
pkgbase = python-simplejson
pkgdesc = Simple, fast and extensible JSON decoder/encoder
pkgver = 3.19.2
pkgrel = 5
pkgver = 3.19.3
pkgrel = 1
url = https://github.com/simplejson/simplejson
arch = x86_64
arch = powerpc64le
@ -15,7 +15,7 @@ pkgbase = python-simplejson
makedepends = python-wheel
depends = glibc
depends = python
source = python-simplejson-3.19.2.tar.gz::https://github.com/simplejson/simplejson/archive/refs/tags/v3.19.2.tar.gz
b2sums = 3458629073fb0c09aefa3d0ed4b9a32040a7f2f32f0ae3701843511b3a25a5a7e41cc4221169cea441e1d072f17a6af4b903c1d5cfd2fe17dcd00d66c7cae116
source = python-simplejson-3.19.3.tar.gz::https://github.com/simplejson/simplejson/archive/refs/tags/v3.19.3.tar.gz
b2sums = 8472650023dd892110a3b7b0b434f9f5d5e8e49bbbdfd8f9b3ca79f45d92ac9f2adc2d2ed8449110a41423008bd507e89e095487cdf982ca8d82595f64e171f1
pkgname = python-simplejson

View File

@ -1,13 +1,13 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Maintainer: Carl Smedstad <carsme@archlinux.org>
# Contributor: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: David Moore <davidm@sjsoft.com>
pkgname=python-simplejson
_name="${pkgname#python-}"
pkgver=3.19.2
pkgrel=5
pkgver=3.19.3
pkgrel=1
pkgdesc='Simple, fast and extensible JSON decoder/encoder'
license=(MIT)
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -22,21 +22,21 @@ makedepends=(
python-setuptools
python-wheel
)
source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
b2sums=('3458629073fb0c09aefa3d0ed4b9a32040a7f2f32f0ae3701843511b3a25a5a7e41cc4221169cea441e1d072f17a6af4b903c1d5cfd2fe17dcd00d66c7cae116')
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('8472650023dd892110a3b7b0b434f9f5d5e8e49bbbdfd8f9b3ca79f45d92ac9f2adc2d2ed8449110a41423008bd507e89e095487cdf982ca8d82595f64e171f1')
build() {
cd $_name-$pkgver
cd ${pkgname#python-}-$pkgver
python -m build --wheel --no-isolation
}
check() {
cd $_name-$pkgver
cd ${pkgname#python-}-$pkgver
python -m unittest discover -v
}
package_python-simplejson() {
cd $_name-$pkgver
package() {
cd ${pkgname#python-}-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/"
install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt
}