From 209b2a7d7f3d0a1eb7d567e42a62005fb0a2772e Mon Sep 17 00:00:00 2001 From: k clair Date: Tue, 9 Oct 2012 13:46:30 -0700 Subject: change the README around - make a generic README in the master branch so that the repo can be used to generate packages for various OSes --- README | 14 ++++++++++++++ README-Debian | 44 -------------------------------------------- 2 files changed, 14 insertions(+), 44 deletions(-) create mode 100644 README delete mode 100644 README-Debian diff --git a/README b/README new file mode 100644 index 0000000..59a23a3 --- /dev/null +++ b/README @@ -0,0 +1,14 @@ +This repository is used for building packages for the python-requests module. + +So far, the following OSes are supported: +* debian 6.0.6 (all architectures) + +About the structure of this repository +--------------------------------------------- + +The master branch should hold the source files from upstream, +this README file, and the generated packages. + +The files necessary to build packages should reside in OS-specific branches. + +When a new package is generated, it should be copied to the master branch. diff --git a/README-Debian b/README-Debian deleted file mode 100644 index 0e2cd50..0000000 --- a/README-Debian +++ /dev/null @@ -1,44 +0,0 @@ -This repository is used for building the python-jsonschema .deb package for debian and ubuntu. - -The debian packaging files are located in the debian branch. - -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/jsonschema - -3. Unpack the tarball - -4. cd into the source directory - -5. run dh_make: -$ dh_make -s -f ../jsonschema-0.6.tar.gz -e -p python-jsonschema - -6. edit the debian/control file using the following fields: - - Source: python-jsonschema - Section: python - Priority: optional - Maintainer: Your Name - Build-Depends: debhelper (>= 7.0.50~), python-support, python (>=2.6) - Standards-Version: 3.9.4.0 - Homepage: http://pypi.python.org/pypi/jsonschema - - Package: python-jsonschema - Architecture: all - Depends: ${misc:Depends}, ${python:Depends} - Description: Provides the jsonschema python package - -7. edit the debian/copyright file, using the COPYING file in the source tree for the copyright text. - -8. specify supported python versions: -$ echo "2.6-" > debian/pyversions - -9. [TODO] edit the debian/changelog file - -10. run debuild -$ debuild -- cgit v1.2.3