From 686a7a0576dcf355f7e22f0d96161d14e35e198b Mon Sep 17 00:00:00 2001 From: einarr Date: Mon, 15 Oct 2007 07:07:46 +0000 Subject: [PATCH] debian build directory. --- debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 22 +++++++++++++++ debian/copyright | 32 +++++++++++++++++++++ debian/docs | 1 + debian/rules | 72 ++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 134 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/docs create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..cce22ce --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +python-pyblm (0.1.0) unstable; urgency=low + + * Inital packaging. + + -- Einar Ryeng Fri, 12 Oct 2007 13:07:37 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..e57f6d5 --- /dev/null +++ b/debian/control @@ -0,0 +1,22 @@ +Source: python-pyblm +Section: python +Priority: optional +Maintainer: Einar Ryeng +Build-Depends: debhelper (>= 5.0.37.2), python-dateutil, python-all-dev (>= 2.3.5-7), python-central (>= 0.5), python-numpy-dev (>= 1:1.0b5), python-epydoc, python-setuptools (>=0.6b3-1) +Standards-Version: 3.7.2 + +Package: python-pyblm +Architecture: any +Depends: ${python:Depends}, python-numpy (>= 1:1.0.1), python-dev +Provides: ${python:Provides} +Description: Python library of bilinear modeling algorithms. + Bilinear modeling algorithms. + +Package: python-pyblm-doc +Architecture: all +Enhances: python-pyblm +Description: Python library of bilinear modeling algorithms (Documentation) + Bilinear modeling algorithms. + . + This package contains documentation for python-matplotlib + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b16c6f4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Einar Ryeng on +2007-09-11. + +It was downloaded from https://dev.pvv.org/projects/pyblm/downloads + +Upstream Author: Arnar Flatberg + +Copyright: Arnar Flatberg + +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted under the terms of the BSD License. + + THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + + +The Debian packaging is (C) 2007, Einar Ryeng and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..e845566 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3845a6c --- /dev/null +++ b/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +PYVERS=$(shell pyversions -vs) + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + +build: $(PYVERS:%=build-python%) + +build-python%: + dh_testdir + python$* setup.py build + touch $@ + +clean: + # Add here commands to clean up after the build process. + -rm -r build + + dh_clean + +install: build $(PYVERS:%=install-python%) +install-python%: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + python$* setup.py install --root=$(CURDIR)/debian/python-pyblm + + # Remove all *.pyc files, created in the postinst +# find $(CURDIR)/debian/python-networkx -name "*.pyc" -exec rm {} ';' + + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples +# dh_install + dh_pysupport + dh_installman + dh_link + dh_strip + dh_compress +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure