[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Oct 13 19:40:44 UTC 2018
Date: Saturday, October 13, 2018 @ 19:40:44
Author: felixonmars
Revision: 393296
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 393295, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-10-13 19:40:22 UTC (rev 393295)
+++ PKGBUILD 2018-10-13 19:40:44 UTC (rev 393296)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.8.6
-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=('19fda812e2e8220d2de82b9fc514de9d40adcd0da8d3f474badb7aa89900c6d3017f38407da5b2daa506c9f5e80e61be3eecd04354a3f882eb101ab37574043b')
-
-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 393295, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-10-13 19:40:44 UTC (rev 393296)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.8.7
+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=('8b6d213ab9d4fb51efa7a77a681df2bf630d982158c65e69a35f1e422b452c8bba3ab9c78af9276463c8f13adc9e949a696ffebecef0c06db800ebbc0b12cbf3')
+
+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