I need to write, or find, a script to create a Debian package, using python-support, from a Python package. The Python package will be pure Python with no C extensions.
The Python package for testing purposes will just be a directory with an empty
I would take the sources of an existing Debian package, and replace the actual package in it with your package. To find a list of packages that depend on python-support, do
apt-cache rdepends python-support
Pick a package that is
Architecture: all, so that it is a pure-Python package. Going through this list, I found that e.g. python-flup might be a good starting point.
To get the source of one such package, do
apt-get source <package>
To build it, do
cd <packagesrc> dpkg-buildpackage -rfakeroot
When editing it, expect that you only need the files in the
debian folder; replace all references to flup with your own package name.
Once you get started, it should take you a day to complete.