Commit 9355bae0 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

Update debian packaging with support for python3

Switch to 3.0 quilt source format.
Introduce a python-cubicweb-person package replacing cubicweb-person.
Add a python3-cubicweb-person package.
parent 05679d6e9b23
......@@ -3,26 +3,48 @@ Section: web
Priority: optional
Maintainer: Logilab Packaging Team <contact@logilab.fr>
Uploaders: Sylvain Thenault <sylvain.thenault@logilab.fr>
Build-Depends:
debhelper (>= 9),
python (>= 2.7),
dh-python,
python-setuptools,
Standards-Version: 3.9.8
Homepage: https://www.cubicweb.org/project/cubicweb-person
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-setuptools,
python-pytest,
python-cubicweb,
python3-all,
python3-setuptools,
python3-pytest,
python3-cubicweb,
Standards-Version: 4.3.0
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.5
Homepage: https://www.cubicweb.org/project/cubicweb-person
Package: cubicweb-person
Package: python-cubicweb-person
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Recommends:
python-cubicweb-addressbook
Breaks: cubicweb-person (<< 1.11.0-1~)
Replaces: cubicweb-person (<< 1.11.0-1~)
Description: person component for the CubicWeb framework
This CubicWeb component models person (firstname, lastname,
email address and optional postal address).
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: python3-cubicweb-person
Architecture: all
Depends:
python-cubicweb (>= 3.24),
python-six (>= 1.4.0),
${python:Depends},
${misc:Depends},
Depends: ${misc:Depends}, ${python3:Depends}
Recommends:
cubicweb-addressbook
python3-cubicweb-addressbook
Description: person component for the CubicWeb framework
This CubicWeb component models person (firstname, lastname,
email address and optional postal address).
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: cubicweb-person
Architecture: all
Section: oldlibs
Depends: python-cubicweb-person, ${misc:Depends}
Description: transitional package
This is a transitional package. It can safely be removed.
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-person
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild
extend-diff-ignore = "^(.hg(/|ignore$|tags$))"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment