summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-09-30 09:33:49 +0000
committerwiz <wiz@pkgsrc.org>2013-09-30 09:33:49 +0000
commiteb557c4aeb2f572862d53e12c3c144e9f1dd92b4 (patch)
tree4c7c2cd8ccc2f61af34dcb7512279f87d00a2f16 /devel
parentc2091a5a6be9d1cf3e13ae9a12c40e24b928bcc0 (diff)
downloadpkgsrc-eb557c4aeb2f572862d53e12c3c144e9f1dd92b4.tar.gz
Update to 0.7.3:
0.7.3 (2013-07-02): - Do not report undefined name for generator expression and dict or set comprehension at class level. - Deprecate `Checker.pushFunctionScope` and `Checker.pushClassScope`: use `Checker.pushScope` instead. - Remove dependency on Unittest2 for the tests. 0.7.2 (2013-04-24): - Fix computation of `DoctestSyntaxError.lineno` and `col`. - Add boolean attribute `Checker.withDoctest` to ignore doctests. - If environment variable `PYFLAKES_NODOCTEST` is set, skip doctests. - Environment variable `PYFLAKES_BUILTINS` accepts a comma-separated list of additional built-in names. 0.7.1 (2013-04-23): - File `bin/pyflakes` was missing in tarball generated with distribute. - Fix reporting errors in non-ASCII filenames (Python 2.x). 0.7.0 (2013-04-17): - Add --version and --help options. - Support `python -m pyflakes` (Python 2.7 and Python 3.x). - Add attribute `Message.col` to report column offset. - Do not report redefinition of variable for a variable used in a list comprehension in a conditional. - Do not report redefinition of variable for generator expressions and set or dict comprehensions. - Do not report undefined name when the code is protected with a `NameError` exception handler. - Do not report redefinition of variable when unassigning a module imported for its side-effect. - Support special locals like `__tracebackhide__` for py.test. - Support checking doctests. - Fix issue with Turkish locale where `'i'.upper() == 'i'` in Python 2. 0.6.1 (2013-01-29): - Fix detection of variables in augmented assignments. 0.6.0 (2013-01-29): - Support Python 3 up to 3.3, based on the pyflakes3k project. - Preserve compatibility with Python 2.5 and all recent versions of Python. - Support custom reporters in addition to the default Reporter. - Allow function redefinition for modern property construction via property.setter/deleter. - Fix spurious redefinition warnings in conditionals. - Do not report undefined name in __all__ if import * is used. - Add WindowsError as a known built-in name on all platforms. - Support specifying additional built-ins in the `Checker` constructor. - Don't issue Unused Variable warning when using locals() in current scope. - Handle problems with the encoding of source files. - Remove dependency on Twisted for the tests. - Support `python setup.py test` and `python setup.py develop`. - Create script using setuptools `entry_points` to support all platforms, including Windows.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-flakes/Makefile12
-rw-r--r--devel/py-flakes/PLIST25
-rw-r--r--devel/py-flakes/distinfo9
3 files changed, 30 insertions, 16 deletions
diff --git a/devel/py-flakes/Makefile b/devel/py-flakes/Makefile
index d0e29f3efc6..1cddea11a78 100644
--- a/devel/py-flakes/Makefile
+++ b/devel/py-flakes/Makefile
@@ -1,9 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2013/01/03 14:15:32 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.2 2013/09/30 09:33:49 wiz Exp $
-DISTNAME= pyflakes-0.5.0
+DISTNAME= pyflakes-0.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://pypi.python.org/packages/source/p/pyflakes/
@@ -17,8 +15,8 @@ USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
-post-extract:
- ${MV} ${WRKSRC}/bin/pyflakes ${WRKSRC}/bin/pyflakes${PYVERSSUFFIX}
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/pyflakes ${DESTDIR}${PREFIX}/bin/pyflakes${PYVERSSUFFIX}
-.include "../../lang/python/extension.mk"
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-flakes/PLIST b/devel/py-flakes/PLIST
index f8f4d91a687..1a55d95f10a 100644
--- a/devel/py-flakes/PLIST
+++ b/devel/py-flakes/PLIST
@@ -1,14 +1,28 @@
-@comment $NetBSD: PLIST,v 1.1 2013/01/03 14:15:32 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.2 2013/09/30 09:33:49 wiz Exp $
bin/pyflakes${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pyflakes/__init__.py
${PYSITELIB}/pyflakes/__init__.pyc
${PYSITELIB}/pyflakes/__init__.pyo
+${PYSITELIB}/pyflakes/__main__.py
+${PYSITELIB}/pyflakes/__main__.pyc
+${PYSITELIB}/pyflakes/__main__.pyo
+${PYSITELIB}/pyflakes/api.py
+${PYSITELIB}/pyflakes/api.pyc
+${PYSITELIB}/pyflakes/api.pyo
${PYSITELIB}/pyflakes/checker.py
${PYSITELIB}/pyflakes/checker.pyc
${PYSITELIB}/pyflakes/checker.pyo
${PYSITELIB}/pyflakes/messages.py
${PYSITELIB}/pyflakes/messages.pyc
${PYSITELIB}/pyflakes/messages.pyo
+${PYSITELIB}/pyflakes/reporter.py
+${PYSITELIB}/pyflakes/reporter.pyc
+${PYSITELIB}/pyflakes/reporter.pyo
${PYSITELIB}/pyflakes/scripts/__init__.py
${PYSITELIB}/pyflakes/scripts/__init__.pyc
${PYSITELIB}/pyflakes/scripts/__init__.pyo
@@ -21,15 +35,18 @@ ${PYSITELIB}/pyflakes/test/__init__.pyo
${PYSITELIB}/pyflakes/test/harness.py
${PYSITELIB}/pyflakes/test/harness.pyc
${PYSITELIB}/pyflakes/test/harness.pyo
+${PYSITELIB}/pyflakes/test/test_api.py
+${PYSITELIB}/pyflakes/test/test_api.pyc
+${PYSITELIB}/pyflakes/test/test_api.pyo
+${PYSITELIB}/pyflakes/test/test_doctests.py
+${PYSITELIB}/pyflakes/test/test_doctests.pyc
+${PYSITELIB}/pyflakes/test/test_doctests.pyo
${PYSITELIB}/pyflakes/test/test_imports.py
${PYSITELIB}/pyflakes/test/test_imports.pyc
${PYSITELIB}/pyflakes/test/test_imports.pyo
${PYSITELIB}/pyflakes/test/test_other.py
${PYSITELIB}/pyflakes/test/test_other.pyc
${PYSITELIB}/pyflakes/test/test_other.pyo
-${PYSITELIB}/pyflakes/test/test_script.py
-${PYSITELIB}/pyflakes/test/test_script.pyc
-${PYSITELIB}/pyflakes/test/test_script.pyo
${PYSITELIB}/pyflakes/test/test_undefined_names.py
${PYSITELIB}/pyflakes/test/test_undefined_names.pyc
${PYSITELIB}/pyflakes/test/test_undefined_names.pyo
diff --git a/devel/py-flakes/distinfo b/devel/py-flakes/distinfo
index 8e0149def25..abbd369f7f0 100644
--- a/devel/py-flakes/distinfo
+++ b/devel/py-flakes/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.1 2013/01/03 14:15:32 ryoon Exp $
+$NetBSD: distinfo,v 1.2 2013/09/30 09:33:49 wiz Exp $
-SHA1 (pyflakes-0.5.0.tar.gz) = ce3688e26297e518c8b922209c3bece33d512352
-RMD160 (pyflakes-0.5.0.tar.gz) = f64abbfc19fc5dcd7ae94f4574c46c311d94dcf6
-Size (pyflakes-0.5.0.tar.gz) = 17635 bytes
-SHA1 (patch-setup.py) = 7bf428f4dc4fc826569b2d8bd4792d44e8358e9f
+SHA1 (pyflakes-0.7.3.tar.gz) = 7243404a3d583d68373e207b73e4f071b3b85cbd
+RMD160 (pyflakes-0.7.3.tar.gz) = 9d87627496875fdf1d05ea5a80181a89843969f7
+Size (pyflakes-0.7.3.tar.gz) = 30551 bytes