Skip to content

Commit

Permalink
py-argcomplete: update to 3.0.8.
Browse files Browse the repository at this point in the history
Changes for v3.0.8 (2023-04-23)
===============================

-  Test suite shell wrapper: Accept OSError on exit

Changes for v3.0.7 (2023-04-23)
===============================

-  Test suite: Use general regex to cut zsh reset ANSI sequences (#425)

Changes for v3.0.6 (2023-04-22)
===============================

-  Allow importlib-metadata 6.x; skip test failures on Python 3.7 (#420,
   #424)

-  Note completers can return iterables of strings, not just lists
   (#422)

-  Documentation and test improvements

Changes for v3.0.5 (2023-03-25)
===============================

-  Call \_default as fallback in zsh global completion hook

-  Begin support for mapping-emitting completers

Changes for v3.0.4 (2023-03-21)
===============================

-  activate-global-python-argcomplete: do not overwrite existing dotfile
   in user directory

-  Add NOTICE file

-  Establish long term name for split_line as
   argcomplete.lexers.split_line

Changes for v3.0.3 (2023-03-20)
===============================

-  Re-add split_line to API (#419)

Changes for v3.0.2 (2023-03-19)
===============================

Fix zsh default completion issues

Changes for v3.0.1 (2023-03-19)
===============================

-  Fix zsh autoload issues

Changes for v3.0.0 (2023-03-19)
===============================

-  Fully support zsh. Argcomplete now supports completion descriptions
   and global completion in zsh.

-  Clean up top level namespace.

-  Documentation and test improvements.

Changes for v2.1.2 (2023-03-17)
===============================

-  Test infrastructure improvements

-  Indicate that there is no support commitment for fish and tcsh shells

Changes for v2.1.1 (2023-03-06)
===============================

-  Documentation and test improvements

Changes for v2.1.0 (2023-03-06)
===============================

-  Remove scripts for contrib-supported shells from global namespace

Changes for v2.0.6 (2023-03-06)
===============================

-  setup.py: exclude test.\* subpackages from find_packages (#406)

-  Support PowerShell (#405)

-  CI updates

Changes for v2.0.5 (2023-03-04)
===============================

-  Revert “Support powershell (#392)”

Changes for v2.0.4 (2023-03-04)
===============================

-  Fix interrupted release (v2.0.1)

Changes for v2.0.3 (2023-03-04)
===============================

-  Fix interrupted release (v2.0.1)

Changes for v2.0.2 (2023-03-04)
===============================

-  Fix interrupted release (v2.0.1)

Changes for v2.0.1 (2023-03-04)
===============================

-  Support powershell (#392)

-  Update importlib-metadata dependency to include versions 5.x (#389)

-  Test and documentation improvements

Changes for v2.0.0 (2022-01-03)
===============================

-  Truncate input after cursor. Fixes #351 (#352)

-  Support of path completion in fish #327 (#359)

-  Drop support for Python 2.7 and 3.5 (#361)

-  Add support for Python 3.10 (#356)

-  Test, documentation, and release infrastructure improvements
  • Loading branch information
0-wiz-0 committed Apr 30, 2023
1 parent 5c11149 commit b6eaafe
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 22 deletions.
17 changes: 10 additions & 7 deletions devel/py-argcomplete/Makefile
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
# $NetBSD: Makefile,v 1.30 2023/03/29 09:34:05 wiz Exp $
# $NetBSD: Makefile,v 1.31 2023/04/30 12:50:12 wiz Exp $

DISTNAME= argcomplete-1.12.3
DISTNAME= argcomplete-3.0.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/argcomplete/}

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/kislyuk/argcomplete
COMMENT= Bash tab completion for argparse
COMMENT= Bash and other shells tab completion for argparse
LICENSE= apache-2.0

TEST_DEPENDS+= ${PYPKGPREFIX}-coverage-[0-9]*:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
TEST_DEPENDS+= ${PYPKGPREFIX}-pexpect-[0-9]*:../../devel/py-pexpect
TEST_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel

USE_TOOLS+= bash:test

PYTHON_VERSIONS_INCOMPATIBLE= 27

.include "../../lang/python/pyversion.mk"

.if ${PYTHON_VERSION} < 308
PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
.endif
PYTHON_VERSIONED_DEPENDENCIES+= coverage:test flake8:test

USE_LANGUAGES= # none

USE_PKG_RESOURCES= yes

.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
34 changes: 23 additions & 11 deletions devel/py-argcomplete/PLIST
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@comment $NetBSD: PLIST,v 1.8 2020/02/11 17:21:26 adam Exp $
@comment $NetBSD: PLIST,v 1.9 2023/04/30 12:50:12 wiz Exp $
bin/activate-global-python-argcomplete
bin/python-argcomplete-check-easy-install-script
bin/python-argcomplete-tcsh
bin/register-python-argcomplete
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
Expand All @@ -19,18 +18,31 @@ ${PYSITELIB}/argcomplete/_check_module.py
${PYSITELIB}/argcomplete/_check_module.pyc
${PYSITELIB}/argcomplete/_check_module.pyo
${PYSITELIB}/argcomplete/bash_completion.d/python-argcomplete
${PYSITELIB}/argcomplete/compat.py
${PYSITELIB}/argcomplete/compat.pyc
${PYSITELIB}/argcomplete/compat.pyo
${PYSITELIB}/argcomplete/completers.py
${PYSITELIB}/argcomplete/completers.pyc
${PYSITELIB}/argcomplete/completers.pyo
${PYSITELIB}/argcomplete/my_argparse.py
${PYSITELIB}/argcomplete/my_argparse.pyc
${PYSITELIB}/argcomplete/my_argparse.pyo
${PYSITELIB}/argcomplete/my_shlex.py
${PYSITELIB}/argcomplete/my_shlex.pyc
${PYSITELIB}/argcomplete/my_shlex.pyo
${PYSITELIB}/argcomplete/exceptions.py
${PYSITELIB}/argcomplete/exceptions.pyc
${PYSITELIB}/argcomplete/exceptions.pyo
${PYSITELIB}/argcomplete/finders.py
${PYSITELIB}/argcomplete/finders.pyc
${PYSITELIB}/argcomplete/finders.pyo
${PYSITELIB}/argcomplete/io.py
${PYSITELIB}/argcomplete/io.pyc
${PYSITELIB}/argcomplete/io.pyo
${PYSITELIB}/argcomplete/lexers.py
${PYSITELIB}/argcomplete/lexers.pyc
${PYSITELIB}/argcomplete/lexers.pyo
${PYSITELIB}/argcomplete/packages/__init__.py
${PYSITELIB}/argcomplete/packages/__init__.pyc
${PYSITELIB}/argcomplete/packages/__init__.pyo
${PYSITELIB}/argcomplete/packages/_argparse.py
${PYSITELIB}/argcomplete/packages/_argparse.pyc
${PYSITELIB}/argcomplete/packages/_argparse.pyo
${PYSITELIB}/argcomplete/packages/_shlex.py
${PYSITELIB}/argcomplete/packages/_shlex.pyc
${PYSITELIB}/argcomplete/packages/_shlex.pyo
${PYSITELIB}/argcomplete/py.typed
${PYSITELIB}/argcomplete/shell_integration.py
${PYSITELIB}/argcomplete/shell_integration.pyc
${PYSITELIB}/argcomplete/shell_integration.pyo
9 changes: 5 additions & 4 deletions devel/py-argcomplete/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.24 2021/10/26 10:18:10 nia Exp $
$NetBSD: distinfo,v 1.25 2023/04/30 12:50:12 wiz Exp $

BLAKE2s (argcomplete-1.12.3.tar.gz) = 8825437eace45b8d61604f030270462416c85fca0faa91a10561d97728c9eaa5
SHA512 (argcomplete-1.12.3.tar.gz) = b302d2b1250b7159177a8491b2595c2166a2b96ac4d98cf45202282541f7da53c9f272ec778133d1734a22a07d490652b9d4c956af727397b2f6767a9a445b63
Size (argcomplete-1.12.3.tar.gz) = 76128 bytes
BLAKE2s (argcomplete-3.0.8.tar.gz) = bcb08e18d63b9038e4669482f5d64a7f2e73cb614a2b967706a2e354a2019932
SHA512 (argcomplete-3.0.8.tar.gz) = 4667f0d03485c81048c53ecfd53fa1bbe50beea15f723f3ebd8a92aae37dd2bbca709f9b6a1e0a5a682f9e769883f94614b4fcefc1fd7c9fad9f1d8cbc1429f3
Size (argcomplete-3.0.8.tar.gz) = 56035 bytes
SHA1 (patch-setup.py) = 02a39926125ad244350d49799ebcce0d08c62948
15 changes: 15 additions & 0 deletions devel/py-argcomplete/patches/patch-setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
$NetBSD: patch-setup.py,v 1.1 2023/04/30 12:50:12 wiz Exp $

ruff is not packaged yet.

--- setup.py.orig 2023-04-23 21:44:59.000000000 +0000
+++ setup.py
@@ -5,7 +5,7 @@ import glob
from setuptools import find_packages, setup

install_requires = []
-tests_require = ["coverage", "pexpect", "wheel", "ruff", "mypy"]
+tests_require = ["coverage", "pexpect", "wheel", "mypy"]
importlib_backport_requires = ["importlib-metadata >= 0.23, < 7"]

setup(

0 comments on commit b6eaafe

Please sign in to comment.