[arch-commits] Commit in yapf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Oct 17 15:54:22 UTC 2016
Date: Monday, October 17, 2016 @ 15:54:21
Author: felixonmars
Revision: 192458
archrelease: copy trunk to community-any
Added:
yapf/repos/community-any/PKGBUILD
(from rev 192457, yapf/trunk/PKGBUILD)
Deleted:
yapf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-17 15:54:04 UTC (rev 192457)
+++ PKGBUILD 2016-10-17 15:54:21 UTC (rev 192458)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.12.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 192457, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-17 15:54:21 UTC (rev 192458)
@@ -0,0 +1,52 @@
+# $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:
More information about the arch-commits
mailing list