pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-autopep8 py-autopep8: updated to 1.4.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79ce8718c750
branches:  trunk
changeset: 386391:79ce8718c750
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 18 10:17:25 2018 +0000

description:
py-autopep8: updated to 1.4.1

version 1.4.1:
add W504 fixed method
add E402 fixed method
new feature: reading from .flake8 and $HOME/.pycodestyle file that using as autopep8's configuration, and add configuration section into README ()
add --exit-code command line option
case of if --exit-code option is False. this is default
return 1 when error occured
otherwise return 0 (command successful)
case of if --exit-code option is True
return 1 when error occured
return 2 when exists changes in files (command successful)
otherwise return 0 (command successful)
This option is valid for any operating mode such as --diff, --in-place, non option etc
fix bugs

diffstat:

 devel/py-autopep8/Makefile |   7 ++++---
 devel/py-autopep8/distinfo |  10 +++++-----
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (37 lines):

diff -r 54cb19393873 -r 79ce8718c750 devel/py-autopep8/Makefile
--- a/devel/py-autopep8/Makefile        Thu Oct 18 10:15:18 2018 +0000
+++ b/devel/py-autopep8/Makefile        Thu Oct 18 10:17:25 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.6 2018/09/21 10:46:58 adam Exp $
+# $NetBSD: Makefile,v 1.7 2018/10/18 10:17:25 adam Exp $
 
-DISTNAME=      autopep8-1.4
+DISTNAME=      autopep8-1.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/autopep8/}
@@ -15,7 +15,8 @@
 USE_LANGUAGES= # none
 
 post-install:
-       cd ${DESTDIR}${PREFIX}/bin && ${MV} autopep8 autopep8-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && \
+               ${MV} autopep8 autopep8-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 54cb19393873 -r 79ce8718c750 devel/py-autopep8/distinfo
--- a/devel/py-autopep8/distinfo        Thu Oct 18 10:15:18 2018 +0000
+++ b/devel/py-autopep8/distinfo        Thu Oct 18 10:17:25 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/09/21 10:46:58 adam Exp $
+$NetBSD: distinfo,v 1.6 2018/10/18 10:17:25 adam Exp $
 
-SHA1 (autopep8-1.4.tar.gz) = d439f905742a5c450f0a131afa0c6060b58e6aab
-RMD160 (autopep8-1.4.tar.gz) = faadbda8660fe14c088533a062dc53851601df42
-SHA512 (autopep8-1.4.tar.gz) = ec7dd7879140119227f30bd87bb416a74c402ff1c0b32f45103847774fc33de99d51d1815991441c20e3c81b3fdef73bc4563899da5a6d17b1e682e42f53754b
-Size (autopep8-1.4.tar.gz) = 107925 bytes
+SHA1 (autopep8-1.4.1.tar.gz) = 1e795c0b08e42a894c9d800657da7f9daa9d0568
+RMD160 (autopep8-1.4.1.tar.gz) = 8d06d10fa0c3d4fe939ba6e96d95a6694237caf0
+SHA512 (autopep8-1.4.1.tar.gz) = 47884f245f67a4a5f108cb2660c08607809cd118b2cc4daf85a1f115a55d32ccf743a6787c493310ed67cfb4e808822b555e7fd04baa40ca21f16117d82f965a
+Size (autopep8-1.4.1.tar.gz) = 113238 bytes



Home | Main Index | Thread Index | Old Index