[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 3 21:07:33 UTC 2019


    Date: Friday, May 3, 2019 @ 21:07:33
  Author: felixonmars
Revision: 458767

archrelease: copy trunk to community-any

Added:
  python-jsbeautifier/repos/community-any/PKGBUILD
    (from rev 458766, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
  python-jsbeautifier/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-03 21:07:23 UTC (rev 458766)
+++ PKGBUILD	2019-05-03 21:07:33 UTC (rev 458767)
@@ -1,46 +0,0 @@
-# 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:

Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 458766, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-03 21:07:33 UTC (rev 458767)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.10.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=('0a5d9f2e5d4701926fb4b6ebab8f9ba22b2ea96945e7cf8ba317e8960611e07a08e9b9b7b5b1b45c43bff6bcb53fef7f90b38dff0a5b70f43c89bbce68d1c9f5')
+
+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