aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2013-05-11 04:44:03 +0800
committerrm <rm@FreeBSD.org>2013-05-11 04:44:03 +0800
commit251097349fd2ca49e7a8a817be4df65a892944ac (patch)
tree7a515c34ee6e094328b556a0d3634e3131f6059a /devel
parentbf4b0dd5278380e2c3f40ab2b1adb6688012544f (diff)
downloadfreebsd-ports-graphics-251097349fd2ca49e7a8a817be4df65a892944ac.tar.gz
freebsd-ports-graphics-251097349fd2ca49e7a8a817be4df65a892944ac.tar.zst
freebsd-ports-graphics-251097349fd2ca49e7a8a817be4df65a892944ac.zip
Makes ANSI escape character sequences, for producing colored terminal text and
cursor positioning, work under MS Windows. ANSI escape character sequences have long been used to produce colored terminal text and cursor positioning on Unix and Macs. Colorama makes this work on Windows, too. It also provides some shortcuts to help generate ANSI sequences, and works fine in conjunction with any other ANSI sequence generation library, such as Termcolor. WWW: http://pypi.python.org/pypi/colorama PR: 178352 Submitted by: Alexey V. Degtyarev <alexey@renatasystems.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-colorama/Makefile18
-rw-r--r--devel/py-colorama/distinfo2
-rw-r--r--devel/py-colorama/pkg-descr10
-rw-r--r--devel/py-colorama/pkg-plist19
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 08a31b354d6..233e186f724 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3441,6 +3441,7 @@
SUBDIR += py-coil
SUBDIR += py-collective.monkeypatcher
SUBDIR += py-collective.z3cform.datetimewidget
+ SUBDIR += py-colorama
SUBDIR += py-configobj
SUBDIR += py-construct
SUBDIR += py-coverage
diff --git a/devel/py-colorama/Makefile b/devel/py-colorama/Makefile
new file mode 100644
index 00000000000..5b7769f759b
--- /dev/null
+++ b/devel/py-colorama/Makefile
@@ -0,0 +1,18 @@
+# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
+# $FreeBSD$
+
+PORTNAME= colorama
+PORTVERSION= 0.2.5
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexey@renatasystems.org
+COMMENT= Cross-platform API to print colored terminal text from Python apps
+
+LICENSE= BSD
+
+USE_PYTHON= yes
+USE_PYDISTUTILS=yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-colorama/distinfo b/devel/py-colorama/distinfo
new file mode 100644
index 00000000000..9e2c1fd2904
--- /dev/null
+++ b/devel/py-colorama/distinfo
@@ -0,0 +1,2 @@
+SHA256 (colorama-0.2.5.tar.gz) = 55bad9c74fbda47c558d581e287cfd9bfff48f196caedcff76bf2fb17149b80b
+SIZE (colorama-0.2.5.tar.gz) = 15042
diff --git a/devel/py-colorama/pkg-descr b/devel/py-colorama/pkg-descr
new file mode 100644
index 00000000000..0ed20df8868
--- /dev/null
+++ b/devel/py-colorama/pkg-descr
@@ -0,0 +1,10 @@
+Makes ANSI escape character sequences, for producing colored terminal text and
+cursor positioning, work under MS Windows.
+
+ANSI escape character sequences have long been used to produce colored terminal
+text and cursor positioning on Unix and Macs. Colorama makes this work on
+Windows, too. It also provides some shortcuts to help generate ANSI sequences,
+and works fine in conjunction with any other ANSI sequence generation library,
+such as Termcolor.
+
+WWW: http://pypi.python.org/pypi/colorama
diff --git a/devel/py-colorama/pkg-plist b/devel/py-colorama/pkg-plist
new file mode 100644
index 00000000000..bec1fff0560
--- /dev/null
+++ b/devel/py-colorama/pkg-plist
@@ -0,0 +1,19 @@
+%%PYTHON_SITELIBDIR%%/colorama/__init__.py
+%%PYTHON_SITELIBDIR%%/colorama/__init__.pyc
+%%PYTHON_SITELIBDIR%%/colorama/__init__.pyo
+%%PYTHON_SITELIBDIR%%/colorama/ansi.py
+%%PYTHON_SITELIBDIR%%/colorama/ansi.pyc
+%%PYTHON_SITELIBDIR%%/colorama/ansi.pyo
+%%PYTHON_SITELIBDIR%%/colorama/ansitowin32.py
+%%PYTHON_SITELIBDIR%%/colorama/ansitowin32.pyc
+%%PYTHON_SITELIBDIR%%/colorama/ansitowin32.pyo
+%%PYTHON_SITELIBDIR%%/colorama/initialise.py
+%%PYTHON_SITELIBDIR%%/colorama/initialise.pyc
+%%PYTHON_SITELIBDIR%%/colorama/initialise.pyo
+%%PYTHON_SITELIBDIR%%/colorama/win32.py
+%%PYTHON_SITELIBDIR%%/colorama/win32.pyc
+%%PYTHON_SITELIBDIR%%/colorama/win32.pyo
+%%PYTHON_SITELIBDIR%%/colorama/winterm.py
+%%PYTHON_SITELIBDIR%%/colorama/winterm.pyc
+%%PYTHON_SITELIBDIR%%/colorama/winterm.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/colorama