[arch-commits] Commit in python-json5/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat May 7 08:02:46 UTC 2022
Date: Saturday, May 7, 2022 @ 08:02:45
Author: arojas
Revision: 1196130
Update to 0.9.7, PEP517
Modified:
python-json5/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-07 07:06:57 UTC (rev 1196129)
+++ PKGBUILD 2022-05-07 08:02:45 UTC (rev 1196130)
@@ -1,25 +1,23 @@
# Maintainer: Antonio Rojas <arojas at archlinux.org>
pkgname=python-json5
-pkgver=0.9.6
-pkgrel=3
+pkgver=0.9.7
+pkgrel=1
pkgdesc='A Python implementation of the JSON5 data format'
arch=(any)
url='https://pypi.org/project/json5/'
license=(MPL GPL LGPL)
depends=(python)
-makedepends=(python-setuptools)
+makedepends=(python-build python-installer python-setuptools python-wheel)
source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('eeb5e7d77b095dbfeae2e00c7df80ac8064994b33c5c36982f504c5c17c77a8c')
+sha256sums=('22f95577eed978a4c7833173e17b9d79e08443ac16b604fd1301e07e10fdf779')
build() {
cd pyjson5-$pkgver
-
- python setup.py build
+ python -m build --wheel --no-isolation
}
package() {
cd pyjson5-$pkgver
-
- python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list