[arch-commits] Commit in python-json5/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat May 7 08:02:56 UTC 2022


    Date: Saturday, May 7, 2022 @ 08:02:56
  Author: arojas
Revision: 1196131

archrelease: copy trunk to community-any

Added:
  python-json5/repos/community-any/PKGBUILD
    (from rev 1196130, python-json5/trunk/PKGBUILD)
Deleted:
  python-json5/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   48 +++++++++++++++++++++++-------------------------
 1 file changed, 23 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-07 08:02:45 UTC (rev 1196130)
+++ PKGBUILD	2022-05-07 08:02:56 UTC (rev 1196131)
@@ -1,25 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=python-json5
-pkgver=0.9.6
-pkgrel=3
-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)
-source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('eeb5e7d77b095dbfeae2e00c7df80ac8064994b33c5c36982f504c5c17c77a8c')
-
-build() {
-  cd pyjson5-$pkgver
-  
-  python setup.py build
-}
-
-package() {
-  cd pyjson5-$pkgver
-
-  python setup.py install --prefix=/usr --root="$pkgdir" --skip-build --optimize=1
-}

Copied: python-json5/repos/community-any/PKGBUILD (from rev 1196130, python-json5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-07 08:02:56 UTC (rev 1196131)
@@ -0,0 +1,23 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=python-json5
+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-build python-installer python-setuptools python-wheel)
+source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('22f95577eed978a4c7833173e17b9d79e08443ac16b604fd1301e07e10fdf779')
+
+build() {
+  cd pyjson5-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd pyjson5-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list