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

Felix Yan felixonmars at archlinux.org
Tue Oct 18 14:54:36 UTC 2016


    Date: Tuesday, October 18, 2016 @ 14:54:35
  Author: felixonmars
Revision: 192519

archrelease: copy trunk to community-any

Added:
  yapf/repos/community-any/PKGBUILD
    (from rev 192518, yapf/trunk/PKGBUILD)
Deleted:
  yapf/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-18 14:54:18 UTC (rev 192518)
+++ PKGBUILD	2016-10-18 14:54:35 UTC (rev 192519)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.13.0
-pkgrel=1
-pkgdesc="Python style guide checker"
-arch=('any')
-url="http://github.com/google/yapf"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-nose' 'python2-nose')
-source=("git+https://github.com/google/yapf.git#tag=v$pkgver")
-sha256sums=('SKIP')
-
-prepare() {
-  cp -a yapf{,-py2}
-}
-
-build() {
-  cd "$srcdir"/yapf
-  python setup.py build
-
-  cd "$srcdir"/yapf-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/yapf
-  nosetests3
-
-  cd "$srcdir"/yapf-py2
-  nosetests2
-}
-
-package_yapf() {
-  depends=('python-setuptools')
-
-  cd yapf
-  python setup.py install -O1 --root="$pkgdir"
-}
-
-package_python2-yapf() {
-  depends=('python2-setuptools')
-
-  cd yapf-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  mv "$pkgdir"/usr/bin/yapf{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: yapf/repos/community-any/PKGBUILD (from rev 192518, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-18 14:54:35 UTC (rev 192519)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.13.1
+pkgrel=1
+pkgdesc="Python style guide checker"
+arch=('any')
+url="http://github.com/google/yapf"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose')
+source=("git+https://github.com/google/yapf.git#tag=v$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cp -a yapf{,-py2}
+}
+
+build() {
+  cd "$srcdir"/yapf
+  python setup.py build
+
+  cd "$srcdir"/yapf-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/yapf
+  nosetests3
+
+  cd "$srcdir"/yapf-py2
+  nosetests2
+}
+
+package_yapf() {
+  depends=('python-setuptools')
+
+  cd yapf
+  python setup.py install -O1 --root="$pkgdir"
+}
+
+package_python2-yapf() {
+  depends=('python2-setuptools')
+
+  cd yapf-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  mv "$pkgdir"/usr/bin/yapf{,2}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list