head	1.27;
access;
symbols
	pkgsrc-2026Q1:1.27.0.6
	pkgsrc-2026Q1-base:1.27
	pkgsrc-2025Q4:1.27.0.4
	pkgsrc-2025Q4-base:1.27
	pkgsrc-2025Q3:1.27.0.2
	pkgsrc-2025Q3-base:1.27
	pkgsrc-2025Q2:1.26.0.2
	pkgsrc-2025Q2-base:1.26
	pkgsrc-2025Q1:1.25.0.4
	pkgsrc-2025Q1-base:1.25
	pkgsrc-2024Q4:1.25.0.2
	pkgsrc-2024Q4-base:1.25
	pkgsrc-2024Q3:1.24.0.6
	pkgsrc-2024Q3-base:1.24
	pkgsrc-2024Q2:1.24.0.4
	pkgsrc-2024Q2-base:1.24
	pkgsrc-2024Q1:1.24.0.2
	pkgsrc-2024Q1-base:1.24
	pkgsrc-2023Q4:1.23.0.4
	pkgsrc-2023Q4-base:1.23
	pkgsrc-2023Q3:1.23.0.2
	pkgsrc-2023Q3-base:1.23
	pkgsrc-2023Q2:1.22.0.2
	pkgsrc-2023Q2-base:1.22
	pkgsrc-2023Q1:1.21.0.10
	pkgsrc-2023Q1-base:1.21
	pkgsrc-2022Q4:1.21.0.8
	pkgsrc-2022Q4-base:1.21
	pkgsrc-2022Q3:1.21.0.6
	pkgsrc-2022Q3-base:1.21
	pkgsrc-2022Q2:1.21.0.4
	pkgsrc-2022Q2-base:1.21
	pkgsrc-2022Q1:1.21.0.2
	pkgsrc-2022Q1-base:1.21
	pkgsrc-2021Q4:1.19.0.2
	pkgsrc-2021Q4-base:1.19
	pkgsrc-2021Q3:1.18.0.4
	pkgsrc-2021Q3-base:1.18
	pkgsrc-2021Q2:1.18.0.2
	pkgsrc-2021Q2-base:1.18
	pkgsrc-2021Q1:1.17.0.2
	pkgsrc-2021Q1-base:1.17
	pkgsrc-2020Q4:1.16.0.6
	pkgsrc-2020Q4-base:1.16
	pkgsrc-2020Q3:1.16.0.4
	pkgsrc-2020Q3-base:1.16
	pkgsrc-2020Q2:1.16.0.2
	pkgsrc-2020Q2-base:1.16
	pkgsrc-2020Q1:1.15.0.8
	pkgsrc-2020Q1-base:1.15
	pkgsrc-2019Q4:1.15.0.10
	pkgsrc-2019Q4-base:1.15
	pkgsrc-2019Q3:1.15.0.6
	pkgsrc-2019Q3-base:1.15
	pkgsrc-2019Q2:1.15.0.4
	pkgsrc-2019Q2-base:1.15
	pkgsrc-2019Q1:1.15.0.2
	pkgsrc-2019Q1-base:1.15
	pkgsrc-2018Q4:1.13.0.6
	pkgsrc-2018Q4-base:1.13
	pkgsrc-2018Q3:1.13.0.4
	pkgsrc-2018Q3-base:1.13
	pkgsrc-2018Q2:1.13.0.2
	pkgsrc-2018Q2-base:1.13
	pkgsrc-2018Q1:1.11.0.8
	pkgsrc-2018Q1-base:1.11
	pkgsrc-2017Q4:1.11.0.6
	pkgsrc-2017Q4-base:1.11
	pkgsrc-2017Q3:1.11.0.4
	pkgsrc-2017Q3-base:1.11
	pkgsrc-2017Q2:1.10.0.4
	pkgsrc-2017Q2-base:1.10
	pkgsrc-2017Q1:1.10.0.2
	pkgsrc-2017Q1-base:1.10
	pkgsrc-2016Q4:1.8.0.2
	pkgsrc-2016Q4-base:1.8
	pkgsrc-2016Q3:1.7.0.2
	pkgsrc-2016Q3-base:1.7
	pkgsrc-2016Q2:1.6.0.2
	pkgsrc-2016Q2-base:1.6
	pkgsrc-2016Q1:1.5.0.6
	pkgsrc-2016Q1-base:1.5
	pkgsrc-2015Q4:1.5.0.4
	pkgsrc-2015Q4-base:1.5
	pkgsrc-2015Q3:1.5.0.2
	pkgsrc-2015Q3-base:1.5
	pkgsrc-2015Q2:1.4.0.10
	pkgsrc-2015Q2-base:1.4
	pkgsrc-2015Q1:1.4.0.8
	pkgsrc-2015Q1-base:1.4
	pkgsrc-2014Q4:1.4.0.6
	pkgsrc-2014Q4-base:1.4
	pkgsrc-2014Q3:1.4.0.4
	pkgsrc-2014Q3-base:1.4
	pkgsrc-2014Q2:1.4.0.2
	pkgsrc-2014Q2-base:1.4
	pkgsrc-2014Q1:1.2.0.4
	pkgsrc-2014Q1-base:1.2
	pkgsrc-2013Q4:1.2.0.2
	pkgsrc-2013Q4-base:1.2
	pkgsrc-2013Q3:1.1.0.6
	pkgsrc-2013Q3-base:1.1
	pkgsrc-2013Q2:1.1.0.4
	pkgsrc-2013Q2-base:1.1
	pkgsrc-2013Q1:1.1.0.2
	pkgsrc-2013Q1-base:1.1;
