From db688993b0a219d9f5923e842336da9d94ddf5e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 2 May 2011 09:56:19 +0200 Subject: [PATCH 1/2] debian packaging --- changelog | 5 +++++ compat | 1 + control | 16 ++++++++++++++++ copyright | 25 +++++++++++++++++++++++++ rules | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 copyright create mode 100755 rules diff --git a/changelog b/changelog new file mode 100644 index 0000000..74d819b --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +eopayment (0.0.1-1) lenny; urgency=low + + * Initial package, targetting lenny. + + -- Frederic Peters Mon, 02 May 2011 09:51:28 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +4 diff --git a/control b/control new file mode 100644 index 0000000..74aa8eb --- /dev/null +++ b/control @@ -0,0 +1,16 @@ +Source: eopayment +Section: python +Priority: optional +Maintainer: Frederic Peters +Build-Depends: python-support (>= 0.4), debhelper (>= 5.0.37.2) +Standards-Version: 3.6.7.0 +Homepage: http://dev.entrouvert.org/projects/eopayment/ + +Package: python-eopayment +Architecture: all +Depends: ${python:Depends} +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. diff --git a/copyright b/copyright new file mode 100644 index 0000000..20cd58d --- /dev/null +++ b/copyright @@ -0,0 +1,25 @@ +This package was debianized by Frederic Peters on +Mon, 02 May 2011 09:48:09 +0200 + +Upstream Author: Benjamin Dauvergne + +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'. diff --git a/rules b/rules new file mode 100755 index 0000000..461a2d5 --- /dev/null +++ b/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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 + + +# 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 From 50ea90445844f6d1e4180dad992e31be997a5463 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 7 Oct 2013 15:17:13 +0200 Subject: [PATCH 2/2] debian: new packaging for debian squeeze, copied from python-entrouvert --- changelog | 6 ++++++ compat | 2 +- control | 5 +++-- rules | 54 ++++-------------------------------------------------- 4 files changed, 14 insertions(+), 53 deletions(-) diff --git a/changelog b/changelog index 74d819b..fc79343 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +eopayment (0.0.20-0) squeeze; urgency=low + + * New packaging for debian squeeze. + + -- Benjamin Dauvergne Mon, 07 Oct 2013 15:13:59 +0200 + eopayment (0.0.1-1) lenny; urgency=low * Initial package, targetting lenny. diff --git a/compat b/compat index b8626c4..7f8f011 100644 --- a/compat +++ b/compat @@ -1 +1 @@ -4 +7 diff --git a/control b/control index 74aa8eb..a61eb04 100644 --- a/control +++ b/control @@ -2,8 +2,9 @@ Source: eopayment Section: python Priority: optional Maintainer: Frederic Peters -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 diff --git a/rules b/rules index 461a2d5..447dee0 100755 --- a/rules +++ b/rules @@ -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