Date: Tuesday, February 13, 2018 @ 04:51:25
  Author: felixonmars
Revision: 293757

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-13 04:50:56 UTC (rev 293756)
+++ PKGBUILD    2018-02-13 04:51:25 UTC (rev 293757)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.20.1
-pkgrel=1
-pkgdesc="Python style guide checker"
-arch=('any')
-url="https://github.com/google/yapf";
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/yapf/archive/v$pkgver.tar.gz";)
-sha512sums=('87ab21283b1d2bb319db5c3ed810bf84a5aa9491f04178f186ab84beb6bf4f1052d52d1f7b30d7c1b5ea41c077976fc3ff43683a44b8b3e9170cbb21047e5177')
-
-prepare() {
-  cp -a yapf-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/yapf-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/yapf-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/yapf-$pkgver
-  nosetests3
-
-  cd "$srcdir"/yapf-$pkgver-py2
-  nosetests2
-}
-
-package_yapf() {
-  depends=('python-setuptools')
-
-  cd yapf-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-}
-
-package_python2-yapf() {
-  depends=('python2-setuptools')
-
-  cd yapf-$pkgver-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 293756, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-13 04:51:25 UTC (rev 293757)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.20.2
+pkgrel=1
+pkgdesc="Python style guide checker"
+arch=('any')
+url="https://github.com/google/yapf";
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/google/yapf/archive/v$pkgver.tar.gz";)
+sha512sums=('49377db389492fb31e15f0086a98ce4079b834abde3b9c52a3b7cc62ef07383c4f809cbcbe4df518851752d73cee49b4fee41b2b79400933833003ebd8366b9a')
+
+prepare() {
+  cp -a yapf-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/yapf-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/yapf-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/yapf-$pkgver
+  nosetests3
+
+  cd "$srcdir"/yapf-$pkgver-py2
+  nosetests2
+}
+
+package_yapf() {
+  depends=('python-setuptools')
+
+  cd yapf-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+}
+
+package_python2-yapf() {
+  depends=('python2-setuptools')
+
+  cd yapf-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  mv "$pkgdir"/usr/bin/yapf{,2}
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to