summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork clair <kclair@riseup.net>2012-10-09 13:41:01 -0700
committerk clair <kclair@riseup.net>2012-10-09 13:41:01 -0700
commit0381155196f44db2710d497ed1653843fd403fb5 (patch)
tree7d4a1ab40572d96ac2c52e229830b5b8490fd7b8
parent7f5b1fd4f27f3c04acb5cf288785283ade663647 (diff)
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
-rw-r--r--README14
-rw-r--r--README-Debian45
2 files changed, 14 insertions, 45 deletions
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 77dccd4..0000000
--- a/README-Debian
+++ /dev/null
@@ -1,45 +0,0 @@
-This repository is used for building the python-requests .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/requests
-
-3. Unpack the tarball
-
-4. cd into the source directory
-
-5. run dh_make:
-$ dh_make -s -f ../requests-0.14.0.tar.gz -e <Your.Email@address.here> -p python-requests
-
-6. edit the debian/control file using the following fields:
-
- Source: python-requests
- Maintainer: Your Name <Your.Email@address.here>
- Section: python
- Priority: optional
- Build-Depends: python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4)
- Standards-Version: 3.8.4
-
- Package: python-requests
- Architecture: all
- Depends: ${misc:Depends}, ${python:Depends}
- XB-Python-Version: ${python:Versions}
- Provides: ${python:Provides}
- Description: Python HTTP for Humans.
-
-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