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

Felix Yan felixonmars at archlinux.org
Tue Feb 21 09:54:10 UTC 2017


    Date: Tuesday, February 21, 2017 @ 09:54:09
  Author: felixonmars
Revision: 213293

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-21 09:53:46 UTC (rev 213292)
+++ PKGBUILD	2017-02-21 09:54:09 UTC (rev 213293)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.6.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'
-             'git')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("git+https://github.com/beautify-web/js-beautify.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
-  cp -a js-beautify{,-py2}
-}
-
-build() {
-  cd "$srcdir"/js-beautify/python
-  python setup.py build
-
-  cd "$srcdir"/js-beautify-py2/python
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/js-beautify/python
-  python setup.py test
-
-  cd "$srcdir"/js-beautify-py2/python
-  python2 setup.py test
-}
-
-package_python-jsbeautifier() {
-  depends=('python-six' 'python-editorconfig')
-
-  cd js-beautify/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-py2/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 213292, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-02-21 09:54:09 UTC (rev 213293)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.6.10
+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'
+             'git')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("git+https://github.com/beautify-web/js-beautify.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+  cp -a js-beautify{,-py2}
+}
+
+build() {
+  cd "$srcdir"/js-beautify/python
+  python setup.py build
+
+  cd "$srcdir"/js-beautify-py2/python
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/js-beautify/python
+  python setup.py test
+
+  cd "$srcdir"/js-beautify-py2/python
+  python2 setup.py test
+}
+
+package_python-jsbeautifier() {
+  depends=('python-six' 'python-editorconfig')
+
+  cd js-beautify/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-py2/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