[arch-commits] Commit in python-pyjsparser/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 8 11:47:16 UTC 2020
Date: Sunday, March 8, 2020 @ 11:47:15
Author: felixonmars
Revision: 591874
archrelease: copy trunk to community-any
Added:
python-pyjsparser/repos/community-any/PKGBUILD
(from rev 591873, python-pyjsparser/trunk/PKGBUILD)
Deleted:
python-pyjsparser/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++------------------------------------
1 file changed, 34 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 11:47:06 UTC (rev 591873)
+++ PKGBUILD 2020-03-08 11:47:15 UTC (rev 591874)
@@ -1,48 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pyjsparser
-pkgname=(python-pyjsparser python2-pyjsparser)
-pkgver=2.7.1
-_commit=61f38fd4b62125970424e4dcacee80f1df14857b
-pkgrel=3
-pkgdesc="Fast javascript parser (based on esprima.js)"
-url="https://github.com/PiotrDabkowski/pyjsparser"
-license=('MIT')
-arch=('any')
-makedepends=('python' 'python2')
-source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/pyjsparser/archive/$_commit.tar.gz")
-sha512sums=('a91d11e1badd085c1efe72174b304354e8fd5ae922a8b451f36f9099522e1c95454d1ac580eed2a19d7ac48fce22011ed11ef1d9676f9b118c76285a5190c9e4')
-
-prepare() {
- mv pyjsparser-{$_commit,$pkgver}
-}
-
-build() {
- cd pyjsparser-$pkgver
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd pyjsparser-$pkgver
- python test.py
- python2 test.py
-}
-
-package_python-pyjsparser() {
- depends=('python')
-
- cd pyjsparser-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pyjsparser() {
- depends=('python2')
-
- cd pyjsparser-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-pyjsparser/repos/community-any/PKGBUILD (from rev 591873, python-pyjsparser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-08 11:47:15 UTC (rev 591874)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pyjsparser
+pkgver=2.7.1
+_commit=61f38fd4b62125970424e4dcacee80f1df14857b
+pkgrel=4
+pkgdesc="Fast javascript parser (based on esprima.js)"
+url="https://github.com/PiotrDabkowski/pyjsparser"
+license=('MIT')
+arch=('any')
+depends=('python')
+source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/pyjsparser/archive/$_commit.tar.gz")
+sha512sums=('a91d11e1badd085c1efe72174b304354e8fd5ae922a8b451f36f9099522e1c95454d1ac580eed2a19d7ac48fce22011ed11ef1d9676f9b118c76285a5190c9e4')
+
+prepare() {
+ mv pyjsparser-{$_commit,$pkgver}
+}
+
+build() {
+ cd pyjsparser-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pyjsparser-$pkgver
+ python test.py
+}
+
+package_python-pyjsparser() {
+ cd pyjsparser-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list