Date: Saturday, April 8, 2023 @ 05:43:52
Author: felixonmars
Revision: 1441787
archrelease: copy trunk to community-staging-any
Added:
python-jsbeautifier/repos/community-staging-any/PKGBUILD
(from rev 1441785, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-08 05:43:49 UTC (rev 1441786)
+++ PKGBUILD 2023-04-08 05:43:52 UTC (rev 1441787)
@@ -1,49 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=('python-jsbeautifier' 'python-cssbeautifier')
-pkgbase=python-jsbeautifier
-pkgver=1.14.7
-pkgrel=2
-arch=('any')
-license=('MIT')
-url='https://github.com/beautify-web/js-beautify'
-depends=('python-editorconfig' 'python-six')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
- 'python-wheel')
-source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz")
-b2sums=('42353a2e7a89006e13c2a505f1cb0d3e379f778c3d874ac3c4824aa287030e2a18129ae26de7d8ad0d54e6506e95587b515d80b7307ca9cda0dc8592c9a41975')
-
-prepare() {
- cd js-beautify-$pkgver
- cp -a python python-css
-}
-
-build() {
- cd js-beautify-$pkgver/python
- mv setup-js.py setup.py
- python -m build --wheel --skip-dependency-check --no-isolation
- cd ../python-css
- mv setup-css.py setup.py
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-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 -m installer --destdir="$pkgdir" dist/*.whl
- 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 -m installer --destdir="$pkgdir" dist/*.whl
- install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
-}
Copied: python-jsbeautifier/repos/community-staging-any/PKGBUILD (from rev
1441785, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-08 05:43:52 UTC (rev 1441787)
@@ -0,0 +1,49 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=('python-jsbeautifier' 'python-cssbeautifier')
+pkgbase=python-jsbeautifier
+pkgver=1.14.7
+pkgrel=3
+arch=('any')
+license=('MIT')
+url='https://github.com/beautify-web/js-beautify'
+depends=('python-editorconfig' 'python-six')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
+source=("https://github.com/beautify-web/js-beautify/archive/v$pkgver/js-beautify-v$pkgver.tar.gz")
+b2sums=('42353a2e7a89006e13c2a505f1cb0d3e379f778c3d874ac3c4824aa287030e2a18129ae26de7d8ad0d54e6506e95587b515d80b7307ca9cda0dc8592c9a41975')
+
+prepare() {
+ cd js-beautify-$pkgver
+ cp -a python python-css
+}
+
+build() {
+ cd js-beautify-$pkgver/python
+ mv setup-js.py setup.py
+ python -m build --wheel --skip-dependency-check --no-isolation
+ cd ../python-css
+ mv setup-css.py setup.py
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+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 -m installer --destdir="$pkgdir" dist/*.whl
+ 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 -m installer --destdir="$pkgdir" dist/*.whl
+ install -D -m644 -t "$pkgdir"/usr/share/licenses/"${pkgname[1]}" ../LICENSE
+}