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

Felix Yan felixonmars at archlinux.org
Mon Jan 30 14:49:45 UTC 2017


    Date: Monday, January 30, 2017 @ 14:49:45
  Author: felixonmars
Revision: 209510

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-30 14:49:29 UTC (rev 209509)
+++ PKGBUILD	2017-01-30 14:49:45 UTC (rev 209510)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.15.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:

Copied: yapf/repos/community-any/PKGBUILD (from rev 209509, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-30 14:49:45 UTC (rev 209510)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.15.2
+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