add python3 package

This commit is contained in:
Frédéric Péters 2020-03-31 20:46:36 +02:00
parent e21c46928b
commit 67591b428b
2 changed files with 15 additions and 7 deletions

20
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: xstatic-chartnew-js
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Section: python
Priority: optional
Build-Depends: dh-python, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9)
Build-Depends: dh-python, python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python3-setuptools, python3-all, debhelper (>= 9)
Standards-Version: 3.9.6
Homepage: http://jquery.malsup.com/form/
@ -10,9 +10,6 @@ Package: python-xstatic-chartnew-js
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Chart.js (XStatic packaging standard)
XStatic-ChartNew-js
-----------------
.
ChartNew.js javascript library packaged for setuptools (easy_install) / pip.
.
This package is intended to be used by **any** project that needs these files.
@ -22,6 +19,17 @@ Description: Chart.js (XStatic packaging standard)
the XStatic base package, if you like.
.
You can find more info about the xstatic packaging way in the package `XStatic`.
.
.
Package: python3-xstatic-chartnew-js
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Chart.js (XStatic packaging standard) (Python 3 module)
ChartNew.js javascript library packaged for setuptools (easy_install) / pip.
.
This package is intended to be used by **any** project that needs these files.
.
It intentionally does **not** provide any extra code except some metadata
**nor** has any extra requirements. You MAY use some minimal support code from
the XStatic base package, if you like.
.
You can find more info about the xstatic packaging way in the package `XStatic`.

2
debian/rules vendored
View File

@ -3,4 +3,4 @@
export PYBUILD_NAME=xstatic-chartnew-js
%:
dh $@ --with python2 --buildsystem=pybuild
dh $@ --with python2,python3 --buildsystem=pybuild