py-asciinema: updated to 2.2.0
2.2.0 (2022-05-07) * Added official support for Python 3.8, 3.9, 3.10 * Dropped official support for Python 3.5 * Added `--cols` / `--rows` options for overriding size of pseudo-terminal reported to recorded program * Improved behaviour of `--append` when output file doesn't exist * Keyboard input is now explicitly read from a TTY device in addition to stdin (when stdin != TTY) * Recorded program output is now explicitly written to a TTY device instead of stdout * Dash char (`-`) can now be passed as output filename to write asciicast to stdout * Diagnostic messages are now printed to stderr (without colors when stderr != TTY) * Improved robustness of writing asciicast to named pipes * Lots of codebase modernizations (many thanks to Davis @djds Schirmer!) * Many other internal refactorings
This commit is contained in:
parent
41d4f22ddd
commit
b20dd0c081
3 changed files with 31 additions and 48 deletions
|
@ -1,8 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:15 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2022/05/10 17:22:50 adam Exp $
|
||||
|
||||
DISTNAME= asciinema-2.1.0
|
||||
DISTNAME= asciinema-2.2.0
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
CATEGORIES= misc multimedia python
|
||||
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asciinema/}
|
||||
|
||||
|
@ -11,16 +10,18 @@ HOMEPAGE= https://asciinema.org/
|
|||
COMMENT= Terminal session recorder
|
||||
LICENSE= gnu-gpl-v3
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel>0:../../devel/py-wheel
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
USE_PKG_RESOURCES= yes
|
||||
|
||||
SUBST_CLASSES+= fix-path
|
||||
SUBST_STAGE.fix-path= pre-configure
|
||||
SUBST_MESSAGE.fix-path= Fixing paths.
|
||||
SUBST_FILES.fix-path= setup.py
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
SUBST_CLASSES+= fix-path
|
||||
SUBST_STAGE.fix-path= pre-configure
|
||||
SUBST_MESSAGE.fix-path= Fixing paths.
|
||||
SUBST_FILES.fix-path= setup.cfg
|
||||
SUBST_SED.fix-path= -e 's,share/doc/asciinema,share/doc/asciinema-${PYVERSSUFFIX},g'
|
||||
SUBST_SED.fix-path+= -e 's,share/man/man1,${PKGMANDIR}/man1,g'
|
||||
|
||||
|
@ -30,5 +31,5 @@ post-install:
|
|||
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
|
||||
${MV} asciinema.1 asciinema-${PYVERSSUFFIX}.1 || ${TRUE}
|
||||
|
||||
.include "../../lang/python/egg.mk"
|
||||
.include "../../lang/python/wheel.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
|
@ -1,83 +1,65 @@
|
|||
@comment $NetBSD: PLIST,v 1.3 2021/11/29 19:30:34 wiz Exp $
|
||||
@comment $NetBSD: PLIST,v 1.4 2022/05/10 17:22:50 adam Exp $
|
||||
bin/asciinema-${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}/${WHEEL_INFODIR}/INSTALLER
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
|
||||
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
|
||||
${PYSITELIB}/asciinema/__init__.py
|
||||
${PYSITELIB}/asciinema/__init__.pyc
|
||||
${PYSITELIB}/asciinema/__init__.pyo
|
||||
${PYSITELIB}/asciinema/__main__.py
|
||||
${PYSITELIB}/asciinema/__main__.pyc
|
||||
${PYSITELIB}/asciinema/__main__.pyo
|
||||
${PYSITELIB}/asciinema/api.py
|
||||
${PYSITELIB}/asciinema/api.pyc
|
||||
${PYSITELIB}/asciinema/api.pyo
|
||||
${PYSITELIB}/asciinema/asciicast/__init__.py
|
||||
${PYSITELIB}/asciinema/asciicast/__init__.pyc
|
||||
${PYSITELIB}/asciinema/asciicast/__init__.pyo
|
||||
${PYSITELIB}/asciinema/asciicast/events.py
|
||||
${PYSITELIB}/asciinema/asciicast/events.pyc
|
||||
${PYSITELIB}/asciinema/asciicast/events.pyo
|
||||
${PYSITELIB}/asciinema/asciicast/raw.py
|
||||
${PYSITELIB}/asciinema/asciicast/raw.pyc
|
||||
${PYSITELIB}/asciinema/asciicast/raw.pyo
|
||||
${PYSITELIB}/asciinema/asciicast/v1.py
|
||||
${PYSITELIB}/asciinema/asciicast/v1.pyc
|
||||
${PYSITELIB}/asciinema/asciicast/v1.pyo
|
||||
${PYSITELIB}/asciinema/asciicast/v2.py
|
||||
${PYSITELIB}/asciinema/asciicast/v2.pyc
|
||||
${PYSITELIB}/asciinema/asciicast/v2.pyo
|
||||
${PYSITELIB}/asciinema/async_worker.py
|
||||
${PYSITELIB}/asciinema/async_worker.pyc
|
||||
${PYSITELIB}/asciinema/async_worker.pyo
|
||||
${PYSITELIB}/asciinema/commands/__init__.py
|
||||
${PYSITELIB}/asciinema/commands/__init__.pyc
|
||||
${PYSITELIB}/asciinema/commands/__init__.pyo
|
||||
${PYSITELIB}/asciinema/commands/auth.py
|
||||
${PYSITELIB}/asciinema/commands/auth.pyc
|
||||
${PYSITELIB}/asciinema/commands/auth.pyo
|
||||
${PYSITELIB}/asciinema/commands/cat.py
|
||||
${PYSITELIB}/asciinema/commands/cat.pyc
|
||||
${PYSITELIB}/asciinema/commands/cat.pyo
|
||||
${PYSITELIB}/asciinema/commands/command.py
|
||||
${PYSITELIB}/asciinema/commands/command.pyc
|
||||
${PYSITELIB}/asciinema/commands/command.pyo
|
||||
${PYSITELIB}/asciinema/commands/play.py
|
||||
${PYSITELIB}/asciinema/commands/play.pyc
|
||||
${PYSITELIB}/asciinema/commands/play.pyo
|
||||
${PYSITELIB}/asciinema/commands/record.py
|
||||
${PYSITELIB}/asciinema/commands/record.pyc
|
||||
${PYSITELIB}/asciinema/commands/record.pyo
|
||||
${PYSITELIB}/asciinema/commands/upload.py
|
||||
${PYSITELIB}/asciinema/commands/upload.pyc
|
||||
${PYSITELIB}/asciinema/commands/upload.pyo
|
||||
${PYSITELIB}/asciinema/config.py
|
||||
${PYSITELIB}/asciinema/config.pyc
|
||||
${PYSITELIB}/asciinema/config.pyo
|
||||
${PYSITELIB}/asciinema/data/icon-256x256.png
|
||||
${PYSITELIB}/asciinema/file_writer.py
|
||||
${PYSITELIB}/asciinema/file_writer.pyc
|
||||
${PYSITELIB}/asciinema/http_adapter.py
|
||||
${PYSITELIB}/asciinema/http_adapter.pyc
|
||||
${PYSITELIB}/asciinema/http_adapter.pyo
|
||||
${PYSITELIB}/asciinema/notifier.py
|
||||
${PYSITELIB}/asciinema/notifier.pyc
|
||||
${PYSITELIB}/asciinema/notifier.pyo
|
||||
${PYSITELIB}/asciinema/player.py
|
||||
${PYSITELIB}/asciinema/player.pyc
|
||||
${PYSITELIB}/asciinema/player.pyo
|
||||
${PYSITELIB}/asciinema/pty.py
|
||||
${PYSITELIB}/asciinema/pty.pyc
|
||||
${PYSITELIB}/asciinema/pty.pyo
|
||||
${PYSITELIB}/asciinema/pty_.py
|
||||
${PYSITELIB}/asciinema/pty_.pyc
|
||||
${PYSITELIB}/asciinema/recorder.py
|
||||
${PYSITELIB}/asciinema/recorder.pyc
|
||||
${PYSITELIB}/asciinema/recorder.pyo
|
||||
${PYSITELIB}/asciinema/term.py
|
||||
${PYSITELIB}/asciinema/term.pyc
|
||||
${PYSITELIB}/asciinema/term.pyo
|
||||
${PYSITELIB}/asciinema/tty_.py
|
||||
${PYSITELIB}/asciinema/tty_.pyc
|
||||
${PYSITELIB}/asciinema/urllib_http_adapter.py
|
||||
${PYSITELIB}/asciinema/urllib_http_adapter.pyc
|
||||
${PYSITELIB}/asciinema/urllib_http_adapter.pyo
|
||||
man/man1/asciinema-${PYVERSSUFFIX}.1
|
||||
share/doc/asciinema-${PYVERSSUFFIX}/CHANGELOG.md
|
||||
share/doc/asciinema-${PYVERSSUFFIX}/CODE_OF_CONDUCT.md
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.5 2021/11/29 19:30:34 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.6 2022/05/10 17:22:50 adam Exp $
|
||||
|
||||
BLAKE2s (asciinema-2.1.0.tar.gz) = 2f9c61dc1b8033d6e9eba076a04f67cacaa624905a7035a27a8b0dbbbe07aa22
|
||||
SHA512 (asciinema-2.1.0.tar.gz) = 653eaaf7ff4ed49202b7b8b7999b1f969698fd08c7ba73c5fc7e005dafb1cd0116804d6553102556001b52f8539a8d0ad1e4c0c9a8a9aa19edcf48fb3f90c4aa
|
||||
Size (asciinema-2.1.0.tar.gz) = 78899 bytes
|
||||
BLAKE2s (asciinema-2.2.0.tar.gz) = 68d5083b78618c42b2691fb220e13f9697c0d38f2cd5710eb90553e2e586c452
|
||||
SHA512 (asciinema-2.2.0.tar.gz) = 7f521ac7938f085a647dd05d6d8a4652650900d48fd655a7088f8a7259c5aeaa2e0092f888d99c46dc9c06fb2df5366d5ac376b6c2465c4dd3cb8281e20e01ad
|
||||
Size (asciinema-2.2.0.tar.gz) = 84194 bytes
|
||||
|
|
Loading…
Reference in a new issue