From a38b0061a92205ec73ad3bdca91a7c7aecc8b1a1 Mon Sep 17 00:00:00 2001 From: Joe <joe@autistici.org> Date: Tue, 3 Dec 2013 15:38:09 +0100 Subject: [PATCH] debianization of configdb --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 15 +++++++++++++++ debian/python-configdb.preinst | 14 ++++++++++++++ debian/rules | 22 ++++++++++++++++++++++ debian/source/format | 1 + 6 files changed, 58 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/python-configdb.preinst create mode 100755 debian/rules create mode 100644 debian/source/format diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0b8eb48 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +configdb (0.2.2-1) unstable; urgency=low + + * source package automatically created by stdeb 0.6.0 + + -- ale <ale@incal.net> Tue, 03 Dec 2013 14:28:32 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5c44139 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: configdb +Maintainer: joe <joe@incal.net> +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4) +Standards-Version: 3.8.4 +XS-Python-Version: current + +Package: python-configdb +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-flask, python-formencode, python-sqlalchemy (>> 0.7), python-dateutil, python-ipaddr, python-inflect +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: database framework for configuration info + diff --git a/debian/python-configdb.preinst b/debian/python-configdb.preinst new file mode 100644 index 0000000..bca9b2f --- /dev/null +++ b/debian/python-configdb.preinst @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +# This was added by stdeb to workaround Debian #479852. In a nutshell, +# pycentral does not remove normally remove its symlinks on an +# upgrade. Since we're using python-support, however, those symlinks +# will be broken. This tells python-central to clean up any symlinks. +if [ -e /var/lib/dpkg/info/python-configdb.list ] && which pycentral >/dev/null 2>&1 +then + pycentral pkgremove python-configdb +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4c5184c --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +# This file was automatically generated by stdeb 0.6.0 at +# Tue, 03 Dec 2013 14:28:32 +0100 + +# Unset the environment variables set by dpkg-buildpackage. (This is +# necessary because distutils is brittle with compiler/linker flags +# set. Specifically, packages using f2py will break without this.) +unexport CPPFLAGS +unexport CFLAGS +unexport CXXFLAGS +unexport FFLAGS +unexport LDFLAGS + +#exports specified using stdeb Setup-Env-Vars: +export DH_OPTIONS=--buildsystem=python_distutils + + +%: + dh $@ + + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..d3827e7 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +1.0 -- GitLab