[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 26 21:38:43 UTC 2019
Date: Tuesday, March 26, 2019 @ 21:38:42
Author: felixonmars
Revision: 443724
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 443723, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-26 21:38:26 UTC (rev 443723)
+++ PKGBUILD 2019-03-26 21:38:42 UTC (rev 443724)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.9.0
-pkgrel=1
-pkgdesc='JavaScript unobfuscator and beautifier'
-arch=('any')
-license=('MIT')
-url='https://github.com/beautify-web/js-beautify'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-editorconfig' 'python2-editorconfig')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/beautify-web/js-beautify/archive/v$pkgver.tar.gz")
-sha512sums=('cd9d21c0d2fcfeb357023713c5ff653d5d1dbdae593eded230b1604cd3df5ba8893c71ab65c3351f18a4c4d985e39daf3a97abfb2b3a5f6306dfa52140e0de15')
-
-build() {
- cd js-beautify-$pkgver/python
- python setup.py build
- python2 setup.py build
-}
-
-check() {
- cd js-beautify-$pkgver/python
- python setup.py test || warning "Broken tests"
- python2 setup.py test || warning "Broken tests"
-}
-
-package_python-jsbeautifier() {
- depends=('python-six' 'python-editorconfig')
-
- cd js-beautify-$pkgver/python
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-jsbeautifier() {
- depends=('python2-six' 'python2-editorconfig')
-
- cd js-beautify-$pkgver/python
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
- mv "$pkgdir"/usr/bin/js-beautify{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 443723, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-03-26 21:38:42 UTC (rev 443724)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.9.1
+pkgrel=1
+pkgdesc='JavaScript unobfuscator and beautifier'
+arch=('any')
+license=('MIT')
+url='https://github.com/beautify-web/js-beautify'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-editorconfig' 'python2-editorconfig')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/beautify-web/js-beautify/archive/v$pkgver.tar.gz")
+sha512sums=('aa584be3ecdef15e65a4e5bbb519cb07b76bf23be0049aeb92b26986283e20f419f780b31b23cbae4796f9a37c39d318a7ab3749aa2966c0518b931db31d2b9b')
+
+build() {
+ cd js-beautify-$pkgver/python
+ python setup.py build
+ python2 setup.py build
+}
+
+check() {
+ cd js-beautify-$pkgver/python
+ python setup.py test || warning "Broken tests"
+ python2 setup.py test || warning "Broken tests"
+}
+
+package_python-jsbeautifier() {
+ depends=('python-six' 'python-editorconfig')
+
+ cd js-beautify-$pkgver/python
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-jsbeautifier() {
+ depends=('python2-six' 'python2-editorconfig')
+
+ cd js-beautify-$pkgver/python
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 ../LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+ mv "$pkgdir"/usr/bin/js-beautify{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list