[arch-commits] Commit in python-js2py/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Apr 3 02:34:28 UTC 2021
Date: Saturday, April 3, 2021 @ 02:34:27
Author: felixonmars
Revision: 911248
archrelease: copy trunk to community-any
Added:
python-js2py/repos/community-any/PKGBUILD
(from rev 911247, python-js2py/trunk/PKGBUILD)
Deleted:
python-js2py/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-03 02:34:14 UTC (rev 911247)
+++ PKGBUILD 2021-04-03 02:34:27 UTC (rev 911248)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-js2py
-pkgver=0.70
-_commit=55d6bf39ba75e4e5bea2ec2df9a1314148323046
-pkgrel=3
-pkgdesc="JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python"
-url="https://github.com/PiotrDabkowski/Js2Py"
-license=('MIT')
-arch=('any')
-depends=('python-tzlocal' 'python-six' 'python-pyjsparser')
-makedepends=('python-setuptools' 'python-tzlocal' 'python-six' 'python-pyjsparser' )
-checkdepends=('npm' 'python-numpy')
-source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/Js2Py/archive/$_commit.tar.gz")
-sha512sums=('d61e28398f8ebb166e1faf718d68d32cb99ea226396341d9f8c58160cc17424ed56cb23d1ff33de5989eb11114446e332c3e5a8dd8a94a8d653007af59a7d900')
-
-prepare() {
- mv Js2Py-{$_commit,$pkgver}
-}
-
-build() {
- cd Js2Py-$pkgver
- python setup.py build
-}
-
-check() {
- cd Js2Py-$pkgver
- python simple_test.py
-}
-
-package() {
- cd Js2Py-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
-}
Copied: python-js2py/repos/community-any/PKGBUILD (from rev 911247, python-js2py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-03 02:34:27 UTC (rev 911248)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-js2py
+pkgver=0.71
+_commit=5f665f60083a9796ec33861240ce31d6d2b844b6
+pkgrel=1
+pkgdesc="JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python"
+url="https://github.com/PiotrDabkowski/Js2Py"
+license=('MIT')
+arch=('any')
+depends=('python-tzlocal' 'python-six' 'python-pyjsparser')
+makedepends=('python-setuptools' 'python-tzlocal' 'python-six' 'python-pyjsparser')
+checkdepends=('npm' 'python-numpy')
+source=("$pkgname-$_commit.tar.gz::https://github.com/PiotrDabkowski/Js2Py/archive/$_commit.tar.gz")
+sha512sums=('75bae61619d4766117f3c163d36427f3019825ecb08b745aee7c3b6f2d33a4ea8507ca180b63c0a8e575a5f9491eb64d6963acbb912edc7b934a676b38814597')
+
+prepare() {
+ mv Js2Py-{$_commit,$pkgver}
+}
+
+build() {
+ cd Js2Py-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd Js2Py-$pkgver
+ python simple_test.py
+}
+
+package() {
+ cd Js2Py-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
+}
More information about the arch-commits
mailing list