[arch-commits] Commit in autopep8/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jul 4 15:35:51 UTC 2016


    Date: Monday, July 4, 2016 @ 15:35:50
  Author: felixonmars
Revision: 182213

upgpkg: autopep8 2.0a1-1

Modified:
  autopep8/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-07-04 15:32:13 UTC (rev 182212)
+++ PKGBUILD	2016-07-04 15:35:50 UTC (rev 182213)
@@ -5,14 +5,15 @@
 
 pkgbase=autopep8
 pkgname=(autopep8 python2-autopep8)
-pkgver=1.2.4
+pkgver=2.0a1
+_commit=152dcbcba066848c3c6dd333821f66a05ab60b95
 pkgrel=1
 pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
 arch=('any')
 url="http://github.com/hhatto/autopep8"
 license=('MIT')
-makedepends=('pep8' 'python2-pep8' 'git')
-source=("git+https://github.com/hhatto/autopep8.git#tag=v$pkgver")
+makedepends=('python-pycodestyle' 'python2-pycodestyle' 'git')
+source=("git+https://github.com/hhatto/autopep8.git#commit=$_commit")
 sha256sums=('SKIP')
 
 prepare() {
@@ -38,7 +39,7 @@
 }
 
 package_autopep8() {
-  depends=('pep8')
+  depends=('python-pycodestyle')
 
   cd autopep8
   python3 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
@@ -47,7 +48,7 @@
 }
 
 package_python2-autopep8() {
-  depends=('python2-pep8')
+  depends=('python2-pycodestyle')
 
   cd autopep8-py2
   python2 setup.py install -O1 --prefix=/usr --root="$pkgdir/"



More information about the arch-commits mailing list