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

Felix Yan felixonmars at archlinux.org
Tue Apr 7 00:36:12 UTC 2020


    Date: Tuesday, April 7, 2020 @ 00:35:58
  Author: felixonmars
Revision: 612230

archrelease: copy trunk to community-any

Added:
  autopep8/repos/community-any/PKGBUILD
    (from rev 612229, autopep8/trunk/PKGBUILD)
Deleted:
  autopep8/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-07 00:35:40 UTC (rev 612229)
+++ PKGBUILD	2020-04-07 00:35:58 UTC (rev 612230)
@@ -1,59 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Ismael Carnales <icarnales at gmail dot com>
-# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
-
-pkgbase=autopep8
-pkgname=(autopep8 python2-autopep8)
-pkgver=1.5
-pkgrel=1
-epoch=1
-pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
-arch=('any')
-url="https://github.com/hhatto/autopep8"
-license=('MIT')
-makedepends=('python-pycodestyle' 'python2-pycodestyle')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/hhatto/autopep8/archive/v$pkgver.tar.gz")
-sha512sums=('d1d9f8f2589ff5c8d65c644abd494d88aa3a2810973a249663cbc2e0ed7abc351be1d98c3de3e45e00bb401b1e5ca0a1a3d1875a05bce39a2afbb5706b683b37')
-
-prepare() {
-  cp -a autopep8-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/autopep8-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/autopep8-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  export LC_CTYPE=en_US.UTF-8
-
-  cd "$srcdir"/autopep8-$pkgver
-  python setup.py test
-
-  cd "$srcdir"/autopep8-$pkgver-py2
-  python2 setup.py test
-}
-
-package_autopep8() {
-  depends=('python-pycodestyle')
-
-  cd autopep8-$pkgver
-  python3 setup.py install -O1 --prefix=/usr --root="$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-autopep8() {
-  depends=('python2-pycodestyle')
-
-  cd autopep8-$pkgver-py2
-  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
-  mv "$pkgdir"/usr/bin/autopep8{,-python2}
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:

Copied: autopep8/repos/community-any/PKGBUILD (from rev 612229, autopep8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-07 00:35:58 UTC (rev 612230)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ismael Carnales <icarnales at gmail dot com>
+# Contributor: Sergey Mastykov <smastykov[at]gmail[dot]com>
+
+pkgbase=autopep8
+pkgname=(autopep8 python2-autopep8)
+pkgver=1.5.1
+pkgrel=1
+epoch=1
+pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
+arch=('any')
+url="https://github.com/hhatto/autopep8"
+license=('MIT')
+makedepends=('python-pycodestyle' 'python2-pycodestyle')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/hhatto/autopep8/archive/v$pkgver.tar.gz")
+sha512sums=('eeb7668aa7b470a12b4fa08ecbdc120d7fa01405565f2e43f26d5e419a904317545ee921acadf1f4676ba72811691f86e79f8bcddb10b53976f955430a1fc912')
+
+prepare() {
+  cp -a autopep8-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/autopep8-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/autopep8-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  export LC_CTYPE=en_US.UTF-8
+
+  cd "$srcdir"/autopep8-$pkgver
+  python setup.py test
+
+  cd "$srcdir"/autopep8-$pkgver-py2
+  python2 setup.py test
+}
+
+package_autopep8() {
+  depends=('python-pycodestyle')
+
+  cd autopep8-$pkgver
+  python3 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-autopep8() {
+  depends=('python2-pycodestyle')
+
+  cd autopep8-$pkgver-py2
+  python2 setup.py install -O1 --prefix=/usr --root="$pkgdir"
+  mv "$pkgdir"/usr/bin/autopep8{,-python2}
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list