[arch-commits] Commit in yapf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 6 06:55:22 UTC 2017
Date: Monday, February 6, 2017 @ 06:55:22
Author: felixonmars
Revision: 210307
archrelease: copy trunk to community-any
Added:
yapf/repos/community-any/PKGBUILD
(from rev 210306, yapf/trunk/PKGBUILD)
Deleted:
yapf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-02-06 06:55:08 UTC (rev 210306)
+++ PKGBUILD 2017-02-06 06:55:22 UTC (rev 210307)
@@ -1,52 +0,0 @@
-# $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:
Copied: yapf/repos/community-any/PKGBUILD (from rev 210306, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-02-06 06:55:22 UTC (rev 210307)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.16.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:
More information about the arch-commits
mailing list