debian: new packaging for debian squeeze, copied from python-entrouvert

This commit is contained in:
Benjamin Dauvergne 2013-10-07 15:17:13 +02:00
parent fc668ed629
commit fdaf969782
4 changed files with 14 additions and 53 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
eopayment (0.0.20-0) squeeze; urgency=low
* New packaging for debian squeeze.
-- Benjamin Dauvergne <bdauvergne@dor-lomin.entrouvert.com> Mon, 07 Oct 2013 15:13:59 +0200
eopayment (0.0.1-1) lenny; urgency=low
* Initial package, targetting lenny.

2
debian/compat vendored
View File

@ -1 +1 @@
4
7

5
debian/control vendored
View File

@ -2,8 +2,9 @@ Source: eopayment
Section: python
Priority: optional
Maintainer: Frederic Peters <fpeters@debian.org>
Build-Depends: python-support (>= 0.4), debhelper (>= 5.0.37.2)
Standards-Version: 3.6.7.0
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 7.4.3)
Standards-Version: 3.9.1
X-Python-Version: >= 2.6
Homepage: http://dev.entrouvert.org/projects/eopayment/
Package: python-eopayment

54
debian/rules vendored
View File

@ -1,55 +1,9 @@
#!/usr/bin/make -f
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This file was automatically generated by stdeb 0.6.0+git at
# Fri, 14 Jun 2013 17:33:52 +0200
PYTHON=/usr/bin/python
build: build-stamp
build-stamp:
dh_testdir
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp
-python setup.py clean
rm -rf build
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(PYTHON) setup.py install --prefix=$(CURDIR)/debian/python-eopayment/usr --no-compile
%:
dh $@ --with python2 --buildsystem=python_distutils
# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installcron
dh_installdocs
dh_installchangelogs
dh_installinit
dh_link
dh_strip
dh_pysupport
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install