debian: initial import

This commit is contained in:
Jérôme Schneider 2014-10-14 11:46:35 +02:00 committed by Frédéric Péters
parent 08bfb7515e
commit d8f7ca69e9
13 changed files with 90 additions and 0 deletions

5
changelog Normal file
View File

@ -0,0 +1,5 @@
django-tenant-schemas (1.4.8-1) unstable; urgency=low
* source package automatically created by stdeb 0.8.2
-- Jérôme Schneider <jschneider@entrouvert.com> Tue, 14 Oct 2014 11:39:16 +0200

1
compat Normal file
View File

@ -0,0 +1 @@
7

17
control Normal file
View File

@ -0,0 +1,17 @@
Source: django-tenant-schemas
Maintainer: Jérôme Schneider <jschneider@entrouvert.com>
Section: python
Priority: optional
Build-Depends: python-setuptools (>= 0.6b3), python3-setuptools, python-all (>= 2.6.6-3), python3-all, debhelper (>= 7)
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.

2
files Normal file
View File

@ -0,0 +1,2 @@
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

View File

@ -0,0 +1,7 @@
# Automatically added by dh_python2:
if which pycompile >/dev/null 2>&1; then
pycompile -p python-django-tenant-schemas
fi
# End automatically added section

View File

@ -0,0 +1,12 @@
# Automatically added by dh_python2:
if which pyclean >/dev/null 2>&1; then
pyclean -p python-django-tenant-schemas
else
dpkg -L python-django-tenant-schemas | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
# End automatically added section

View File

@ -0,0 +1,4 @@
python:Versions=2.7
python:Provides=python2.7-django-tenant-schemas
python:Depends=python (>= 2.7), python (<< 2.8), python:any (>= 2.6.6-7~), python-django, python-psycopg2
misc:Depends=

View File

@ -0,0 +1,7 @@
# Automatically added by dhpython:
if which py3compile >/dev/null 2>&1; then
py3compile -p python3-django-tenant-schemas
fi
# End automatically added section

View File

@ -0,0 +1,10 @@
# Automatically added by dhpython:
if which py3clean >/dev/null 2>&1; then
py3clean -p python3-django-tenant-schemas
else
dpkg -L python3-django-tenant-schemas | perl -ne 's,/([^/]*)\.py$,/__pycache__/\1.*, or next; unlink $_ or die $! foreach glob($_)'
find /usr/lib/python3/dist-packages/ -type d -name __pycache__ -empty -print0 | xargs --null --no-run-if-empty rmdir
fi
# End automatically added section

View File

@ -0,0 +1,2 @@
python3:Depends=python3-psycopg2, python3-django, python3:any (>= 3.3.2-2~)
misc:Depends=

21
rules Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/make -f
# This file was automatically generated by stdeb 0.8.2 at
# Tue, 14 Oct 2014 11:39:16 +0200
%:
dh $@ --with python2,python3 --buildsystem=python_distutils
override_dh_auto_clean:
python setup.py clean -a
python3 setup.py clean -a
find . -name \*.pyc -exec rm {} \;
override_dh_auto_build:
python setup.py build --force
python3 setup.py build --force
override_dh_auto_install:
python setup.py install --force --root=debian/python-django-tenant-schemas --no-compile -O0 --install-layout=deb
python3 setup.py install --force --root=debian/python3-django-tenant-schemas --no-compile -O0 --install-layout=deb

1
source/format Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

1
source/options Normal file
View File

@ -0,0 +1 @@
extend-diff-ignore="\.egg-info$"