add python3 package

This commit is contained in:
Frédéric Péters 2019-09-29 10:39:44 +02:00
parent c06a6908eb
commit 32f860d128
3 changed files with 19 additions and 5 deletions

20
debian/control vendored
View File

@ -2,7 +2,7 @@ Source: xstatic-leaflet
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://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`.

2
debian/rules vendored
View File

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

View File

@ -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