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

Daniel M. Capella polyzen at archlinux.org
Sun Aug 23 15:40:59 UTC 2020


    Date: Sunday, August 23, 2020 @ 15:40:59
  Author: polyzen
Revision: 687115

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-23 15:40:36 UTC (rev 687114)
+++ PKGBUILD	2020-08-23 15:40:59 UTC (rev 687115)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=('python-jsbeautifier' 'python-cssbeautifier')
-pkgbase=python-jsbeautifier
-pkgver=1.12.0
-pkgrel=1
-arch=('any')
-license=('MIT')
-url='https://github.com/beautify-web/js-beautify'
-depends=('python-setuptools' 'python-six' 'python-editorconfig')
-source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz")
-sha512sums=('ebbcc5d2487145df05965115a87da3ed61209b4a226fae61f63378cee6266e0f3d22eedb61aa4aa2b9ebe46e723d0a2b7edcb006af008b3b97391c56dafbe5a0')
-
-prepare() {
-  cd js-beautify-$pkgver
-  cp -a python python-css
-}
-
-build() {
-  cd js-beautify-$pkgver/python
-  python setup.py build
-  cd ../python-css
-  python setup-css.py build
-}
-
-check() {
-  cd js-beautify-$pkgver
-  # Use python-css to avoid rebuilding cssbeautifier
-  python python-css/js-beautify-test.py
-}
-
-package_python-jsbeautifier() {
-  pkgdesc='JavaScript unobfuscator and beautifier'
-  cd js-beautify-$pkgver/python
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[0]}" ../LICENSE
-}
-
-package_python-cssbeautifier() {
-  pkgdesc='CSS unobfuscator and beautifier'
-  depends+=('python-jsbeautifier')
-  cd js-beautify-$pkgver/python-css
-  python setup-css.py install --root="$pkgdir" --optimize=1 --skip-build
-  rm -r "$pkgdir"/usr/{bin/js-beautify,lib/python3.8/site-packages/jsbeautifier{,-$pkgver-py3.8.egg-info}}
-  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
-}

Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 687114, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-23 15:40:59 UTC (rev 687115)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=('python-jsbeautifier' 'python-cssbeautifier')
+pkgbase=python-jsbeautifier
+pkgver=1.13.0
+pkgrel=1
+arch=('any')
+license=('MIT')
+url='https://github.com/beautify-web/js-beautify'
+depends=('python-setuptools' 'python-six' 'python-editorconfig')
+source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz")
+sha512sums=('a60a71f8ef1b3751ab32fa5884bc07d46f2f02ce06d3527e15ef4d709eae625677b31a69990e56da859ad6c72aefe41992155cfaaeea8590dd505003ccfd7979')
+
+prepare() {
+  cd js-beautify-$pkgver
+  cp -a python python-css
+}
+
+build() {
+  cd js-beautify-$pkgver/python
+  python setup-js.py build
+  cd ../python-css
+  python setup-css.py build
+}
+
+check() {
+  cd js-beautify-$pkgver
+  python python/js-beautify-test.py
+}
+
+package_python-jsbeautifier() {
+  pkgdesc='JavaScript unobfuscator and beautifier'
+  cd js-beautify-$pkgver/python
+  python setup-js.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[0]}" ../LICENSE
+}
+
+package_python-cssbeautifier() {
+  pkgdesc='CSS unobfuscator and beautifier'
+  depends+=('python-jsbeautifier')
+  cd js-beautify-$pkgver/python-css
+  python setup-css.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
+}



More information about the arch-commits mailing list