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

Felix Yan felixonmars at archlinux.org
Fri Dec 7 10:05:36 UTC 2018


    Date: Friday, December 7, 2018 @ 10:05:34
  Author: felixonmars
Revision: 412048

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-07 10:05:16 UTC (rev 412047)
+++ PKGBUILD	2018-12-07 10:05:34 UTC (rev 412048)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.8.8
-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=('33eb05c84ac622931f80b91cca4b8233f07b7c5261ed0b94b043ce73983a731af76cf88fa3a8b198cebed8eab97751c96b91f0c19e8c6853bf39ac7a667c7d30')
-
-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 412047, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-07 10:05:34 UTC (rev 412048)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.8.9
+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=('ad4485f008d0b2a0c37f581d9c921fd7e96360eeba84cf4fbc48a31547ad9be7d3d1c3908798dc539d4c8938148a432a96bf1f5d3ffdef706135dffd308fda77')
+
+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