diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..74d819b --- /dev/null +++ b/debian/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/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..74aa8eb --- /dev/null +++ b/debian/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/debian/copyright b/debian/copyright new file mode 100644 index 0000000..20cd58d --- /dev/null +++ b/debian/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/debian/rules b/debian/rules new file mode 100755 index 0000000..461a2d5 --- /dev/null +++ b/debian/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 diff --git a/setup.py b/setup.py index 4b7af5c..5d28892 100644 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ Setup script for eopayment ''' import distutils +import distutils.core import eopayment distutils.core.setup(name='eopayment',