locks; strict;
comment	@# @;


1.27
date	2025.07.01.19.36.05;	author wiz;	state Exp;
branches;
next	1.26;
commitid	qBTYGVgiXISmX41G;

1.26
date	2025.04.12.08.17.56;	author adam;	state Exp;
branches;
next	1.25;
commitid	sOcuTb6NRYR6MJQF;

1.25
date	2024.11.11.07.28.08;	author wiz;	state Exp;
branches;
next	1.24;
commitid	1fBDq3LwS98NncxF;

1.24
date	2024.01.07.16.18.45;	author wiz;	state Exp;
branches;
next	1.23;
commitid	xK0wUVSLbnDOfxTE;

1.23
date	2023.07.31.16.18.56;	author adam;	state Exp;
branches;
next	1.22;
commitid	gdDWGtb7wZKFoYyE;

1.22
date	2023.04.30.17.03.57;	author wiz;	state Exp;
branches;
next	1.21;
commitid	Pl450YO9FODwB9nE;

1.21
date	2022.01.05.15.41.04;	author wiz;	state Exp;
branches;
next	1.20;
commitid	FQ77UruBIUsgzsnD;

1.20
date	2022.01.04.20.53.05;	author wiz;	state Exp;
branches;
next	1.19;
commitid	CYyhdK9qtoffkmnD;

1.19
date	2021.11.04.13.43.11;	author adam;	state Exp;
branches;
next	1.18;
commitid	EdA6ubwSx40HUtfD;

1.18
date	2021.04.05.11.17.09;	author adam;	state Exp;
branches;
next	1.17;
commitid	DWHfEfpEe4fbX5OC;

1.17
date	2021.03.15.07.17.15;	author adam;	state Exp;
branches;
next	1.16;
commitid	piBlfCYlopaIinLC;

1.16
date	2020.04.10.05.55.30;	author adam;	state Exp;
branches;
next	1.15;
commitid	5DrAY08utkmdKN3C;

1.15
date	2019.03.01.08.49.40;	author adam;	state Exp;
branches;
next	1.14;
commitid	vFq2JzPWpyl8LDdB;

