summaryrefslogtreecommitdiff
path: root/converters/py-zbase32/Makefile
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-07-24 17:56:26 +0000
committergdt <gdt@pkgsrc.org>2010-07-24 17:56:26 +0000
commit069321715730a7c4f572f4f4da6f896bf2095548 (patch)
tree9053800d904735224954f8e985c06f32110ec1c1 /converters/py-zbase32/Makefile
parente2bf33f297b9de3066b33dd654a683a2f514ee28 (diff)
downloadpkgsrc-069321715730a7c4f572f4f4da6f896bf2095548.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/py-zbase32/Makefile')
-rw-r--r--converters/py-zbase32/Makefile18
1 files changed, 18 insertions, 0 deletions
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"