pkgsrc-WIP-changes archive

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

py-blessings: Restored in wip as a dep for wip/py-mozlog



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Tue Dec 31 08:44:09 2024 +0530
Changeset:	355b20eab2cd50c705cc71e5c4a8dd9fed214532

Added Files:
	py-blessings/COMMIT_MSG
	py-blessings/DESCR
	py-blessings/Makefile
	py-blessings/PLIST
	py-blessings/distinfo

Log Message:
py-blessings: Restored in wip as a dep for wip/py-mozlog

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=355b20eab2cd50c705cc71e5c4a8dd9fed214532

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-blessings/COMMIT_MSG |  3 +++
 py-blessings/DESCR      | 14 ++++++++++++++
 py-blessings/Makefile   | 21 +++++++++++++++++++++
 py-blessings/PLIST      | 12 ++++++++++++
 py-blessings/distinfo   |  5 +++++
 5 files changed, 55 insertions(+)

diffs:
diff --git a/py-blessings/COMMIT_MSG b/py-blessings/COMMIT_MSG
new file mode 100644
index 0000000000..dd79bd5793
--- /dev/null
+++ b/py-blessings/COMMIT_MSG
@@ -0,0 +1,3 @@
+devel/py-blessings: Add blessings version 1.7
+
+Packaged in wip by Mayuresh <mayuresh%acm.org@localhost>
diff --git a/py-blessings/DESCR b/py-blessings/DESCR
new file mode 100644
index 0000000000..ec9e639543
--- /dev/null
+++ b/py-blessings/DESCR
@@ -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
index 0000000000..468abadbbf
--- /dev/null
+++ b/py-blessings/Makefile
@@ -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@localhost
+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
index 0000000000..4f908b071b
--- /dev/null
+++ b/py-blessings/PLIST
@@ -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
index 0000000000..d1ee276218
--- /dev/null
+++ b/py-blessings/distinfo
@@ -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


Home | Main Index | Thread Index | Old Index