1.14
date	2019.01.24.09.19.25;	author adam;	state Exp;
branches;
next	1.13;
commitid	g3q8FMXDhXq1519B;

1.13
date	2018.06.18.11.17.15;	author adam;	state Exp;
branches;
next	1.12;
commitid	V3FUHqGI0Z7VNKGA;

1.12
date	2018.05.23.17.26.19;	author minskim;	state Exp;
branches;
next	1.11;
commitid	VwWVxPogWeCnGrDA;

1.11
date	2017.08.04.05.01.57;	author adam;	state Exp;
branches;
next	1.10;
commitid	e05EVXMpIdrXWQ1A;

1.10
date	2017.02.13.11.08.25;	author wen;	state Exp;
branches;
next	1.9;
commitid	uF2cQgQ321wpvMFz;

1.9
date	2017.01.03.13.23.02;	author jperkin;	state Exp;
branches;
next	1.8;
commitid	C9GLdDCVrmakywAz;

1.8
date	2016.12.17.11.45.18;	author adam;	state Exp;
branches;
next	1.7;
commitid	KkQt9p8gM7DFzkyz;

1.7
date	2016.08.28.15.48.30;	author wiz;	state Exp;
branches;
next	1.6;
commitid	rTBn3EBawNhbu5kz;

1.6
date	2016.06.08.17.43.25;	author wiz;	state Exp;
branches;
next	1.5;
commitid	z4yEulWexjFaJG9z;

1.5
date	2015.08.23.07.50.41;	author wen;	state Exp;
branches;
next	1.4;
commitid	3umLSSUW2eJFLmyy;

1.4
date	2014.04.11.18.04.11;	author wiz;	state Exp;
branches;
next	1.3;
commitid	rFfbHJOPIsUJciwx;

1.3
date	2014.03.31.08.30.53;	author wiz;	state Exp;
branches;
next	1.2;
commitid	16N4dR5gAwkZnPux;

1.2
date	2013.09.30.09.33.49;	author wiz;	state Exp;
branches;
next	1.1;
commitid	YNNsKvyqYcNfAr7x;

1.1
date	2013.01.03.14.15.32;	author ryoon;	state Exp;
branches;
next	;


desc
@@


1.27
log
@py-flakes: update to 3.4.0.

3.4.0 (2025-06-20)

- Add support for python 3.14
- Add "t-string is missing placeholders" error
- Fix annotation erroneously causing a name to be defined with
  ``from __future__ import annotations``
- Add support for always-deferred annotations (PEP 749)
@
text
@# $NetBSD: Makefile,v 1.26 2025/04/12 08:17:56 adam Exp $

DISTNAME=	pyflakes-3.4.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES=	devel python
MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyflakes/}

MAINTAINER=	kamel.derouiche@@gmail.com
HOMEPAGE=	https://github.com/PyCQA/pyflakes
COMMENT=	Passive checker of Python programs
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools

USE_LANGUAGES=	# none

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} pyflakes pyflakes-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.26
log
@py-flakes: updated to 3.3.2

3.3.2 (2025-03-31)

- Fix crash with ``global`` / ``nonlocal`` in class bodies (regressed in 3.3.0)

3.3.1 (2025-03-30)

- Allow assignment expressions to redefine annotations (regressed in 3.3.0)

3.3.0 (2025-03-29)

- Add ``__debuggerskip__`` as a special local
- Allow assignment expressions to redefine outer names
- Drop support for EOL python 3.8
- Add new error for unused ``global`` / ``nonlocal`` names
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2024/11/11 07:28:08 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-3.3.2
@


1.25
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2024/01/07 16:18:45 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-3.2.0
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
a16 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.24
log
@py-flakes: update to 3.2.0.

3.2.0 (2024-01-04)

- Add support for ``*T`` (TypeVarTuple) and ``**P`` (ParamSpec) in PEP 695
  annotations.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2023/07/31 16:18:56 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.23
log
@py-flakes: updated to 3.1.0

