summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-09-04 13:33:42 +0000
committerleot <leot@pkgsrc.org>2017-09-04 13:33:42 +0000
commit02e7b9fd184f225a264e12004397c6acdae807d9 (patch)
treef15e878edd2d2bf7d4ccc15375e32bae5b0f41bc /devel
parent0453d8af50297c447fd4f41876f6c2edb970ca05 (diff)
downloadpkgsrc-02e7b9fd184f225a264e12004397c6acdae807d9.tar.gz
Import py-readlike-0.1.2 as devel/py-readlike
A Python module that provides GNU Readline-like line editing functions (the default Emacs-style ones). If you just want to use Readline, use the readline package in the standard library but this package allows access to those capabilties in settings outside of a standard CLI. Currently, all stateless Readline commands are implemented. This means that yanking and history aren't supported. This module is especially well-suited to interfacing with Urwid due to a shared syntax for describing key inputs.
Diffstat (limited to 'devel')
-rw-r--r--devel/py-readlike/DESCR11
-rw-r--r--devel/py-readlike/Makefile16
-rw-r--r--devel/py-readlike/PLIST8
-rw-r--r--devel/py-readlike/distinfo6
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/py-readlike/DESCR b/devel/py-readlike/DESCR
new file mode 100644
index 00000000000..4fc1e68859e
--- /dev/null
+++ b/devel/py-readlike/DESCR
@@ -0,0 +1,11 @@
+A Python module that provides GNU Readline-like line editing
+functions (the default Emacs-style ones). If you just want to use
+Readline, use the readline package in the standard library but this
+package allows access to those capabilties in settings outside of
+a standard CLI.
+
+Currently, all stateless Readline commands are implemented. This
+means that yanking and history aren't supported.
+
+This module is especially well-suited to interfacing with Urwid
+due to a shared syntax for describing key inputs.
diff --git a/devel/py-readlike/Makefile b/devel/py-readlike/Makefile
new file mode 100644
index 00000000000..0439cd130ab
--- /dev/null
+++ b/devel/py-readlike/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2017/09/04 13:33:42 leot Exp $
+
+DISTNAME= readlike-0.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/readlike/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://jangler.info/code/readlike
+COMMENT= GNU Readline-like line editing module
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-readlike/PLIST b/devel/py-readlike/PLIST
new file mode 100644
index 00000000000..db14e31cdf0
--- /dev/null
+++ b/devel/py-readlike/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/04 13:33:42 leot Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/readlike.py
+${PYSITELIB}/readlike.pyc
+${PYSITELIB}/readlike.pyo
diff --git a/devel/py-readlike/distinfo b/devel/py-readlike/distinfo
new file mode 100644
index 00000000000..c55b93fa7d3
--- /dev/null
+++ b/devel/py-readlike/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/04 13:33:42 leot Exp $
+
+SHA1 (readlike-0.1.2.tar.gz) = 18b2ea1db6885c79ad000b0f01790e3180e8744f
+RMD160 (readlike-0.1.2.tar.gz) = 08396b5df29c2c730dcc2ff086abc4077a9199ad
+SHA512 (readlike-0.1.2.tar.gz) = 4ecd694c69c615ec37da05341596af4ec26abeeda78ecf10fc3019533a7ab092ed1e1e4f8910a7835d7ffb157b203cb0395a2eba135d3aba861abb75d466980e
+Size (readlike-0.1.2.tar.gz) = 5068 bytes