[Python-modules-commits] r30331 - in packages/pyjwt/trunk/debian (6 files)
eriol-guest at users.alioth.debian.org
eriol-guest at users.alioth.debian.org
Fri Aug 29 01:58:37 UTC 2014
Date: Friday, August 29, 2014 @ 01:58:36
Author: eriol-guest
Revision: 30331
Add manpages
Added:
packages/pyjwt/trunk/debian/clean
packages/pyjwt/trunk/debian/jwt.1
packages/pyjwt/trunk/debian/python-jwt.manpages
packages/pyjwt/trunk/debian/python3-jwt.manpages
Modified:
packages/pyjwt/trunk/debian/changelog
packages/pyjwt/trunk/debian/rules
Modified: packages/pyjwt/trunk/debian/changelog
===================================================================
--- packages/pyjwt/trunk/debian/changelog 2014-08-29 01:57:27 UTC (rev 30330)
+++ packages/pyjwt/trunk/debian/changelog 2014-08-29 01:58:36 UTC (rev 30331)
@@ -2,4 +2,4 @@
* Initial release (Closes: #755832)
- -- Daniele Tricoli <eriol at mornie.org> Fri, 25 Jul 2014 16:40:15 +0200
+ -- Daniele Tricoli <eriol at mornie.org> Fri, 29 Aug 2014 03:57:54 +0200
Added: packages/pyjwt/trunk/debian/clean
===================================================================
--- packages/pyjwt/trunk/debian/clean (rev 0)
+++ packages/pyjwt/trunk/debian/clean 2014-08-29 01:58:36 UTC (rev 30331)
@@ -0,0 +1 @@
+debian/jwt3.1
Added: packages/pyjwt/trunk/debian/jwt.1
===================================================================
--- packages/pyjwt/trunk/debian/jwt.1 (rev 0)
+++ packages/pyjwt/trunk/debian/jwt.1 2014-08-29 01:58:36 UTC (rev 30331)
@@ -0,0 +1,47 @@
+.TH JWT "1" "August 2014" "jwt 0.1" "User Commands"
+.SH NAME
+jwt \- Python implementation of JSON Web Token
+.SH SYNOPSIS
+.B jwt
+[\fI\,options\/\fR] \fI\,input\/\fR
+.SH DESCRIPTION
+Encodes or decodes JSON Web Tokens based on input
+.SH OPTIONS
+.TP
+\fB\-\-version\fR
+show program's version number and exit
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-n\fR, \fB\-\-no\-verify\fR
+ignore signature verification on decode
+.TP
+\fB\-\-key\fR=\fI\,KEY\/\fR
+set the secret key to sign with
+.TP
+\fB\-\-alg\fR=\fI\,ALG\/\fR
+set crypto algorithm to sign with. default=HS256
+.SH EXAMPLES
+Decoding:
+.P
+jwt \fB\-\-key\fR=\fI\,secret\/\fR json.web.token
+
+jwt \fB\-\-no\-verify\fR json.web.token
+.P
+Encoding requires the key option and takes space separated key/value pairs
+separated by equals (=) as input.
+.P
+Examples:
+
+jwt \fB\-\-key\fR=\fI\,secret\/\fR iss=me exp=1302049071
+
+jwt \fB\-\-key\fR=\fI\,secret\/\fR foo=bar exp=+10
+
+The exp key is special and can take an offset to current Unix time.
+.SH AUTHOR
+Jeff Lindsay <progrium at gmail.com>
+.PP
+This manual page was written by Daniele Tricoli <eriol at mornie.org>, for the
+Debian project (but may be used by others).
+
Added: packages/pyjwt/trunk/debian/python-jwt.manpages
===================================================================
--- packages/pyjwt/trunk/debian/python-jwt.manpages (rev 0)
+++ packages/pyjwt/trunk/debian/python-jwt.manpages 2014-08-29 01:58:36 UTC (rev 30331)
@@ -0,0 +1 @@
+debian/jwt.1
Added: packages/pyjwt/trunk/debian/python3-jwt.manpages
===================================================================
--- packages/pyjwt/trunk/debian/python3-jwt.manpages (rev 0)
+++ packages/pyjwt/trunk/debian/python3-jwt.manpages 2014-08-29 01:58:36 UTC (rev 30331)
@@ -0,0 +1 @@
+debian/jwt3.1
Modified: packages/pyjwt/trunk/debian/rules
===================================================================
--- packages/pyjwt/trunk/debian/rules 2014-08-29 01:57:27 UTC (rev 30330)
+++ packages/pyjwt/trunk/debian/rules 2014-08-29 01:58:36 UTC (rev 30331)
@@ -7,9 +7,16 @@
export PYTHONWARNINGS=d
+include /usr/share/dpkg/default.mk
+
%:
dh $@ --with python2,python3 --buildsystem=pybuild
+override_dh_auto_build:
+ dh_auto_build
+ cp debian/jwt.1 debian/jwt3.1
+ sed -i 's/jwt/jwt3/g' debian/jwt3.1
+
override_dh_auto_install:
dh_auto_install
mv debian/python3-jwt/usr/bin/jwt debian/python3-jwt/usr/bin/jwt3
More information about the Python-modules-commits
mailing list