[arch-commits] Commit in yapf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Aug 28 18:05:41 UTC 2018
Date: Tuesday, August 28, 2018 @ 18:05:40
Author: felixonmars
Revision: 375016
archrelease: copy trunk to community-any
Added:
yapf/repos/community-any/PKGBUILD
(from rev 375015, yapf/trunk/PKGBUILD)
Deleted:
yapf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-28 18:05:26 UTC (rev 375015)
+++ PKGBUILD 2018-08-28 18:05:40 UTC (rev 375016)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=yapf
-pkgname=("yapf" "python2-yapf")
-pkgver=0.22.0
-pkgrel=2
-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=('7a01c202bb5760c2b57117d30b3b6a7d40654b62f1c7885cfc2331a9ba6ef497ce8b8bc84b88efadc7a0ab7b9484916a03803f04fb0523241a2ff22678c53927')
-
-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 || warning "https://github.com/google/yapf/issues/586"
-
- 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 375015, yapf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-28 18:05:40 UTC (rev 375016)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=yapf
+pkgname=("yapf" "python2-yapf")
+pkgver=0.23.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=('4266156c19f261e0bea71ad2bcf199e7ab1169a99b88f0df1fa226adf13dba357c89c2b2374c67f98182ba13b4c37a28504132c263a1f3d3614c4bf95a4b0346')
+
+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 || warning "https://github.com/google/yapf/issues/586"
+
+ 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