From b602bbf48400b4351ba14113834342dbe37d12e4 Mon Sep 17 00:00:00 2001 From: Diane Trout Date: Fri, 7 Jan 2011 15:56:35 -0800 Subject: [PATCH] Initial attempt to build a debian packaged version of htsworkflow. This isn't complete, and you probably shouldn't install the -web version as I'm not sure I like where its putting files yet. But I wanted to save my current work. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 24 ++++++++++++++++++++++++ debian/copyright | 12 ++++++++++++ debian/htsworkflow-web.install | 3 +++ debian/htsworkflow-web.links | 1 + debian/python-htsworkflow.install | 2 ++ debian/python-htsworkflow.preinst | 14 ++++++++++++++ debian/rules | 22 ++++++++++++++++++++++ debian/source/format | 1 + 10 files changed, 85 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/htsworkflow-web.install create mode 100644 debian/htsworkflow-web.links create mode 100644 debian/python-htsworkflow.install create mode 100644 debian/python-htsworkflow.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..0012f4c --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +htsworkflow (0.4.5-21-ga698-1) unstable; urgency=low + + * source package automatically created by stdeb 0.6.0 + + -- Diane Trout Tue, 04 Jan 2011 11:16:48 -0800 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..c207ba3 --- /dev/null +++ b/debian/control @@ -0,0 +1,24 @@ +Source: htsworkflow +Maintainer: Diane Trout +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), debhelper (>= 7), python-support (>= 0.8.4) +Standards-Version: 3.8.4 +X-Python-Version: >= 2.5 + +Package: python-htsworkflow +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: Utilities to help manage high-through-put sequencing + This package contains the python library and support scripts + +Package: htsworkflow-web +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-django, python-htsworkflow, libjs-jquery (>= 1.4) +XB-Python-Version: ${python:Versions} +Provides: ${python:Provides} +Description: Our Illumina orientated sequencing LIMS website + This package contains the website configuration and + supporting templates, css, and javascript. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..2a01c71 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,12 @@ +This package was debianized by: + + Diane Trout on Tue, 04 Jan 2011 15:36:00 -0700 + +Copyright: + + + +License: + + The license is currently undecided. Please don't redistribute. + diff --git a/debian/htsworkflow-web.install b/debian/htsworkflow-web.install new file mode 100644 index 0000000..c078264 --- /dev/null +++ b/debian/htsworkflow-web.install @@ -0,0 +1,3 @@ +htsworkflow/frontend/static/ /usr/share/htsworkflow-web/static/ +htsworkflow/frontend/templates /usr/share/htsworkflow-web/templates/ +htsworkflow/frontend/settings.py /etc/htsworkflow/ diff --git a/debian/htsworkflow-web.links b/debian/htsworkflow-web.links new file mode 100644 index 0000000..fda9194 --- /dev/null +++ b/debian/htsworkflow-web.links @@ -0,0 +1 @@ +/usr/share/javascript/jquery/jquery.min.js /usr/share/htsworkflow-web/static/js/jquery.min.js diff --git a/debian/python-htsworkflow.install b/debian/python-htsworkflow.install new file mode 100644 index 0000000..f391d90 --- /dev/null +++ b/debian/python-htsworkflow.install @@ -0,0 +1,2 @@ +usr/lib/python2.6/dist-packages/ +usr/bin diff --git a/debian/python-htsworkflow.preinst b/debian/python-htsworkflow.preinst new file mode 100644 index 0000000..976b401 --- /dev/null +++ b/debian/python-htsworkflow.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-htsworkflow.list ] && which pycentral >/dev/null 2>&1 +then + pycentral pkgremove python-htsworkflow +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..08ad667 --- /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, 04 Jan 2011 11:16:48 -0800 + +# 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= + + +%: + 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 -- 2.30.2