[arch-commits] Commit in python-ujson/trunk (PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Sun Apr 24 10:56:59 UTC 2022
Date: Sunday, April 24, 2022 @ 10:56:58
Author: mtorromeo
Revision: 1189557
upgpkg: python-ujson 5.2.0-1
Modified:
python-ujson/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-24 10:44:32 UTC (rev 1189556)
+++ PKGBUILD 2022-04-24 10:56:58 UTC (rev 1189557)
@@ -3,24 +3,24 @@
pkgname=python-ujson
_pkgname=ultrajson
-pkgver=5.1.0
-pkgrel=2
+pkgver=5.2.0
+pkgrel=1
pkgdesc="Ultra fast JSON encoder and decoder for Python"
url="https://github.com/ultrajson/ultrajson"
arch=('x86_64')
license=('BSD')
depends=('python')
-makedepends=('python-setuptools-scm' 'python-pip')
+makedepends=(python-setuptools-scm python-wheel python-build python-installer)
checkdepends=('python-six' 'python-pytest')
source=(https://github.com/ultrajson/ultrajson/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha512sums=('3a740df11a01ba60c1a47cbe406e68e1efe10ae0f71fff8540bc5d8e73d9b3227e829597a9dcb838ba1861c32453cfe32286abebcde3f9590705724c94c821fc')
-b2sums=('8955f3d9eae0b8dbf54e4db50cca52195fa6ff14b3f85d06d9b510baab27979f383ed16eff9ad9afd2c82641e76a07e0fc7918742a158d51d9ecc9a408a01933')
+sha512sums=('7b27506ce43dd48a861c3dc6972022749fef330a8795088a5014b0e256d69778b9444a0df052ece58585723b05fc3d0576330e62b81b776ac8c3088ddb779f69')
+b2sums=('35e483c09c2e05338191c40ab049f8d4aed26b54935bde5f0a19035bc5647a14b85454745b828be0677ab8c0a393c4d87c2ea4beddbe8fb9354574d4c5f93fbf')
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
build() {
cd ${_pkgname}-${pkgver}
- python setup.py build
+ python -m build --wheel --no-isolation
}
check() {
@@ -31,7 +31,7 @@
package() {
cd ${_pkgname}-${pkgver}
- python setup.py install --skip-build -O1 --root="${pkgdir}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list