summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorgdt <gdt>2010-07-24 17:56:26 +0000
committergdt <gdt>2010-07-24 17:56:26 +0000
commitd03b586dc25ac3f6a6c3f3d77da64b7e8c9b0611 (patch)
tree9053800d904735224954f8e985c06f32110ec1c1 /converters
parent47253f38ebf273419ba9970c9fc7271c784b012a (diff)
downloadpkgsrc-d03b586dc25ac3f6a6c3f3d77da64b7e8c9b0611.tar.gz
Import py26-zbase32-1.1.2 as converters/py-zbase32.
An alternate base32 encoder (not RFC 3548 compliant). The rationale for base-32 encoding in RFC 3548 [1] is as written therein: "The Base 32 encoding is designed to represent arbitrary sequences of octets in a form that needs to be case insensitive but need not be humanly readable.". The rationale for our encoding is different -- it is to represent arbitrary sequences of octets in a form that is as convenient as possible for human users to manipulate. In particular, z-base-32 was created in order to serve the Mnet project [3], where 30-octet cryptographic values are encoded into URIs for humans to manipulate. Anticipated uses of these URIs include cut- and-paste, text editing (e.g. in HTML files), manual transcription via a keyboard, manual transcription via pen-and-paper, vocal transcription over phone or radio, etc. The desiderata for such an encoding are: * minimizing transcription errors -- e.g. the well-known problem of confusing `0' with `O' * embedding into other structures -- e.g. search engines, structured or marked-up text, file systems, command shells * brevity -- Shorter URLs are better than longer ones. * ergonomics -- Human users (especially non-technical ones) should find the URIs as easy and pleasant as possible. The uglier the URI looks, the worse.
Diffstat (limited to 'converters')
-rw-r--r--converters/py-zbase32/DESCR24
-rw-r--r--converters/py-zbase32/Makefile18
-rw-r--r--converters/py-zbase32/PLIST24
-rw-r--r--converters/py-zbase32/distinfo5
4 files changed, 71 insertions, 0 deletions
diff --git a/converters/py-zbase32/DESCR b/converters/py-zbase32/DESCR
new file mode 100644
index 00000000000..66495605e6d
--- /dev/null
+++ b/converters/py-zbase32/DESCR
@@ -0,0 +1,24 @@
+An alternate base32 encoder (not RFC 3548 compliant).
+
+The rationale for base-32 encoding in RFC 3548 [1] is as written therein: "The
+Base 32 encoding is designed to represent arbitrary sequences of octets in a
+form that needs to be case insensitive but need not be humanly readable.".
+
+The rationale for our encoding is different -- it is to represent arbitrary
+sequences of octets in a form that is as convenient as possible for human
+users to manipulate. In particular, z-base-32 was created in order to serve
+the Mnet project [3], where 30-octet cryptographic values are encoded into
+URIs for humans to manipulate. Anticipated uses of these URIs include cut-
+and-paste, text editing (e.g. in HTML files), manual transcription via a
+keyboard, manual transcription via pen-and-paper, vocal transcription over
+phone or radio, etc.
+
+The desiderata for such an encoding are:
+
+ * minimizing transcription errors -- e.g. the well-known problem of confusing
+ `0' with `O'
+ * embedding into other structures -- e.g. search engines, structured or
+ marked-up text, file systems, command shells
+ * brevity -- Shorter URLs are better than longer ones.
+ * ergonomics -- Human users (especially non-technical ones) should find the
+ URIs as easy and pleasant as possible. The uglier the URI looks, the worse.
diff --git a/converters/py-zbase32/Makefile b/converters/py-zbase32/Makefile
new file mode 100644
index 00000000000..bc52b8ce68f
--- /dev/null
+++ b/converters/py-zbase32/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/07/24 17:56:26 gdt Exp $
+#
+
+DISTNAME= zbase32-1.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= converters
+MASTER_SITES= http://pypi.python.org/packages/source/z/zbase32/
+
+MAINTAINER= gdt@ir.bbn.om
+HOMEPAGE= http://pypi.python.org/pypi/zbase32/
+#HOMEPAGE= http://tahoe-lafs.org/trac/zbase32
+COMMENT= Alternate base32 encoder (not RFC 3548 compliant)
+LICENSE= modified-bsd
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/converters/py-zbase32/PLIST b/converters/py-zbase32/PLIST
new file mode 100644
index 00000000000..2bb77eb1dd6
--- /dev/null
+++ b/converters/py-zbase32/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/07/24 17:56:26 gdt Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/zbase32/__init__.py
+${PYSITELIB}/zbase32/__init__.pyc
+${PYSITELIB}/zbase32/__init__.pyo
+${PYSITELIB}/zbase32/_version.py
+${PYSITELIB}/zbase32/_version.pyc
+${PYSITELIB}/zbase32/_version.pyo
+${PYSITELIB}/zbase32/test/__init__.py
+${PYSITELIB}/zbase32/test/__init__.pyc
+${PYSITELIB}/zbase32/test/__init__.pyo
+${PYSITELIB}/zbase32/test/test_zbase32.py
+${PYSITELIB}/zbase32/test/test_zbase32.pyc
+${PYSITELIB}/zbase32/test/test_zbase32.pyo
+${PYSITELIB}/zbase32/zbase32.py
+${PYSITELIB}/zbase32/zbase32.pyc
+${PYSITELIB}/zbase32/zbase32.pyo
+${PYSITELIB}/zbase32/zbase32id.py
+${PYSITELIB}/zbase32/zbase32id.pyc
+${PYSITELIB}/zbase32/zbase32id.pyo
diff --git a/converters/py-zbase32/distinfo b/converters/py-zbase32/distinfo
new file mode 100644
index 00000000000..f10d86c2bb0
--- /dev/null
+++ b/converters/py-zbase32/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/07/24 17:56:26 gdt Exp $
+
+SHA1 (zbase32-1.1.2.tar.gz) = 1535ccc3df1c6cfd70358b45d2a7615c35702451
+RMD160 (zbase32-1.1.2.tar.gz) = 6b57478da03c2f67fa006bad92193fe1ce0b3a17
+Size (zbase32-1.1.2.tar.gz) = 21541 bytes