pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-curtsies Curtsies is a Python 2.6+ & 3.3+ com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aed9eb18f231
branches:  trunk
changeset: 360960:aed9eb18f231
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 12 11:42:45 2017 +0000

description:
Curtsies is a Python 2.6+ & 3.3+ compatible library for interacting with
the terminal.

FmtStr objects are strings formatted with colors and styles displayable in
a terminal with ANSI escape sequences. FSArray objects contain multiple such
strings with each formatted string on its own row, and can be superimposed
onto each other to build complex grids of colored and styled characters.

Such grids of characters can be efficiently rendered to the terminal in
alternate screen mode (no scrollback history, like Vim, top etc.) by
FullscreenWindow objects or to the normal history-preserving screen by
CursorAwareWindow objects. User keyboard input events like pressing the up
arrow key are detected by an Input object. See the Quickstart to get started
using all of these classes.

diffstat:

 devel/py-curtsies/DESCR    |  14 ++++++++++++++
 devel/py-curtsies/Makefile |  19 +++++++++++++++++++
 devel/py-curtsies/PLIST    |  43 +++++++++++++++++++++++++++++++++++++++++++
 devel/py-curtsies/distinfo |   6 ++++++
 4 files changed, 82 insertions(+), 0 deletions(-)

diffs (98 lines):

diff -r f3b695c9f76d -r aed9eb18f231 devel/py-curtsies/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curtsies/DESCR   Wed Apr 12 11:42:45 2017 +0000
@@ -0,0 +1,14 @@
+Curtsies is a Python 2.6+ & 3.3+ compatible library for interacting with
+the terminal.
+
+FmtStr objects are strings formatted with colors and styles displayable in
+a terminal with ANSI escape sequences. FSArray objects contain multiple such
+strings with each formatted string on its own row, and can be superimposed
+onto each other to build complex grids of colored and styled characters.
+
+Such grids of characters can be efficiently rendered to the terminal in
+alternate screen mode (no scrollback history, like Vim, top etc.) by
+FullscreenWindow objects or to the normal history-preserving screen by
+CursorAwareWindow objects. User keyboard input events like pressing the up
+arrow key are detected by an Input object. See the Quickstart to get started
+using all of these classes.
diff -r f3b695c9f76d -r aed9eb18f231 devel/py-curtsies/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curtsies/Makefile        Wed Apr 12 11:42:45 2017 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/04/12 11:42:45 adam Exp $
+
+DISTNAME=      curtsies-0.2.11
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/curtsies/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/thomasballinger/curtsies
+COMMENT=       Curses-like terminal wrapper, with colored strings
+LICENSE=       mit
+
+USE_LANGUAGES=         # none
+
+DEPENDS+=      ${PYPKGPREFIX}-blessings-[0-9]*:../../devel/py-blessings
+DEPENDS+=      ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f3b695c9f76d -r aed9eb18f231 devel/py-curtsies/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curtsies/PLIST   Wed Apr 12 11:42:45 2017 +0000
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/12 11:42:45 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/curtsies/__init__.py
+${PYSITELIB}/curtsies/__init__.pyc
+${PYSITELIB}/curtsies/__init__.pyo
+${PYSITELIB}/curtsies/configfile_keynames.py
+${PYSITELIB}/curtsies/configfile_keynames.pyc
+${PYSITELIB}/curtsies/configfile_keynames.pyo
+${PYSITELIB}/curtsies/curtsieskeys.py
+${PYSITELIB}/curtsies/curtsieskeys.pyc
+${PYSITELIB}/curtsies/curtsieskeys.pyo
+${PYSITELIB}/curtsies/escseqparse.py
+${PYSITELIB}/curtsies/escseqparse.pyc
+${PYSITELIB}/curtsies/escseqparse.pyo
+${PYSITELIB}/curtsies/events.py
+${PYSITELIB}/curtsies/events.pyc
+${PYSITELIB}/curtsies/events.pyo
+${PYSITELIB}/curtsies/fmtfuncs.py
+${PYSITELIB}/curtsies/fmtfuncs.pyc
+${PYSITELIB}/curtsies/fmtfuncs.pyo
+${PYSITELIB}/curtsies/formatstring.py
+${PYSITELIB}/curtsies/formatstring.pyc
+${PYSITELIB}/curtsies/formatstring.pyo
+${PYSITELIB}/curtsies/formatstringarray.py
+${PYSITELIB}/curtsies/formatstringarray.pyc
+${PYSITELIB}/curtsies/formatstringarray.pyo
+${PYSITELIB}/curtsies/input.py
+${PYSITELIB}/curtsies/input.pyc
+${PYSITELIB}/curtsies/input.pyo
+${PYSITELIB}/curtsies/termformatconstants.py
+${PYSITELIB}/curtsies/termformatconstants.pyc
+${PYSITELIB}/curtsies/termformatconstants.pyo
+${PYSITELIB}/curtsies/termhelpers.py
+${PYSITELIB}/curtsies/termhelpers.pyc
+${PYSITELIB}/curtsies/termhelpers.pyo
+${PYSITELIB}/curtsies/window.py
+${PYSITELIB}/curtsies/window.pyc
+${PYSITELIB}/curtsies/window.pyo
diff -r f3b695c9f76d -r aed9eb18f231 devel/py-curtsies/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-curtsies/distinfo        Wed Apr 12 11:42:45 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/12 11:42:45 adam Exp $
+
+SHA1 (curtsies-0.2.11.tar.gz) = fe129ce77bd4b87efba0b46887464ae64d257d46
+RMD160 (curtsies-0.2.11.tar.gz) = 8f3f4afb1b1d53b9d3e89a52a070260dbc3755da
+SHA512 (curtsies-0.2.11.tar.gz) = 1fd71d9bc4125a427a5990c6fcef4f73f6e677096eda8d29f7dfee7fe6fc3a350fc66c4383d5e9370a3ed19dfa211285f8b99c425b154e22d3cb4718e1f1d05e
+Size (curtsies-0.2.11.tar.gz) = 46740 bytes



Home | Main Index | Thread Index | Old Index