summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/control18
-rwxr-xr-xdebian/rules3
2 files changed, 13 insertions, 8 deletions
diff --git a/debian/control b/debian/control
index fb2144a..ee8f8ae 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: xstatic-select2
Maintainer: Frederic Peters <fpeters@debian.org>
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://select2.github.io
@@ -10,9 +10,6 @@ Package: python-xstatic-select2
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Select2 packaging for Python
- XStatic-Select2
- ---------------
- .
Select2 javascript library packaged for setuptools (easy_install) / pip.
.
This package is intended to be used by **any** project that needs these files.
@@ -20,8 +17,15 @@ Description: Select2 packaging for Python
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.
+
+Package: python3-xstatic-select2
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Select2 packaging for Python (Python 3 module)
+ Select2 javascript library packaged for setuptools (easy_install) / pip.
.
- You can find more info about the xstatic packaging way in the package `XStatic`.
- .
+ 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.
diff --git a/debian/rules b/debian/rules
index abfdcfc..2cea9c9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export PYBUILD_NAME=xstatic-select2
+
%:
- dh $@ --with python2 --buildsystem=pybuild
+ dh $@ --with python2,python3 --buildsystem=pybuild