debian: add package for python 3

This commit is contained in:
Frédéric Péters 2019-08-20 20:53:26 +02:00
parent cbb539c24f
commit f8882285de
3 changed files with 9 additions and 6 deletions

7
debian/control vendored
View File

@ -2,10 +2,15 @@ Source: django-tenant-schemas
Maintainer: Jérôme Schneider <jschneider@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 9), dh-python
Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), python3-all, debhelper (>= 9), dh-python
Standards-Version: 3.9.1
Package: python-django-tenant-schemas
Architecture: all
Depends: ${misc:Depends}, ${python:Depends}
Description: Tenant support for Django using PostgreSQL schemas.
Package: python3-django-tenant-schemas
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Description: Tenant support for Django using PostgreSQL schemas (Python 3)

2
debian/files vendored
View File

@ -1,2 +0,0 @@
python-django-tenant-schemas_1.4.8-10-ga5f144a-1_all.deb python optional
python3-django-tenant-schemas_1.4.8-10-ga5f144a-1_all.deb python optional

6
debian/rules vendored
View File

@ -1,7 +1,7 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.8.2 at
# Tue, 14 Oct 2014 11:39:16 +0200
export PYBUILD_DISABLE=test
export PYBUILD_NAME=django-tenant-schemas
%:
dh $@ --with python2
dh $@ --with python2,python3 --buildsystem=pybuild