1. Rob Lanphier
  2. jsonwidget-python

Commits

Rob Lanphier  committed 34b4c52

Generated Debian packaging files using stdeb

  • Participants
  • Parent commits 5d69544
  • Branches default

Comments (0)

Files changed (8)

File MANIFEST.in

View file
 include *.txt
+include debian/*
 include docs/*
 include examples/*
 include jsonwidget/schema/*
 include jsonedit
 include jsonaddress
+include stdeb.cfg
 

File debian/changelog

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

File debian/compat

View file
+7

File debian/control

View file
+Source: jsonwidget
+Maintainer: Rob Lanphier <robla@robla.net>
+Section: python
+Priority: optional
+Build-Depends: python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4)
+Standards-Version: 3.7.2
+XS-Python-Version: current
+
+Package: python-jsonwidget
+Architecture: all
+Depends: ${python:Depends}, python-urwid, python-simpleparse, python-urwid
+XB-Python-Version: ${python:Versions}
+Provides: ${python:Provides}
+Description: Dynamic terminal window form creation for JSON data structur
+ 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:
+ http://robla.net/jsonwidget/jsonschema/
+ .
+ However, most people will find it much simpler to use a tool to generate a 
+ schema for tweaking.  The tool available here will generate a schema from an
+ example piece of JSON, and allow editing the resulting file:
+ http://robla.net/jsonwidget/example.php?sample=byexample&user=normal
+ .
+ This library currently only operates on a subset of JSON files, but a near-term
+ goal is to allow editing of any arbitrary JSON file.
+ .
+ The following utilities are included with jsonwidget:
+ jsonedit - a general purpose json editing program
+ jsonaddress - an example JSON address book editor
+ .
+ Website: http://robla.net/jsonwidget

File debian/python-jsonwidget.preinst

View file
+#! /bin/sh
+
+set -e
+
+# This was added by stdeb to workaround Debian #479852. In a nutshell,
+# pycentral does not remove normally remove its symlinks on an
+# upgrade. Since we're using python-support, however, those symlinks
+# will be broken. This tells python-central to clean up any symlinks.
+if [ -e /var/lib/dpkg/info/python-jsonwidget.list ] && which pycentral >/dev/null 2>&1
+then
+    pycentral pkgremove python-jsonwidget
+fi
+
+#DEBHELPER#

File debian/rules

View file
+#!/usr/bin/make -f
+
+# This file was automatically generated by stdeb 0.5.1+git at
+# Mon, 08 Mar 2010 14:43:10 -0800
+
+# Unset the environment variables set by dpkg-buildpackage. (This is
+# necessary because distutils is brittle with compiler/linker flags
+# set. Specifically, packages using f2py will break without this.)
+unexport CPPFLAGS
+unexport CFLAGS
+unexport CXXFLAGS
+unexport FFLAGS
+unexport LDFLAGS
+
+#exports specified using stdeb Setup-Env-Vars:
+export DH_OPTIONS=--buildsystem=python_distutils
+
+
+%:
+	dh $@
+
+

File setup.py

View file
                         "simpleparse"],
       entry_points={},
       scripts=['jsonedit', 'jsonaddress'],
-      package_data={'schema':['schema/*.json']},
+      package_data={'schema':['jsonwidget/schema/*.json']},
       )

File stdeb.cfg

View file
+[DEFAULT]
+Depends: python-urwid, python-simpleparse