pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-prompt_toolkit2



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 28 06:25:06 UTC 2019

Modified Files:
        pkgsrc/devel/py-prompt_toolkit2: Makefile PLIST distinfo

Log Message:
py-prompt_toolkit2: updated to 3.0.0

3.0.0:
New features:
- (almost) 100% type annotated.
- Native asyncio instead of custom event loops.
- Added shift-based text selection (use shift+arrows to start selecting text).

Breaking changes:
- Python 2 support has been dropped. Minimal Python version is now 3.6,
  although 3.7 is preferred (because of ContextVars).
- Native asyncio, so some async code becomes slightly different.
- The active `Application` became a contextvar. Which means that it should be
  propagated correctly to the code that requires it. However, random other
  threads or coroutines won't be able to know what the current application is.
- The dialog shortcuts API changed. All dialog functions now return an
  `Application`. You still have to call either `run()` or `run_async` on the
  `Application` object.
- The way inputhooks work is changed.
- `patch_stdout` now requires an `Application` as input.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-prompt_toolkit2/Makefile \
    pkgsrc/devel/py-prompt_toolkit2/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-prompt_toolkit2/PLIST

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-prompt_toolkit2/Makefile
diff -u pkgsrc/devel/py-prompt_toolkit2/Makefile:1.4 pkgsrc/devel/py-prompt_toolkit2/Makefile:1.5
--- pkgsrc/devel/py-prompt_toolkit2/Makefile:1.4        Mon Oct  7 20:10:26 2019
+++ pkgsrc/devel/py-prompt_toolkit2/Makefile    Thu Nov 28 06:25:06 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2019/10/07 20:10:26 adam Exp $
+# $NetBSD: Makefile,v 1.5 2019/11/28 06:25:06 adam Exp $
 
-DISTNAME=      prompt_toolkit-2.0.10
+DISTNAME=      prompt_toolkit-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/prompt_toolkit/}
@@ -18,5 +18,7 @@ USE_LANGUAGES=        # none
 
 PYSETUPTESTTARGET=     pytest
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-prompt_toolkit2/distinfo
diff -u pkgsrc/devel/py-prompt_toolkit2/distinfo:1.4 pkgsrc/devel/py-prompt_toolkit2/distinfo:1.5
--- pkgsrc/devel/py-prompt_toolkit2/distinfo:1.4        Mon Oct  7 20:10:26 2019
+++ pkgsrc/devel/py-prompt_toolkit2/distinfo    Thu Nov 28 06:25:06 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2019/10/07 20:10:26 adam Exp $
+$NetBSD: distinfo,v 1.5 2019/11/28 06:25:06 adam Exp $
 
-SHA1 (prompt_toolkit-2.0.10.tar.gz) = 5f658106e5ca102968f786b0989d5f9ff342bffe
-RMD160 (prompt_toolkit-2.0.10.tar.gz) = 7fef3cdd4d9c419124244191777ff0767bb6cb8f
-SHA512 (prompt_toolkit-2.0.10.tar.gz) = b91292cf43607b3a7018ca29827f0aa9bc90efc064c68faffe02ad28e4bb60f45fc2d25bbfd9a40a383a815cb08596975f08237a498f94a5c088d56d3a0a9803
-Size (prompt_toolkit-2.0.10.tar.gz) = 347981 bytes
+SHA1 (prompt_toolkit-3.0.0.tar.gz) = d63e48d00c8d9154dd2ed78453d2557d02eaa7d6
+RMD160 (prompt_toolkit-3.0.0.tar.gz) = 9de257143a25fd96ff1531ae4230cb77cf1758b2
+SHA512 (prompt_toolkit-3.0.0.tar.gz) = 748a77d5554f32f1a4808c318f6799309f6d2310e7e1ae37518325d1c9fd1f512c733e693b214bb3e2e4a9717ea025eea742989a373718abae424ece7d536451
+Size (prompt_toolkit-3.0.0.tar.gz) = 354907 bytes

Index: pkgsrc/devel/py-prompt_toolkit2/PLIST
diff -u pkgsrc/devel/py-prompt_toolkit2/PLIST:1.2 pkgsrc/devel/py-prompt_toolkit2/PLIST:1.3
--- pkgsrc/devel/py-prompt_toolkit2/PLIST:1.2   Mon Jan 28 09:12:28 2019
+++ pkgsrc/devel/py-prompt_toolkit2/PLIST       Thu Nov 28 06:25:06 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/01/28 09:12:28 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/11/28 06:25:06 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -55,6 +55,9 @@ ${PYSITELIB}/prompt_toolkit/completion/f
 ${PYSITELIB}/prompt_toolkit/completion/fuzzy_completer.py
 ${PYSITELIB}/prompt_toolkit/completion/fuzzy_completer.pyc
 ${PYSITELIB}/prompt_toolkit/completion/fuzzy_completer.pyo
