pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-blessings Blessings lifts several of curses' ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f3b695c9f76d
branches:  trunk
changeset: 360959:f3b695c9f76d
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Apr 12 11:41:44 2017 +0000

description:
Blessings lifts several of curses' limiting assumptions, and it makes your
code pretty, too:
* Use styles, color, and maybe a little positioning without necessarily
  clearing the whole screen first.
* Leave more than one screenful of scrollback in the buffer after your program
  exits, like a well-behaved command-line app should.
* Get rid of all those noisy, C-like calls to tigetstr and tparm, so your code
  doesn't get crowded out by terminal bookkeeping.
* Act intelligently when somebody redirects your output to a file, omitting
  the terminal control codes the user doesn't want to see (optional).

diffstat:

 devel/py-blessings/DESCR    |  10 ++++++++++
 devel/py-blessings/Makefile |  16 ++++++++++++++++
 devel/py-blessings/PLIST    |  11 +++++++++++
 devel/py-blessings/distinfo |   6 ++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r 2d2a7399ae78 -r f3b695c9f76d devel/py-blessings/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-blessings/DESCR  Wed Apr 12 11:41:44 2017 +0000
@@ -0,0 +1,10 @@
+Blessings lifts several of curses' limiting assumptions, and it makes your
+code pretty, too:
+* Use styles, color, and maybe a little positioning without necessarily
+  clearing the whole screen first.
+* Leave more than one screenful of scrollback in the buffer after your program
+  exits, like a well-behaved command-line app should.
+* Get rid of all those noisy, C-like calls to tigetstr and tparm, so your code
+  doesn't get crowded out by terminal bookkeeping.
+* Act intelligently when somebody redirects your output to a file, omitting
+  the terminal control codes the user doesn't want to see (optional).
diff -r 2d2a7399ae78 -r f3b695c9f76d devel/py-blessings/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-blessings/Makefile       Wed Apr 12 11:41:44 2017 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/04/12 11:41:44 adam Exp $
+
+DISTNAME=      blessings-1.6
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/blessings/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/erikrose/blessings
+COMMENT=       Thin, practical wrapper around terminal
+LICENSE=       mit
+
+USE_LANGUAGES=         # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 2d2a7399ae78 -r f3b695c9f76d devel/py-blessings/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-blessings/PLIST  Wed Apr 12 11:41:44 2017 +0000
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/12 11:41:44 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/blessings/__init__.py
+${PYSITELIB}/blessings/__init__.pyc
+${PYSITELIB}/blessings/__init__.pyo
+${PYSITELIB}/blessings/tests.py
+${PYSITELIB}/blessings/tests.pyc
+${PYSITELIB}/blessings/tests.pyo
diff -r 2d2a7399ae78 -r f3b695c9f76d devel/py-blessings/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-blessings/distinfo       Wed Apr 12 11:41:44 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/12 11:41:44 adam Exp $
+
+SHA1 (blessings-1.6.tar.gz) = f7a0bda2eb0463ca3ae8c4a1e1e71aa457a292e5
+RMD160 (blessings-1.6.tar.gz) = 00014f95d6c303cb87f02476f9b4c1d3e242293a
+SHA512 (blessings-1.6.tar.gz) = 5d0fc365416bf2b36b6de72f6b8c01bf0ab8df4a0148f492c80056a9ebd5d569e9c01966481e0d70a25add16da2bc3e73be933226369abca533ce019f97479f2
+Size (blessings-1.6.tar.gz) = 19974 bytes



Home | Main Index | Thread Index | Old Index