improve debian/ directory using stdeb default debianization as example

This commit is contained in:
Benjamin Dauvergne 2012-01-30 16:07:28 +01:00
parent d06d23ee3d
commit ae3eaac6d8
5 changed files with 26 additions and 86 deletions

12
debian/changelog vendored
View File

@ -1,3 +1,15 @@
eopayment (0.0.3-2) squeeze; urgency=low
* Improve debian/ using python-stdeb
-- Benjamin Dauvergne <bdauvergne@entrouvert.com> Mon, 30 Jan 2012 16:06:42 +0100
eopayment (0.0.3-1) squeeze; urgency=low
* New upstream release.
-- Benjamin Dauvergne <bdauvergne@entrouvert.com> Mon, 30 Jan 2012 15:52:32 +0100
eopayment (0.0.1-2) lenny; urgency=low
* New package, with fix for Python 2.5.

2
debian/compat vendored
View File

@ -1 +1 @@
4
7

19
debian/control vendored
View File

@ -1,16 +1,15 @@
Source: eopayment
Maintainer: Frederic Peters <fpeters@debian.org>
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
Homepage: http://dev.entrouvert.org/projects/eopayment/
Build-Depends: python-all (>= 2.6.6-3), debhelper (>= 7)
Standards-Version: 3.9.1
Package: python-eopayment
Architecture: all
Depends: ${python:Depends}, python-crypto (>= 2.1.0)
XB-Python-Version: ${python:Versions}
Description: common API to access online payment services
eopayment is a Python module to interface with French's bank credit
card online payment services. Supported services are ATOS/SIP, SystemPay,
and SPPLUS.
Depends: ${misc:Depends}, ${python:Depends}
Breaks: ${python:Breaks}
Description: Common API to use all French online payment credit card proc
eopayment is a Python module to interface with French's bank credit card
online payment services. Supported services are ATOS/SIP, SystemPay, and
SPPLUS.

25
debian/copyright vendored
View File

@ -1,25 +0,0 @@
This package was debianized by Frederic Peters <fpeters@debian.org> on
Mon, 02 May 2011 09:48:09 +0200
Upstream Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Copyright (c) 2011 Entr'ouvert;
License is GNU GPL v3.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111-1307, USA.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in `/usr/share/common-licenses/GPL'.

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
# Mon, 30 Jan 2012 16:02:57 +0100
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