pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/py-asciinema py-asciinema: updated to 2.0.2
details: https://anonhg.NetBSD.org/pkgsrc/rev/d506bd24c56e
branches: trunk
changeset: 390247:d506bd24c56e
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 18 08:56:41 2019 +0000
description:
py-asciinema: updated to 2.0.2
2.0.2:
* Official support for Python 3.7
* Recording is now possible on US-ASCII locale
* Improved Android support
* Possibility of programatic recording with `asciinema.record_asciicast` function
* Uses new JSON response format added recently to asciinema-server
* Tweaked message about how to stop recording
* Added proper description and other metadata to Python package
diffstat:
misc/py-asciinema/ALTERNATIVES | 3 ++-
misc/py-asciinema/Makefile | 18 +++++++++++++-----
misc/py-asciinema/PLIST | 17 ++++++++++++-----
misc/py-asciinema/distinfo | 10 +++++-----
4 files changed, 32 insertions(+), 16 deletions(-)
diffs (92 lines):
diff -r f5d775e13bde -r d506bd24c56e misc/py-asciinema/ALTERNATIVES
--- a/misc/py-asciinema/ALTERNATIVES Fri Jan 18 08:45:54 2019 +0000
+++ b/misc/py-asciinema/ALTERNATIVES Fri Jan 18 08:56:41 2019 +0000
@@ -1,1 +1,2 @@
-bin/asciinema @PREFIX@/bin/asciinema@PYVERSSUFFIX@
+bin/asciinema @PREFIX@/bin/asciinema-@PYVERSSUFFIX@
+man/man1/asciinema.1 @PREFIX@/@PKGMANDIR@/man/asciinema-@PYVERSSUFFIX@.1
diff -r f5d775e13bde -r d506bd24c56e misc/py-asciinema/Makefile
--- a/misc/py-asciinema/Makefile Fri Jan 18 08:45:54 2019 +0000
+++ b/misc/py-asciinema/Makefile Fri Jan 18 08:56:41 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/12/31 17:42:02 leot Exp $
+# $NetBSD: Makefile,v 1.2 2019/01/18 08:56:41 adam Exp $
-DISTNAME= asciinema-2.0.1
+DISTNAME= asciinema-2.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= misc python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/asciinema/}
@@ -10,12 +10,20 @@
COMMENT= Terminal session recorder
LICENSE= gnu-gpl-v3
-USE_LANGUAGES= # none
+USE_LANGUAGES= # none
+
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.py
+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'
+
post-install:
- ${MV} ${DESTDIR}${PREFIX}/bin/asciinema ${DESTDIR}${PREFIX}/bin/asciinema${PYVERSSUFFIX} || ${TRUE}
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} asciinema asciinema-${PYVERSSUFFIX} || ${TRUE}
-.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r f5d775e13bde -r d506bd24c56e misc/py-asciinema/PLIST
--- a/misc/py-asciinema/PLIST Fri Jan 18 08:45:54 2019 +0000
+++ b/misc/py-asciinema/PLIST Fri Jan 18 08:56:41 2019 +0000
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2018/12/31 17:42:02 leot Exp $
-bin/asciinema${PYVERSSUFFIX}
+@comment $NetBSD: PLIST,v 1.2 2019/01/18 08:56:41 adam Exp $
+bin/asciinema-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -59,12 +59,19 @@
${PYSITELIB}/asciinema/player.py
${PYSITELIB}/asciinema/player.pyc
${PYSITELIB}/asciinema/player.pyo
-${PYSITELIB}/asciinema/pty_recorder.py
-${PYSITELIB}/asciinema/pty_recorder.pyc
-${PYSITELIB}/asciinema/pty_recorder.pyo
+${PYSITELIB}/asciinema/pty.py
+${PYSITELIB}/asciinema/pty.pyc
+${PYSITELIB}/asciinema/pty.pyo
${PYSITELIB}/asciinema/term.py
${PYSITELIB}/asciinema/term.pyc
${PYSITELIB}/asciinema/term.pyo
${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
+share/doc/asciinema-${PYVERSSUFFIX}/CONTRIBUTING.md
+share/doc/asciinema-${PYVERSSUFFIX}/README.md
+share/doc/asciinema-${PYVERSSUFFIX}/asciicast-v1.md
+share/doc/asciinema-${PYVERSSUFFIX}/asciicast-v2.md
diff -r f5d775e13bde -r d506bd24c56e misc/py-asciinema/distinfo
--- a/misc/py-asciinema/distinfo Fri Jan 18 08:45:54 2019 +0000
+++ b/misc/py-asciinema/distinfo Fri Jan 18 08:56:41 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/12/31 17:42:02 leot Exp $
+$NetBSD: distinfo,v 1.2 2019/01/18 08:56:41 adam Exp $
-SHA1 (asciinema-2.0.1.tar.gz) = b263f4753cc701826313dfd1f695109af1e59a1e
-RMD160 (asciinema-2.0.1.tar.gz) = 2333a8c4d0c9c196d5f48a6c69213649d9aaaa0c
-SHA512 (asciinema-2.0.1.tar.gz) = dc6892b068161f111c53724f0de8bd82bbd9341f278733fc4de775a574ba5841e695115cadbbbe77ef58990f7b4059526c7c1438d4067ff9b3108eb71200b097
-Size (asciinema-2.0.1.tar.gz) = 17413 bytes
+SHA1 (asciinema-2.0.2.tar.gz) = 42ce6dc3a6d90b5eb5cb099b21582544e6378b65
+RMD160 (asciinema-2.0.2.tar.gz) = 74bdcffb4cc7168f160e80cfa57bd3934748c8ac
+SHA512 (asciinema-2.0.2.tar.gz) = 16e8e52db6e0cd08648500c42d631503d95d7e92ecceb295bf00094ffe0b8ce5dcdaa43b82063b2fa6c0cb930c87bb60d9c167838f8baaf68acc02e9621a2925
+Size (asciinema-2.0.2.tar.gz) = 35228 bytes
Home |
Main Index |
Thread Index |
Old Index