+${PYSITELIB}/prompt_toolkit/completion/nested.py
+${PYSITELIB}/prompt_toolkit/completion/nested.pyc
+${PYSITELIB}/prompt_toolkit/completion/nested.pyo
 ${PYSITELIB}/prompt_toolkit/completion/word_completer.py
 ${PYSITELIB}/prompt_toolkit/completion/word_completer.pyc
 ${PYSITELIB}/prompt_toolkit/completion/word_completer.pyo
@@ -85,6 +88,12 @@ ${PYSITELIB}/prompt_toolkit/contrib/regu
 ${PYSITELIB}/prompt_toolkit/contrib/regular_languages/validation.py
 ${PYSITELIB}/prompt_toolkit/contrib/regular_languages/validation.pyc
 ${PYSITELIB}/prompt_toolkit/contrib/regular_languages/validation.pyo
+${PYSITELIB}/prompt_toolkit/contrib/ssh/__init__.py
+${PYSITELIB}/prompt_toolkit/contrib/ssh/__init__.pyc
+${PYSITELIB}/prompt_toolkit/contrib/ssh/__init__.pyo
+${PYSITELIB}/prompt_toolkit/contrib/ssh/server.py
+${PYSITELIB}/prompt_toolkit/contrib/ssh/server.pyc
+${PYSITELIB}/prompt_toolkit/contrib/ssh/server.pyo
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/__init__.py
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/__init__.pyc
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/__init__.pyo
@@ -97,6 +106,9 @@ ${PYSITELIB}/prompt_toolkit/contrib/teln
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/server.py
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/server.pyc
 ${PYSITELIB}/prompt_toolkit/contrib/telnet/server.pyo
+${PYSITELIB}/prompt_toolkit/data_structures.py
+${PYSITELIB}/prompt_toolkit/data_structures.pyc
+${PYSITELIB}/prompt_toolkit/data_structures.pyo
 ${PYSITELIB}/prompt_toolkit/document.py
 ${PYSITELIB}/prompt_toolkit/document.pyc
 ${PYSITELIB}/prompt_toolkit/document.pyo
@@ -106,42 +118,18 @@ ${PYSITELIB}/prompt_toolkit/enums.pyo
 ${PYSITELIB}/prompt_toolkit/eventloop/__init__.py
 ${PYSITELIB}/prompt_toolkit/eventloop/__init__.pyc
 ${PYSITELIB}/prompt_toolkit/eventloop/__init__.pyo
+${PYSITELIB}/prompt_toolkit/eventloop/async_context_manager.py
+${PYSITELIB}/prompt_toolkit/eventloop/async_context_manager.pyc
+${PYSITELIB}/prompt_toolkit/eventloop/async_context_manager.pyo
 ${PYSITELIB}/prompt_toolkit/eventloop/async_generator.py
 ${PYSITELIB}/prompt_toolkit/eventloop/async_generator.pyc
 ${PYSITELIB}/prompt_toolkit/eventloop/async_generator.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_posix.py
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_posix.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_posix.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_win32.py
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_win32.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/asyncio_win32.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/base.py
-${PYSITELIB}/prompt_toolkit/eventloop/base.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/base.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/context.py
-${PYSITELIB}/prompt_toolkit/eventloop/context.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/context.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/coroutine.py
-${PYSITELIB}/prompt_toolkit/eventloop/coroutine.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/coroutine.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/defaults.py
-${PYSITELIB}/prompt_toolkit/eventloop/defaults.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/defaults.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/event.py
-${PYSITELIB}/prompt_toolkit/eventloop/event.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/event.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/future.py
-${PYSITELIB}/prompt_toolkit/eventloop/future.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/future.pyo
+${PYSITELIB}/prompt_toolkit/eventloop/dummy_contextvars.py
+${PYSITELIB}/prompt_toolkit/eventloop/dummy_contextvars.pyc
+${PYSITELIB}/prompt_toolkit/eventloop/dummy_contextvars.pyo
 ${PYSITELIB}/prompt_toolkit/eventloop/inputhook.py
 ${PYSITELIB}/prompt_toolkit/eventloop/inputhook.pyc
 ${PYSITELIB}/prompt_toolkit/eventloop/inputhook.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/posix.py
-${PYSITELIB}/prompt_toolkit/eventloop/posix.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/posix.pyo
-${PYSITELIB}/prompt_toolkit/eventloop/select.py
-${PYSITELIB}/prompt_toolkit/eventloop/select.pyc
-${PYSITELIB}/prompt_toolkit/eventloop/select.pyo
 ${PYSITELIB}/prompt_toolkit/eventloop/utils.py
 ${PYSITELIB}/prompt_toolkit/eventloop/utils.pyc
 ${PYSITELIB}/prompt_toolkit/eventloop/utils.pyo



Home | Main Index | Thread Index | Old Index