[arch-commits] Commit in python-jsbeautifier/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun May 14 02:48:14 UTC 2017
Date: Sunday, May 14, 2017 @ 02:48:13
Author: felixonmars
Revision: 227927
archrelease: copy trunk to community-any
Added:
python-jsbeautifier/repos/community-any/PKGBUILD
(from rev 227926, python-jsbeautifier/trunk/PKGBUILD)
Deleted:
python-jsbeautifier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 111 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-14 02:47:34 UTC (rev 227926)
+++ PKGBUILD 2017-05-14 02:48:13 UTC (rev 227927)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-jsbeautifier
-pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
-pkgver=1.6.12
-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 227926, python-jsbeautifier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-05-14 02:48:13 UTC (rev 227927)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-jsbeautifier
+pkgname=('python-jsbeautifier' 'python2-jsbeautifier')
+pkgver=1.6.14
+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=('dbe7e658fc07863cac67dc3f179e0ee006b8a483b81d081905f354827ea635a3e36534594d8dc5935a8e74847957820a23718dc72651b8e5cd842bd8aa06609e')
+
+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