[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jan 12 13:13:04 UTC 2021
Date: Tuesday, January 12, 2021 @ 13:13:01
Author: felixonmars
Revision: 819877
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 819876, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-01-12 13:12:45 UTC (rev 819876)
+++ PKGBUILD 2021-01-12 13:13:01 UTC (rev 819877)
@@ -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.13.0
-pkgrel=4
-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
- export PYTHONHASHSEED=0
- 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
- export PYTHONHASHSEED=0
- python setup-css.py install --root="$pkgdir" --optimize=1 --skip-build
- install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
-}
Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 819876, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-01-12 13:13:01 UTC (rev 819877)
@@ -0,0 +1,47 @@
+# 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.1
+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=('e9a2ef59c921ffdf9546ff411200d6c260fa4ff1a80b1af16fe901a9de189c168ead5edef1e6fd365565ae4fbd6ad35a70adfb98fb1ba5692b532f84adb1b070')
+
+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
+ export PYTHONHASHSEED=0
+ 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
+ export PYTHONHASHSEED=0
+ 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