[arch-commits] Commit in python-pyjsparser/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Nov 22 14:55:21 UTC 2020


    Date: Sunday, November 22, 2020 @ 14:55:21
  Author: felixonmars
Revision: 759176

upgpkg: python-pyjsparser 2.7.1-7: fix commit hash (FS#68701)

Modified:
  python-pyjsparser/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-22 14:44:09 UTC (rev 759175)
+++ PKGBUILD	2020-11-22 14:55:21 UTC (rev 759176)
@@ -2,15 +2,17 @@
 
 pkgname=python-pyjsparser
 pkgver=2.7.1
-_commit=61f38fd4b62125970424e4dcacee80f1df14857b
-pkgrel=6
+_commit=5465d037b30e334cb0997f2315ec1e451b8ad4c1
+pkgrel=7
 pkgdesc="Fast javascript parser (based on esprima.js)"
 url="https://github.com/PiotrDabkowski/pyjsparser"
 license=('MIT')
 arch=('any')
 depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-js2py' 'python-pytest')
 source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/pyjsparser/archive/$_commit.tar.gz")
-sha512sums=('a91d11e1badd085c1efe72174b304354e8fd5ae922a8b451f36f9099522e1c95454d1ac580eed2a19d7ac48fce22011ed11ef1d9676f9b118c76285a5190c9e4')
+sha512sums=('2e4b3ee1cd863099da262eaf4df5ec4f364ce54e7c7535558f36d3449e21c9f851460078e1a7057ef8c82e2ed9c82f54944cd92782fe3f8cd05411edca191a40')
 
 prepare() {
   mv pyjsparser-{$_commit,$pkgver}
@@ -23,7 +25,7 @@
 
 check() {
   cd pyjsparser-$pkgver
-  python test.py
+  pytest
 }
 
 package_python-pyjsparser() {



More information about the arch-commits mailing list