From 152933daf1f822b42e1976b50b24ca240df4d5e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 20 Aug 2019 22:15:27 +0200 Subject: [PATCH] add python3 package --- debian/control | 20 ++++++++++++-------- debian/rules | 5 +++-- 2 files changed, 15 insertions(+), 10 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 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. - . - You can find more info about the xstatic packaging way in the package `XStatic`. - . - . +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. + . + 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