Commit 8d88e470 authored by Jérémy Bobbio (Lunar)'s avatar Jérémy Bobbio (Lunar)
Browse files

Update Debian packaging with support for Python 3

Update the build system to use pybuild.

The new binary package with Python 3 support is named
python3-cubicweb-bootstrap according to current standards.
Python 2 package is also updated to use the proper namespace
and a transitional package has been introduced to handle
the migration.

Support for Python 3.8 is disabled as it is currently broken
in Debian unstable.
parent 608584c27761
cubicweb-bootstrap (1.6.3-2) unstable; urgency=medium
* Update packaging with support for python3
-- Philippe Pepiot <philippe.pepiot@logilab.fr> Thu, 21 Nov 2019 11:58:55 +0100
cubicweb-bootstrap (1.6.3-1) unstable; urgency=medium
* New upstream release
......
......@@ -2,25 +2,42 @@ Source: cubicweb-bootstrap
Section: web
Priority: optional
Maintainer: LOGILAB S.A. (Paris, FRANCE) <contact@logilab.fr>
Build-Depends:
debhelper (>= 9),
python (>= 2.7),
dh-python,
python-setuptools,
Standards-Version: 3.9.8
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
python-cubicweb,
python-pytest,
python-setuptools,
python3-all,
python3-cubicweb,
python3-pytest,
python3-setuptools,
Standards-Version: 4.3.0
X-Python-Version: >= 2.7
X-Python3-Version: >= 3.5
Package: cubicweb-bootstrap
Package: python-cubicweb-bootstrap
Architecture: all
Depends:
python-cubicweb (>= 3.24.0),
python-six,
${python:Depends},
${misc:Depends},
Breaks:
cubicweb-squareui (<< 1.0.0),
Depends: ${misc:Depends}, ${python:Depends}
Breaks: cubicweb-squareui (<< 1.0.0)
Description: bootstrap-compatible components for CubicWeb
This cube provides bootstrap version of views, components,
boxes, etc. but does not provide a main template.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: python3-cubicweb-bootstrap
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: bootstrap-compatible components for CubicWeb
This cube provides bootstrap version of views, components,
boxes, etc. but does not provide a main template.
.
CubicWeb is a semantic web application framework, see http://www.cubicweb.org
Package: cubicweb-bootstrap
Architecture: all
Section: oldlibs
Depends: python-cubicweb-bootstrap, ${misc:Depends}
Description: transitional package
This is a transitional package. It can safely be removed.
#!/usr/bin/make -f
export PYBUILD_NAME = cubicweb-bootstrap
# Python 3.8 is broken in Debian unstable as of 2019-11-20
export PYBUILD_DISABLE_python3.8 = 1
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild
extend-diff-ignore = "^(.hg(/|ignore$|tags$)|[^/]*\.spec$|__pkginfo__\.py$)"
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