From d8f7ca69e94b5635c3d49c30b7aefae72ae55645 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Tue, 14 Oct 2014 11:46:35 +0200 Subject: [PATCH] debian: initial import --- changelog | 5 +++++ compat | 1 + control | 17 +++++++++++++++ files | 2 ++ ...n-django-tenant-schemas.postinst.debhelper | 7 +++++++ python-django-tenant-schemas.prerm.debhelper | 12 +++++++++++ python-django-tenant-schemas.substvars | 4 ++++ ...3-django-tenant-schemas.postinst.debhelper | 7 +++++++ python3-django-tenant-schemas.prerm.debhelper | 10 +++++++++ python3-django-tenant-schemas.substvars | 2 ++ rules | 21 +++++++++++++++++++ source/format | 1 + source/options | 1 + 13 files changed, 90 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 control create mode 100644 files create mode 100644 python-django-tenant-schemas.postinst.debhelper create mode 100644 python-django-tenant-schemas.prerm.debhelper create mode 100644 python-django-tenant-schemas.substvars create mode 100644 python3-django-tenant-schemas.postinst.debhelper create mode 100644 python3-django-tenant-schemas.prerm.debhelper create mode 100644 python3-django-tenant-schemas.substvars create mode 100755 rules create mode 100644 source/format create mode 100644 source/options diff --git a/changelog b/changelog new file mode 100644 index 0000000..5140116 --- /dev/null +++ b/changelog @@ -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 Tue, 14 Oct 2014 11:39:16 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +7 diff --git a/control b/control new file mode 100644 index 0000000..68f794f --- /dev/null +++ b/control @@ -0,0 +1,17 @@ +Source: django-tenant-schemas +Maintainer: Jérôme Schneider +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. + diff --git a/files b/files new file mode 100644 index 0000000..7a45648 --- /dev/null +++ b/files @@ -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 diff --git a/python-django-tenant-schemas.postinst.debhelper b/python-django-tenant-schemas.postinst.debhelper new file mode 100644 index 0000000..79168ea --- /dev/null +++ b/python-django-tenant-schemas.postinst.debhelper @@ -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 diff --git a/python-django-tenant-schemas.prerm.debhelper b/python-django-tenant-schemas.prerm.debhelper new file mode 100644 index 0000000..5575e82 --- /dev/null +++ b/python-django-tenant-schemas.prerm.debhelper @@ -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 diff --git a/python-django-tenant-schemas.substvars b/python-django-tenant-schemas.substvars new file mode 100644 index 0000000..606bc03 --- /dev/null +++ b/python-django-tenant-schemas.substvars @@ -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= diff --git a/python3-django-tenant-schemas.postinst.debhelper b/python3-django-tenant-schemas.postinst.debhelper new file mode 100644 index 0000000..bff23bb --- /dev/null +++ b/python3-django-tenant-schemas.postinst.debhelper @@ -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 diff --git a/python3-django-tenant-schemas.prerm.debhelper b/python3-django-tenant-schemas.prerm.debhelper new file mode 100644 index 0000000..91bb179 --- /dev/null +++ b/python3-django-tenant-schemas.prerm.debhelper @@ -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 diff --git a/python3-django-tenant-schemas.substvars b/python3-django-tenant-schemas.substvars new file mode 100644 index 0000000..1cf1595 --- /dev/null +++ b/python3-django-tenant-schemas.substvars @@ -0,0 +1,2 @@ +python3:Depends=python3-psycopg2, python3-django, python3:any (>= 3.3.2-2~) +misc:Depends= diff --git a/rules b/rules new file mode 100755 index 0000000..dab3fe0 --- /dev/null +++ b/rules @@ -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 + diff --git a/source/format b/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/source/options b/source/options new file mode 100644 index 0000000..bcc4bbb --- /dev/null +++ b/source/options @@ -0,0 +1 @@ +extend-diff-ignore="\.egg-info$" \ No newline at end of file