pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-click



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jul  7 07:25:55 UTC 2023

Modified Files:
        pkgsrc/devel/py-click: Makefile distinfo

Log Message:
py-click: updated to 8.1.4

Version 8.1.4
-------------
- Replace all ``typing.Dict`` occurrences to ``typing.MutableMapping`` for
  parameter hints. :issue:`2255`
- Improve type hinting for decorators and give all generic types parameters.
  :issue:`2398`
- Fix return value and type signature of `shell_completion.add_completion_class`
  function. :pr:`2421`
- Bash version detection doesn't fail on Windows. :issue:`2461`
- Completion works if there is a dot (``.``) in the program name. :issue:`2166`
- Improve type annotations for pyright type checker. :issue:`2268`
- Improve responsiveness of ``click.clear()``. :issue:`2284`
- Improve command name detection when using Shiv or PEX. :issue:`2332`
- Avoid showing empty lines if command help text is empty. :issue:`2368`
- ZSH completion script works when loaded from ``fpath``. :issue:`2344`.
- ``EOFError`` and ``KeyboardInterrupt`` tracebacks are not suppressed when
  ``standalone_mode`` is disabled. :issue:`2380`
- ``@group.command`` does not fail if the group was created with a custom
  ``command_class``. :issue:`2416`
- ``multiple=True`` is allowed for flag options again and does not require
  setting ``default=()``. :issue:`2246, 2292, 2295`
- Make the decorators returned by ``@argument()`` and ``@option()`` reusable when the
  ``cls`` parameter is used. :issue:`2294`
- Don't fail when writing filenames to streams with strict errors. Replace invalid
  bytes with the replacement character (``�``). :issue:`2395`
- Remove unnecessary attempt to detect MSYS2 environment. :issue:`2355`
- Remove outdated and unnecessary detection of App Engine environment. :pr:`2554`
- ``echo()`` does not fail when no streams are attached, such as with ``pythonw`` on
  Windows. :issue:`2415`
- Argument with ``expose_value=False`` do not cause completion to fail.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-click/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/py-click/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-click/Makefile
diff -u pkgsrc/devel/py-click/Makefile:1.24 pkgsrc/devel/py-click/Makefile:1.25
--- pkgsrc/devel/py-click/Makefile:1.24 Wed Mar 29 09:34:06 2023
+++ pkgsrc/devel/py-click/Makefile      Fri Jul  7 07:25:55 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2023/03/29 09:34:06 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2023/07/07 07:25:55 adam Exp $
 
-DISTNAME=      click-8.1.3
+DISTNAME=      click-8.1.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/click/}
@@ -10,19 +10,14 @@ HOMEPAGE=   https://palletsprojects.com/p/
 COMMENT=       Simple wrapper around optparse for powerful command line utilities
 LICENSE=       modified-bsd
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-.include "../../lang/python/pyversion.mk"
-
-.if ${PYTHON_VERSION} < 308
-DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata
-.endif
-
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 USE_LANGUAGES= # none
 
-PYSETUPTESTTARGET=     pytest
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-click/distinfo
diff -u pkgsrc/devel/py-click/distinfo:1.22 pkgsrc/devel/py-click/distinfo:1.23
--- pkgsrc/devel/py-click/distinfo:1.22 Fri Apr 29 11:57:21 2022
+++ pkgsrc/devel/py-click/distinfo      Fri Jul  7 07:25:55 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2022/04/29 11:57:21 adam Exp $
+$NetBSD: distinfo,v 1.23 2023/07/07 07:25:55 adam Exp $
 
-BLAKE2s (click-8.1.3.tar.gz) = 8c0e3160ba5eec6f8fd42b82cc3ab6e778babfb375429d9568c3e563d666497b
-SHA512 (click-8.1.3.tar.gz) = be5b0c8b72ef7c10854f31406668ca4d6f826381deff10bb6a87a406166c09af97e2165f1327094d96abade15efb872892af37f20fdbc855b659cb2c7bd2f2c5
-Size (click-8.1.3.tar.gz) = 331147 bytes
+BLAKE2s (click-8.1.4.tar.gz) = 6949cb1f65eacd2548bd9c5fc4c82cab943c4ccac63b852f939fceb969ac3224
+SHA512 (click-8.1.4.tar.gz) = db239c076f36175a1bb4dbd767d7b70b4b0f9109087aba7797d3762441223cda47b69f10b0e889c0d4bf54b4433b3086a235e320fdedfae9b2d2be96c51bc592
+Size (click-8.1.4.tar.gz) = 334821 bytes



Home | Main Index | Thread Index | Old Index