diff --git a/debian/control b/debian/control index 0fb1c60..6becab8 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,7 @@ Source: xstatic-leaflet Maintainer: Benjamin Dauvergne 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://leafletjs.com/ @@ -22,6 +22,20 @@ Description: Leaflet 1.0.2 (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-leaflet +Architecture: all +Depends: ${misc:Depends}, ${python3:Depends} +Description: Leaflet 1.0.2 (XStatic packaging standard) (Python 3 module) + XStatic-Leaflet + ----------------- + . + Leaflet 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`. diff --git a/debian/rules b/debian/rules index d6debd9..b33a62d 100755 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ export PYBUILD_NAME=xstatic-leaflet %: - dh $@ --with python2 --buildsystem=pybuild + dh $@ --with python2,python3 --buildsystem=pybuild diff --git a/xstatic/pkg/leaflet/__init__.py b/xstatic/pkg/leaflet/__init__.py index f16b15f..0f4727b 100644 --- a/xstatic/pkg/leaflet/__init__.py +++ b/xstatic/pkg/leaflet/__init__.py @@ -13,7 +13,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar') VERSION = '1.0.2' # version of the packaged files, please use the upstream # version number -BUILD = '1' # our package build number, so we can release new builds +BUILD = '2' # our package build number, so we can release new builds # with fixes for xstatic stuff. PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi