Date: Thursday, April 6, 2023 @ 14:03:02
  Author: felixonmars
Revision: 1439134

archrelease: copy trunk to community-staging-any

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

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

Copied: python-json5/repos/community-staging-any/PKGBUILD (from rev 1439130, 
python-json5/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 14:03:02 UTC (rev 1439134)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <[email protected]>
+
+pkgname=python-json5
+pkgver=0.9.13
+pkgrel=2
+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=('051d8aa1b7d1da07321591d6ed653a51fe7b9b668bfd9af14ecdd12e483ce1c3')
+
+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