summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2019-09-29 08:39:44 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2019-09-29 08:39:44 (GMT)
commit32f860d12884b1b1c96c58a6a9236b67afc7f225 (patch)
treec2688dc28679f188791a8af444efa9ceb06890a4
parentc06a6908eb7eb31deba94c592bee1327126a432e (diff)
downloadxstatic-leaflet-32f860d12884b1b1c96c58a6a9236b67afc7f225.zip
xstatic-leaflet-32f860d12884b1b1c96c58a6a9236b67afc7f225.tar.gz
xstatic-leaflet-32f860d12884b1b1c96c58a6a9236b67afc7f225.tar.bz2
add python3 packageHEADmaster
-rw-r--r--debian/control18
-rwxr-xr-xdebian/rules2
-rw-r--r--xstatic/pkg/leaflet/__init__.py2
3 files changed, 18 insertions, 4 deletions
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 <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`.
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