Commits

Bruno Clermont committed be035b6

add debian packaging

  • Participants
  • Parent commits 11bef0c

Comments (0)

Files changed (6)

File debian/changelog

+python-django-storages (1.1.3-0) testing; urgency=low
+
+  * Initial Debian package
+
+ -- Bruno Clermont <bruno.clermont@gmail.com>  Tue,  6 Dec 2011 16:28:00 -0400

File debian/compat

+5

File debian/control

+Source: python-django-storages
+Section: python
+Priority: optional
+Maintainer: David Larlet <david@larlet.fr>
+Homepage: http://code.welldev.org/django-storages/
+Build-Depends: debhelper, python-support
+
+Package: python-django-storages
+Architecture: all
+Depends: ${python:Depends}, python-support, python-django
+Provides: ${python:Provides}
+Suggests: python-paramiko, python-boto, python-rackspace-cloudfiles,
+ python-pymongo, python-gridfs, python-mogilefs, python-imaging,
+ python-couchdb
+Description: Support for many storages (S3, MogileFS, etc) in Django.
+README

File debian/pyversions

+2.4-

File debian/rules

+#!/usr/bin/make -f
+
+# Verbose mode
+#export DH_VERBOSE=1
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	dh_clean
+
+build:
+	dh_testdir
+
+	python setup.py build
+
+install:
+	dh_testdir
+	dh_installdirs
+
+	python setup.py install --root $(CURDIR)/debian/python-django-storages
+
+binary-indep: install
+
+binary-arch: install
+	dh_install
+	dh_installdocs
+#	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_pysupport
+	dh_gencontrol
+	dh_installdeb
+	dh_md5sums
+	dh_builddeb -- -Z lzma -z9
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
+