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

Felix Yan felixonmars at archlinux.org
Thu Nov 16 09:11:05 UTC 2017


    Date: Thursday, November 16, 2017 @ 09:11:03
  Author: felixonmars
Revision: 266928

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-16 09:10:36 UTC (rev 266927)
+++ PKGBUILD	2017-11-16 09:11:03 UTC (rev 266928)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.19.0
-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=('2e302fca81b45693faaca6ff7176d52cdd052e6c499be55b34b1556f24f4f4e5bb5c84ea802f5356bf99f1b0d0b0aeb220baa164ff498b2c98346456daa22c7a')
-
-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 266927, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-16 09:11:03 UTC (rev 266928)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.20.0
+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=('878246ab440e539fc330f99dfb350b35a062859decf888e4d81fe721e81fd399e9c9a1db52c0fb884eb0f753d5f87d8b7ae376e2ac23b194af47156854516460')
+
+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:


More information about the arch-commits mailing list