[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Dec 8 05:58:35 UTC 2017
Date: Friday, December 8, 2017 @ 05:58:34
Author: felixonmars
Revision: 273229
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 273228, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-08 05:58:09 UTC (rev 273228)
+++ PKGBUILD 2017-12-08 05:58:34 UTC (rev 273229)
@@ -1,55 +0,0 @@
-# $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:
Copied: python-jsbeautifier/repos/community-any/PKGBUILD (from rev 273228, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-08 05:58:34 UTC (rev 273229)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.7.5
+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=('873b84ee7d10d0db9e6de6e6ba170d7beebafcb16bca262b5ad6db644d6bfbac6c4ad7cd3b6774ad002224720d6a1e520f78c019a9c846cea5a3dab73e1a26b8')
+
+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