summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork clair <kclair@riseup.net>2012-10-09 13:00:08 -0700
committerk clair <kclair@riseup.net>2012-10-09 13:00:33 -0700
commit7657846fdeb508dd62da18d0ecd021a2ba1f8459 (patch)
tree81f30707f7314f0211b51956b620817bdd7e526a
parente7f841ebffe2a1631a3bd8056b2aa2182184fc8a (diff)
add README
-rw-r--r--README43
1 files changed, 43 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..4fe7778
--- /dev/null
+++ b/README
@@ -0,0 +1,43 @@
+This repository is used for building the python-jsonschema .deb package for debian and ubuntu.
+
+Building the package
+-------------------------
+
+1. set up environment variables, making sure the full name and email exactly match the GPG key used to sign:
+$ export DEBFULLNAME="Your Name"
+$ export DEBEMAIL="Your.Email@address.here"
+
+2. Download the tarball from http://pypi.python.org/pypi/ping/
+
+3. Unpack the tarball
+
+4. cd into the source directory
+
+5. run dh_make:
+$ dh_make -s -f ../ping-0.2.tar.gz -e <Your.Email@address.here> -p python-ping
+
+6. edit the debian/control using the following fields:
+
+ Source: python-ping
+ Maintainer: Your Name <Your.Email@address.here>
+ Section: python
+ Priority: optional
+ Build-Depends: debhelper (>= 7), python-support (>= 0.8.4)
+ Standards-Version: 3.8.4
+
+ Package: python-ping
+ Architecture: all
+ Depends: ${misc:Depends}, ${python:Depends}
+ XB-Python-Version: ${python:Versions}
+ Provides: ${python:Provides}
+ Description: An implementation of ICMP ping in Python
+
+7. edit the debian/copyright file
+
+8. specify supported python versions:
+$ echo "2.6-" > debian/pyversions
+
+9. [TODO] edit the debian/changelog file
+
+10. run debuild
+$ debuild