[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 9 05:54:47 UTC 2017
Date: Monday, October 9, 2017 @ 05:54:47
Author: felixonmars
Revision: 262187
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 262186, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-09 05:54:22 UTC (rev 262186)
+++ PKGBUILD 2017-10-09 05:54:47 UTC (rev 262187)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.7.3
-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=('eee02f2fe6774ea056aba64196aa20bcad72eb6b880f82078cd9f33d40ce613180a610e0ac8976f2361655270a5e5b1aef5cfb0fec5a60cd66e23301ae6ac22b')
-
-prepare() {
- cp -a js-beautify-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/js-beautify-$pkgver/python
- python setup.py build
-
- cd "$srcdir"/js-beautify-$pkgver-py2/python
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/js-beautify-$pkgver/python
- python setup.py test
-
- cd "$srcdir"/js-beautify-$pkgver-py2/python
- python2 setup.py test
-}
-
-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-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 262186, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-09 05:54:47 UTC (rev 262187)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.7.4
+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=('b5251c0cc0dd4aff6b0a7fda07d2d91ccc4864765d7fea73bf2fd32c906366db5a16672fa4827d6c4038f07633c639536334cdf5e0c77736d378357d7fe143b5')
+
+prepare() {
+ cp -a js-beautify-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/js-beautify-$pkgver/python
+ python setup.py build
+
+ cd "$srcdir"/js-beautify-$pkgver-py2/python
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/js-beautify-$pkgver/python
+ python setup.py test
+
+ cd "$srcdir"/js-beautify-$pkgver-py2/python
+ python2 setup.py test
+}
+
+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-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