3.1.0 (2023-07-29)

- Drop support for EOL python 3.6 / 3.7
- Remove ``ContinueInFinally`` check (only relevant in python < 3.8)
- Fix forward annotations inside a nested scope
- Produce an error when a definition shadows an unused variable
- Fix accessed global annotation being redefined in a local scope
- Allow redefinition of functions across ``match`` arms
- Fix potential ``None`` for ``lineno`` during tokenization errors
- Add support for PEP 695 and python 3.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2023/04/30 17:03:57 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-3.1.0
d13 3
a17 2
USE_PKG_RESOURCES=	yes

d24 1
a24 1
.include "../../lang/python/egg.mk"
@


1.22
log
@py-flakes: update to 3.0.1.

3.0.1 (2022-11-24)

- Fix crash on augmented assign to ``print`` builtin

3.0.0 (2022-11-23)

- Detect undefined name in variable defined by an annotated assignment
- Add a new error for names which are annotated but unused
- Remove handling of python 2.x ``# type:`` comments.  Use annotations instead

2.5.0 (2022-07-30)

- Drop support for EOL python 2.7 / 3.4 / 3.5
- Ignore ``__all__`` when not directly assigned
- Handle ``TypeAlias`` annotations as aliases (PEP 613)
- Assignment expressions (``:=``) target outer scope in comprehensions
- Add support for new python 3.11 syntax
- Unify output so it is always ``filename:lineno:col:  message``
- Properly report ``SyntaxError`` from stdin in python < 3.9
- Fix offsets of ``SyntaxError``s in pypy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2022/01/05 15:41:04 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-3.0.1
a12 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

d17 2
@


1.21
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2022/01/04 20:53:05 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.4.0
a4 1
PKGREVISION=	2
d13 2
@


1.20
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2021/11/04 13:43:11 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d16 2
@


1.19
log
@py-flakes: updated to 2.4.0

2.4.0
- Remove unused tracing code (``traceTree``)
- Add support for ``match`` statement
- Detect ``typing`` module attributes when imported with ``import ... as ...``
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2021/04/05 11:17:09 adam Exp $
d5 1
@


1.18
log
@py-flakes: updated to 2.3.1

2.3.1:
- Fix regression in 2.3.0: type annotations no longer redefine imports
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2021/03/15 07:17:15 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.3.1
@


1.17
log
@py-flakes: updated to 2.3.0

2.3.0 (2021-03-14)

- Recognize tuple concatenation in ``__all__`` export definitions
- Better support use of annotation-only assignments when using
  ``from __future__ import annotations``
- Recognize special-case typing for ``Annotated``
- Fix undefined name ``__qualname__`` in class scope
- Recognize special-cased typing for ``TypeVar``
- Errors for undefined exports in ``__all__`` are shown in a deterministic order
- Fix false positives in certain typing constructs (``TypeVar``,
  ``NamedTuple``, ``TypedDict``, ``cast``)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2020/04/10 05:55:30 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.3.0
@


1.16
log
@py-flakes: updated to 2.2.0

2.2.0:
- Include column information in error messages
- Fix ``@@overload`` detection with other decorators and in non-global scopes
- Fix return-type annotation being a class member
- Fix assignment to ``_`` in doctests with existing ``_`` name
- Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to
  avoid conflicts with other libraries (notably bandit)
- Add check for f-strings without placeholders
- Add check for unused/extra/invalid ``'string literal'.format(...)``
- Add check for unused/extra/invalid ``'string literal % ...``
- Improve python shebang detection
- Allow type ignore to be followed by a code ``# type: ignore[attr-defined]``
- Add support for assignment expressions (PEP 572)
- Support ``@@overload`` detection from ``typing_extensions`` as well
- Fix ``@@overload`` detection for async functions
- Allow ``continue`` inside ``finally`` in python 3.8+
- Fix handling of annotations in positional-only arguments
- Make pyflakes more resistant to future syntax additions
- Fix false positives in partially quoted type annotations
- Warn about ``is`` comparison to tuples
- Fix ``Checker`` usage with async function subtrees
- Add check for ``if`` of non-empty tuple
- Switch from ``optparse`` to ``argparse``
- Fix false positives in partially quoted type annotations in unusual contexts
- Be more cautious when identifying ``Literal`` type expressions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2019/03/01 08:49:40 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.2.0
@


