debian: build a python3 package (#25504)
This commit is contained in:
parent
7b181305c6
commit
df2902a973
|
@ -1 +1 @@
|
|||
7
|
||||
9
|
||||
|
|
|
@ -2,16 +2,27 @@ Source: eopayment
|
|||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: Frederic Peters <fpeters@debian.org>
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), debhelper (>= 7.4.3)
|
||||
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6), python3-setuptools, python3-all, debhelper (>= 9)
|
||||
Standards-Version: 3.9.1
|
||||
X-Python-Version: >= 2.6
|
||||
X-Python-Version: >= 2.7
|
||||
X-Python3-Version: >= 3.4
|
||||
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.
|
||||
|
||||
|
||||
Package: python3-eopayment
|
||||
Architecture: all
|
||||
Depends: ${python3:Depends}
|
||||
Description: common API to access online payment services (Python 3)
|
||||
eopayment is a Python module to interface with French's bank credit
|
||||
card online payment services. Supported services are ATOS/SIP, SystemPay,
|
||||
and SPPLUS.
|
||||
.
|
||||
This is the Python 3 version of the package.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
README.txt
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/python2.*
|
|
@ -0,0 +1 @@
|
|||
README.txt
|
|
@ -0,0 +1 @@
|
|||
/usr/lib/python3.*
|
|
@ -1,9 +1,4 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
# This file was automatically generated by stdeb 0.6.0+git at
|
||||
# Fri, 14 Jun 2013 17:33:52 +0200
|
||||
|
||||
%:
|
||||
dh $@ --with python2 --buildsystem=python_distutils
|
||||
|
||||
|
||||
dh $@ --with python2,python3 --buildsystem=pybuild
|
||||
|
|
5
setup.py
5
setup.py
|
@ -4,6 +4,7 @@
|
|||
Setup script for eopayment
|
||||
'''
|
||||
|
||||
import io
|
||||
import subprocess
|
||||
import distutils
|
||||
import distutils.core
|
||||
|
@ -83,10 +84,10 @@ setuptools.setup(
|
|||
license='GPLv3 or later',
|
||||
description='Common API to use all French online payment credit card '
|
||||
'processing services',
|
||||
long_description=open(
|
||||
long_description=io.open(
|
||||
os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
'README.txt')).read(),
|
||||
'README.txt'), encoding='utf-8').read(),
|
||||
url='http://dev.entrouvert.org/projects/eopayment/',
|
||||
author="Entr'ouvert",
|
||||
author_email="info@entrouvert.com",
|
||||
|
|
Loading…
Reference in New Issue