Commits

Rob Lanphier  committed dca67f5

.deb cleanup and licensing/metadata cleanup
* Clean up Depends: line to remove duplicate python-urwid
* Update debian/changelog
* Populate debian/copyright

  • Participants
  • Parent commits 34b4c52

Comments (0)

Files changed (6)

 On deck:
 
 0.1.3:
-*  Package for Ubuntu
 
 0.1.4:
 *  Put "Add field" over in the data area

File debian/changelog

 jsonwidget (0.1.3dev-1) unstable; urgency=low
 
-  * source package automatically created by stdeb 0.5.1+git
+  * Initial .deb package.  Source package created by stdeb 0.5.1+git, then
+    tweaked.
 
  -- Rob Lanphier <robla@robla.net>  Mon, 08 Mar 2010 14:43:10 -0800

File debian/control

 
 Package: python-jsonwidget
 Architecture: all
-Depends: ${python:Depends}, python-urwid, python-simpleparse, python-urwid
+Depends: ${python:Depends}, python-urwid, python-simpleparse
 XB-Python-Version: ${python:Versions}
 Provides: ${python:Provides}
-Description: Dynamic terminal window form creation for JSON data structur
+Homepage: http://robla.net/jsonwidget
+Description: Terminal window form creation from JSON data structures
  This library allows an application developer to provide a curses-based user 
  interface for an application using not much more than a JSON schema.  The 
  JSON schema language is described here:

File debian/copyright

+Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+Name: jsonwidget-python
+Source: http://bitbucket.org/robla/jsonwidget-python/
+
+Copyright: 2010, Rob Lanphier <robla@robla.net>
+License: BSD
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ .
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+ .
+    * Neither my name nor the names of my contributors may be used to
+      endorse or promote products derived from this software without
+      specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
+Files: jsonwidget/floatedit.py
+Copyright: Copyright (c) 2010  Rob Lanphier
+ Derived from IntEdit in the urwid basic widget classes
+  Copyright (C) 2004-2007  Ian Ward
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: jsonwidget/treetools.py
+Copyright:  Generic TreeWidget/TreeWalker class 
+    Copyright (c) 2010  Rob Lanphier
+ Derived from Urwid example lazy directory browser / tree view:
+    Copyright (C) 2004-2009  Ian Ward
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
+

File docs/devnotes.txt

+== Creating a .deb package ==
+
+# Run the following commands:
+export VERSION=(version you are packaging)
+python setup.py sdist
+cd dist
+tar zxvf jsonwidget-${VERSION}.tar.gz
+cd jsonwidget-${VERSION}
+# use "-uc -us" to skip signing
+dpkg-buildpackage -rfakeroot
+
+
+

File jsonwidget/treetools.py

 #!/usr/bin/python
 #
-#  Generic TreeWidget/TreeWalker class 
-#    Original version:
-#      Urwid example lazy directory browser / tree view
-#      Copyright (C) 2004-2009  Ian Ward
-#    Copied and adapted by Rob Lanphier
+# Generic TreeWidget/TreeWalker class 
+#    Copyright (c) 2010  Rob Lanphier
+# Derived from Urwid example lazy directory browser / tree view:
+#    Copyright (C) 2004-2009  Ian Ward
 #
 #    This library is free software; you can redistribute it and/or
 #    modify it under the terms of the GNU Lesser General Public