1.15
log
@py-flakes: updated to 2.1.1

2.1.1:
- Fix reported line number for type comment errors
- Fix typing.overload check to only check imported names
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2019/01/24 09:19:25 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.1.1
@


1.14
log
@py-flakes: updated to 2.1.0

Release 2.1.0
- Allow intentional assignment to variables named _
- Recognize __module__ as a valid name in class scope
- pyflakes.checker.Checker supports checking of partial ast trees
- Detect assign-before-use for local variables which shadow builtin names
- Detect invalid print syntax using >> operator
- Treat async for the same as a for loop for introducing variables
- Add detection for list concatenation in __all__
- Exempt @@typing.overload from duplicate function declaration
- Importing a submodule of an as-aliased import-import is marked as
  used
- Report undefined names from __all__ as possibly coming from a *
  import
- Add support for changes in Python 3.8-dev
- Add support for PEP 563 (from __future__ import annotations)
- Include Python version and platform information in pyflakes --version
- Recognize __annotations__ as a valid magic global in Python 3.6+
- Mark names used in PEP 484 # type: ... comments as used
- Add check for use of is operator with str, bytes, and int
  literals
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2018/06/18 11:17:15 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.1.0
@


1.13
log
@py-flakes: updated to 2.0.0

2.0.0 (2018-05-20)
- Drop support for EOL Python <2.7 and 3.2-3.3
- Check for unused exception binding in except: block
- Handle string literal type annotations
- Ignore redefinitions of _, unless originally defined by import
- Support __class__ without self in Python 3
- Issue an error for raise NotImplemented(...)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2018/05/23 17:26:19 minskim Exp $
d3 1
a3 1
DISTNAME=	pyflakes-2.0.0
d16 2
a17 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} pyflakes pyflakes${PYVERSSUFFIX} || ${TRUE}
@


1.12
log
@devel/py-flakes: Add ALTERNATIVES
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2017/08/04 05:01:57 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-1.6.0
a4 1
PKGREVISION=	1
@


1.11
log
@1.6.0:
- Process function scope variable annotations for used names
- Find Python files without extensions by their shebang
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2017/02/13 11:08:25 wen Exp $
d5 1
@


1.10
log
@Update to 1.5.0

Upstream changes:
1.5.0 (2017-01-09)
  - Enable support for PEP 526 annotated assignments

1.4.0 (2016-12-30):
  - Change formatting of ImportStarMessage to be consistent with other errors
  - Support PEP 498 "f-strings"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2017/01/03 13:23:02 jperkin Exp $
d3 1
a3 1
DISTNAME=	pyflakes-1.5.0
d9 1
a9 1
HOMEPAGE=	https://launchpad.net/pyflakes
a14 2
PYDISTUTILSPKG=	yes

d16 1
a16 1
	${MV} ${DESTDIR}${PREFIX}/bin/pyflakes ${DESTDIR}${PREFIX}/bin/pyflakes${PYVERSSUFFIX} || ${TRUE}
@


1.9
log
@Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2016/12/17 11:45:18 adam Exp $
d3 1
a3 1
DISTNAME=	pyflakes-1.3.0
@


1.8
log
@Changes 1.3.0:
- Fix PyPy2 Windows IntegrationTests
- Check for duplicate dictionary keys
- Fix TestMain tests on Windows
- Fix "continue" and "break" checks ignoring py3.5's "async for" loop
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2016/08/28 15:48:30 wiz Exp $
d18 1
a18 1
	${MV} ${DESTDIR}${PREFIX}/bin/pyflakes ${DESTDIR}${PREFIX}/bin/pyflakes${PYVERSSUFFIX}
