0001-debian-build-a-python3-package-25504.patch
debian/compat | ||
---|---|---|
1 |
7 |
|
1 |
9 |
debian/control | ||
---|---|---|
2 | 2 |
Section: python |
3 | 3 |
Priority: optional |
4 | 4 |
Maintainer: Frederic Peters <fpeters@debian.org> |
5 |
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 7.4.3)
|
|
5 |
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), python3-setuptools, python3-all, debhelper (>= 9)
|
|
6 | 6 |
Standards-Version: 3.9.1 |
7 |
X-Python-Version: >= 2.6 |
|
7 |
X-Python-Version: >= 2.7 |
|
8 |
X-Python3-Version: >= 3.4 |
|
8 | 9 |
Homepage: http://dev.entrouvert.org/projects/eopayment/ |
9 | 10 | |
10 | 11 |
Package: python-eopayment |
11 | 12 |
Architecture: all |
12 | 13 |
Depends: ${python:Depends} |
13 |
XB-Python-Version: ${python:Versions} |
|
14 | 14 |
Description: common API to access online payment services |
15 | 15 |
eopayment is a Python module to interface with French's bank credit |
16 | 16 |
card online payment services. Supported services are ATOS/SIP, SystemPay, |
17 | 17 |
and SPPLUS. |
18 | ||
19 | ||
20 |
Package: python3-eopayment |
|
21 |
Architecture: all |
|
22 |
Depends: ${python3:Depends} |
|
23 |
Description: common API to access online payment services (Python 3) |
|
24 |
eopayment is a Python module to interface with French's bank credit |
|
25 |
card online payment services. Supported services are ATOS/SIP, SystemPay, |
|
26 |
and SPPLUS. |
|
27 |
. |
|
28 |
This is the Python 3 version of the package. |
debian/python-eopayment.docs | ||
---|---|---|
1 |
README.txt |
debian/python-eopayment.install | ||
---|---|---|
1 |
/usr/lib/python2.* |
debian/python3-eopayment.docs | ||
---|---|---|
1 |
README.txt |
debian/python3-eopayment.install | ||
---|---|---|
1 |
/usr/lib/python3.* |
debian/rules | ||
---|---|---|
1 | 1 |
#!/usr/bin/make -f |
2 | 2 | |
3 |
# This file was automatically generated by stdeb 0.6.0+git at |
|
4 |
# Fri, 14 Jun 2013 17:33:52 +0200 |
|
5 | ||
6 | 3 |
%: |
7 |
dh $@ --with python2 --buildsystem=python_distutils |
|
8 | ||
9 | ||
4 |
dh $@ --with python2,python3 --buildsystem=pybuild |
setup.py | ||
---|---|---|
4 | 4 |
Setup script for eopayment |
5 | 5 |
''' |
6 | 6 | |
7 |
import io |
|
7 | 8 |
import subprocess |
8 | 9 |
import distutils |
9 | 10 |
import distutils.core |
... | ... | |
83 | 84 |
license='GPLv3 or later', |
84 | 85 |
description='Common API to use all French online payment credit card ' |
85 | 86 |
'processing services', |
86 |
long_description=open( |
|
87 |
long_description=io.open(
|
|
87 | 88 |
os.path.join( |
88 | 89 |
os.path.dirname(__file__), |
89 |
'README.txt')).read(), |
|
90 |
'README.txt'), encoding='utf-8').read(),
|
|
90 | 91 |
url='http://dev.entrouvert.org/projects/eopayment/', |
91 | 92 |
author="Entr'ouvert", |
92 | 93 |
author_email="info@entrouvert.com", |
93 |
- |