Date: Tuesday, January 3, 2023 @ 18:41:52
  Author: arojas
Revision: 1374954

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   52 +++++++++++++++++++++++++++++-----------------------
 1 file changed, 29 insertions(+), 23 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-03 18:41:42 UTC (rev 1374953)
+++ PKGBUILD    2023-01-03 18:41:52 UTC (rev 1374954)
@@ -1,23 +0,0 @@
-# Maintainer: Antonio Rojas <[email protected]>
-
-pkgname=python-json5
-pkgver=0.9.10
-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=('e3f9fcc0b9e29331841b1c429eebdf1605fe32ee998a59825dd36ae6f4b97180')
-
-build() {
-  cd pyjson5-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-package() {
-  cd pyjson5-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-}

Copied: python-json5/repos/community-any/PKGBUILD (from rev 1374953, 
python-json5/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-01-03 18:41:52 UTC (rev 1374954)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=python-json5
+pkgver=0.9.12
+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)
+checkdepends=(python-pytest)
+source=(https://github.com/dpranke/pyjson5/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('b34dee43d6ae60f5896ca5bf7527df711a68afd4a6e4bde6be0838c1fd22c33e')
+
+build() {
+  cd pyjson5-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd pyjson5-$pkgver
+  pytest -v
+}
+
+package() {
+  cd pyjson5-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to