@


1.7
log
@Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2016/06/08 17:43:25 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-0.9.2
d15 1
a15 1
PYDISTUTILSPKG= yes
@


1.6
log
@Switch to MASTER_SITES_PYPI.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/08/23 07:50:41 wen Exp $
a15 1
PLIST_SUBST+=	PYVERSSUFFIX=${PYVERSSUFFIX}
@


1.5
log
@Update to 0.9.2

Upstream changes:
0.9.2 (2015-06-17):
  - Fix a traceback when a global is defined in one scope, and used in another.

0.9.1 (2015-06-09):
  - Update NEWS.txt to include 0.9.0, which had been forgotten.

0.9.0 (2015-05-31):
  - Exit gracefully, not with a traceback, on SIGINT and SIGPIPE.
  - Fix incorrect report of undefined name when using lambda expressions in
    generator expressions.
  - Don't crash on DOS line endings on Windows and Python 2.6.
  - Don't report an undefined name if the 'del' which caused a name to become
    undefined is only conditionally executed.
  - Properly handle differences in list comprehension scope in Python 3.
  - Improve handling of edge cases around 'global' defined variables.
  - Report an error for 'return' outside a function.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2014/04/11 18:04:11 wiz Exp $
d6 1
a6 1
MASTER_SITES=	http://pypi.python.org/packages/source/p/pyflakes/
@


1.4
log
@Update to 0.8.1:

0.8.1 (2014-03-30):
  - Detect the declared encoding in Python 3.
  - Do not report redefinition of import in a local scope, if the
    global name is used elsewhere in the module.
  - Catch undefined variable in loop generator when it is also used as
    loop variable.
  - Report undefined name for `(a, b) = (1, 2)` but not for the general
    unpacking `(a, b) = func()`.
  - Correctly detect when an imported module is used in default arguments
    of a method, when the method and the module use the same name.
  - Distribute a universal wheel file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2014/03/31 08:30:53 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-0.8.1
@


1.3
log
@Update to 0.8:

0.8.0 (2014-03-22):
  - Adapt for the AST in Python 3.4.
  - Fix caret position on SyntaxError.
  - Fix crash on Python 2.x with some doctest SyntaxError.
  - Add tox.ini.
  - The `PYFLAKES_NODOCTEST` environment variable has been replaced with the
    `PYFLAKES_DOCTEST` environment variable (with the opposite meaning).
    Doctest checking is now disabled by default; set the environment variable
    to enable it.
  - Correctly parse incremental `__all__ += [...]`.
  - Catch return with arguments inside a generator (Python <= 3.2).
  - Do not complain about `_` in doctests.
  - Drop deprecated methods `pushFunctionScope` and `pushClassScope`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2013/09/30 09:33:49 wiz Exp $
d3 1
a3 1
DISTNAME=	pyflakes-0.8
@


1.2
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2013/01/03 14:15:32 ryoon Exp $
d3 1
a3 1
DISTNAME=	pyflakes-0.7.3
@


1.1
log
@Import py27-flakes-0.5.0nb1 as devel/py-flakes from wip/py-flakes

Pyflakes is similar to PyChecker in scope, but differs in that it does
not execute the modules to check them. This is both safer and faster,
although it does not perform as many checks. Unlike PyLint, Pyflakes
checks only for logical errors in programs; it does not perform any
checks on style
@
text
@d1 1
a1 2
# $NetBSD$
#
d3 1
a3 1
DISTNAME=	pyflakes-0.5.0
a4 1
PKGREVISION=	1
d18 2
a19 2
post-extract:
	${MV} ${WRKSRC}/bin/pyflakes ${WRKSRC}/bin/pyflakes${PYVERSSUFFIX}
d21 1
a21 1
.include "../../lang/python/extension.mk"
@

