Wed Apr 12 11:41:44 2017 UTC ()
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).


(adam)
diff -r0 -r1.1 pkgsrc/devel/py-blessings/DESCR
diff -r0 -r1.1 pkgsrc/devel/py-blessings/Makefile
diff -r0 -r1.1 pkgsrc/devel/py-blessings/PLIST
diff -r0 -r1.1 pkgsrc/devel/py-blessings/distinfo

File Added: pkgsrc/devel/py-blessings/DESCR
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).

File Added: pkgsrc/devel/py-blessings/Makefile
# $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
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"

File Added: pkgsrc/devel/py-blessings/PLIST
@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

File Added: pkgsrc/devel/py-blessings/distinfo
$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