py-blessings: Restored in wip as a dep for wip/py-mozlog
authormayuresh <mayuresh@acm.org>
Tue, 31 Dec 2024 03:14:09 +0000 (08:44 +0530)
committermayuresh <mayuresh@acm.org>
Tue, 31 Dec 2024 03:14:09 +0000 (08:44 +0530)
py-blessings/COMMIT_MSG [new file with mode: 0644]
py-blessings/DESCR [new file with mode: 0644]
py-blessings/Makefile [new file with mode: 0644]
py-blessings/PLIST [new file with mode: 0644]
py-blessings/distinfo [new file with mode: 0644]

diff --git a/py-blessings/COMMIT_MSG b/py-blessings/COMMIT_MSG
new file mode 100644 (file)
index 0000000..dd79bd5
--- /dev/null
@@ -0,0 +1,3 @@
+devel/py-blessings: Add blessings version 1.7
+
+Packaged in wip by Mayuresh <mayuresh@acm.org>
diff --git a/py-blessings/DESCR b/py-blessings/DESCR
new file mode 100644 (file)
index 0000000..ec9e639
--- /dev/null
@@ -0,0 +1,14 @@
+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 --git a/py-blessings/Makefile b/py-blessings/Makefile
new file mode 100644 (file)
index 0000000..468abad
--- /dev/null
@@ -0,0 +1,21 @@
+# $NetBSD$
+
+DISTNAME=      blessings-1.7
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    python # TODO: add primary category
+MASTER_SITES=  ${MASTER_SITE_PYPI:=b/blessings/}
+
+MAINTAINER=    pkgsrc-users@NetBSD.org
+HOMEPAGE=      https://github.com/erikrose/blessings
+COMMENT=       Thin wrapper around terminal coloring, styling, and positioning
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=0:../../lang/py-six
+TEST_DEPENDS+= ${PYPKGPREFIX}-nose>=0:../../devel/py-nose
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-blessings/PLIST b/py-blessings/PLIST
new file mode 100644 (file)
index 0000000..4f908b0
--- /dev/null
@@ -0,0 +1,12 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_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 --git a/py-blessings/distinfo b/py-blessings/distinfo
new file mode 100644 (file)
index 0000000..d1ee276
--- /dev/null
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (blessings-1.7.tar.gz) = f46ba906a184fa7af90579553b65cbcf67584002f63cbc089fc0ac193d41958c
+SHA512 (blessings-1.7.tar.gz) = 66a8e7af6a8807c8be68f4d71db25ca6c26f46ddfa9a7e4792a2f73033df81d8392633ff75e6fa131039d9136030844ed93b11316b9f7e2e6ea77675f2f3e528
+Size (blessings-1.7.tar.gz) = 28194 bytes