r45576 - in /packages/sundials/branches/wheezy/debian: ./ source/
trophime-guest at users.alioth.debian.org
trophime-guest at users.alioth.debian.org
Fri Feb 15 11:27:38 UTC 2013
Author: trophime-guest
Date: Fri Feb 15 11:27:38 2013
New Revision: 45576
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=45576
Log:
revert to testing version and closes #700525
Removed:
packages/sundials/branches/wheezy/debian/libsundials-doc.install
packages/sundials/branches/wheezy/debian/libsundials-nvecparallel-dev.install
packages/sundials/branches/wheezy/debian/libsundials-nvecparallel0.install
packages/sundials/branches/wheezy/debian/libsundials-nvecparallel0.symbols
packages/sundials/branches/wheezy/debian/libsundials-parallel.lintian-overrides
packages/sundials/branches/wheezy/debian/source/
Modified:
packages/sundials/branches/wheezy/debian/changelog
packages/sundials/branches/wheezy/debian/check.sh
packages/sundials/branches/wheezy/debian/compat
packages/sundials/branches/wheezy/debian/control
packages/sundials/branches/wheezy/debian/libsundials-nvecserial0.symbols
packages/sundials/branches/wheezy/debian/libsundials-serial-dev.install
packages/sundials/branches/wheezy/debian/rules
packages/sundials/branches/wheezy/debian/source.lintian-overrides
Modified: packages/sundials/branches/wheezy/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/changelog?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/changelog (original)
+++ packages/sundials/branches/wheezy/debian/changelog Fri Feb 15 11:27:38 2013
@@ -1,29 +1,9 @@
-sundials (2.5.0-2) unstable; urgency=low
+sundials (2.5.0-2) UNRELEASED; urgency=low
* debian/rules:
- Add -lblas -llapack -lm to LDFLAGS (closes: #700525)
- -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> Thu, 14 Feb 2013 16:58:48 +0100
-
-sundials (2.5.0-2~exp1) experimental; urgency=low
-
- [ Andrew Miller ]
- * Fix spelling of suite (closes: #680881)
- * Add a -dbg package (closes: #680878)
-
- [ Rafael Laboissiere ]
- * debian/rules:
- - Install .mex files in the appropriate directory
-
- * Switch to buildsystem to cmake
- * Switch to debhelper 9
- * Switch to dpkg-source 3.0 (quilt) format
-
- * Add support for parallel version
- * Add a separate package for examples
- * Modify check.sh to run serial tests
-
- -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> Mon, 9 Jul 2012 09:40:03 +1200
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr> Fri, 15 Feb 2013 11:40:09 +0100
sundials (2.5.0-1) unstable; urgency=low
Modified: packages/sundials/branches/wheezy/debian/check.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/check.sh?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/check.sh (original)
+++ packages/sundials/branches/wheezy/debian/check.sh Fri Feb 15 11:27:38 2013
@@ -11,35 +11,23 @@
trap "cleanup" 1 2 3 13 15
CWD=$(pwd)
-cd $1/examples
-for dir in $(find . -type d -maxdepth 1 -mindepth 1) ; do
- #for mode in "serial" "fcmix_serial" "parallel" "fcmix_parallel" ; do
- for mode in "serial" ; do
- cd $dir/$mode
- echo "tests in " $mode
- for prog in $(find . -executable -type f) ; do
- echo -n "Checking $prog... "
- if [ "$mode" != "parallel" ]; then
- ./$prog > $RESULTS
- else
- OMPI_MCA_plm_rsh_agent=/bin/false ./$prog > $RESULTS
- fi
-
- if test -e $2/examples/$dir/serial/$prog.out ; then
- DIFF=$(diff -u $2/examples/$dir/serial/$prog.out $RESULTS)
- if test -z "$DIFF" ; then
- echo success
- else
- echo fail
- echo "$DIFF"
- fi
+for dir in examples/*/serial ; do
+ cd $dir
+ for prog in $(ls .libs | fgrep -v .o | grep -v ^lt- | sed 's:.libs/::') ; do
+ echo -n "Checking $dir/$prog... "
+ ./$prog > $RESULTS
+ if test -e $prog.out ; then
+ DIFF=$(diff -u $prog.out $RESULTS)
+ if test -z "$DIFF" ; then
+ echo pass
else
- echo pass
+ echo fail
+ echo "$DIFF"
fi
- done
- cd $1/examples
+ else
+ echo pass
+ fi
done
+ cd $CWD
done
-
-cd $CWD
Modified: packages/sundials/branches/wheezy/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/compat?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/compat (original)
+++ packages/sundials/branches/wheezy/debian/compat Fri Feb 15 11:27:38 2013
@@ -1,1 +1,1 @@
-9
+7
Modified: packages/sundials/branches/wheezy/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/control?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/control (original)
+++ packages/sundials/branches/wheezy/debian/control Fri Feb 15 11:27:38 2013
@@ -4,7 +4,7 @@
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>,
Sylvestre Ledru <sylvestre at debian.org>
-Build-Depends: debhelper (>= 9), cmake, gfortran, mpi-default-dev,
+Build-Depends: debhelper (>= 7), autotools-dev, cdbs, quilt, gfortran,
libblas-dev | libblas-3gf.so, liblapack-dev | liblapack-3gf.so,
octave-pkg-dev (>= 0.7.0)
Standards-Version: 3.9.3
@@ -18,7 +18,7 @@
libsundials-idas0, libsundials-kinsol1, libsundials-nvecserial0, ${misc:Depends}
Conflicts: libsundials-serial0
Replaces: libsundials-serial0
-Description: SUite of Nonlinear and DIfferential/ALgebraic equation Solvers
+Description: SUit of Nonlinear and DIfferential/ALgebraic equation Solvers
The family of solvers referred to as SUNDIALS consists of solvers CVODE
(for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
IDA (for differential-algebraic systems), and KINSOL (for nonlinear
@@ -28,27 +28,12 @@
libraries for the subcomponents of SUNDIALS: CVODE, CVODES, IDA,
KINSOL, and NVECTOR_SERIAL.
-Package: libsundials-parallel
-Architecture: any
-Depends: libsundials-cvode1, libsundials-cvodes2, libsundials-ida2,
- libsundials-idas0, libsundials-kinsol1, libsundials-nvecparallel0,
- ${misc:Depends}, mpi-default-run
-Description: SUite of Nonlinear and DIfferential/ALgebraic equation Solvers
- The family of solvers referred to as SUNDIALS consists of solvers CVODE
- (for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
- IDA (for differential-algebraic systems), and KINSOL (for nonlinear
- algebraic systems).
- .
- This package depends on all other packages containing the shared
- libraries for the subcomponents of SUNDIALS: CVODE, CVODES, IDA,
- KINSOL, and NVECTOR_PARALLEL.
-
Package: libsundials-cvode1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: ordinary differentialequation solver (SUNDIALS library)
This package contains the library for ordinary differential equation
- (ODE) system solvers from SUNDIALS (SUite of Nonlinear and
+ (ODE) system solvers from SUNDIALS (SUit of Nonlinear and
DIfferential/ALgebraic equation Solvers).
Package: libsundials-cvodes2
@@ -57,7 +42,7 @@
Description: ODE solver with sensistivity analysis (SUNDIALS library)
This package contains the library for ordinary differential equation
(ODE) system solver with sensistivity analysis capabilities from
- SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation
+ SUNDIALS (SUit of Nonlinear and DIfferential/ALgebraic equation
Solvers).
Package: libsundials-ida2
@@ -65,7 +50,7 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: differential-algebraic system solver (SUNDIALS library)
This package contains the library for differential-algebraic system
- (IDA) solver from SUNDIALS (SUite of Nonlinear and
+ (IDA) solver from SUNDIALS (SUit of Nonlinear and
DIfferential/ALgebraic equation Solvers).
Package: libsundials-idas0
@@ -73,7 +58,7 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: IDA solver with sensitivity capabilities (SUNDIALS library)
This package contains the library for differential-algebraic system
- with Sensitivity capabilities (IDAS) solver from SUNDIALS (SUite of
+ with Sensitivity capabilities (IDAS) solver from SUNDIALS (SUit of
Nonlinear and DIfferential/ALgebraic equation Solvers).
Package: libsundials-kinsol1
@@ -81,7 +66,7 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: KINSOL solver (SUNDIALS library)
This package contain the library for KINSOL (nonlinear algebraic
- systems) system solver from SUNDIALS (SUite of Nonlinear and
+ systems) system solver from SUNDIALS (SUit of Nonlinear and
DIfferential/ALgebraic equation Solvers).
Package: libsundials-nvecserial0
@@ -90,25 +75,15 @@
Description: vector operations library (SUNDIALS library)
This package provides implementations for all vector operations
defined by the generic NVECTOR module in the table of operations for
- SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation
- Solvers).
-
-Package: libsundials-nvecparallel0
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, mpi-default-run
-Description: MPI vector operations library (SUNDIALS library)
- This package provides implementations for all vector operations
- defined by the generic NVECTOR module in the table of operations for
- SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation
+ SUNDIALS (SUit of Nonlinear and DIfferential/ALgebraic equation
Solvers).
Package: libsundials-serial-dev
Section: libdevel
Architecture: any
Depends: libsundials-serial (= ${binary:Version}), ${misc:Depends}
-Recommends: libsundials-serial-dbg
Description: SUNDIALS development files
- The family of solvers referred to as SUNDIALS (SUite of Nonlinear and
+ The family of solvers referred to as SUNDIALS (SUit of Nonlinear and
DIfferential/ALgebraic equation Solvers) consists of solvers CVODE
(for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
IDA (for differential-algebraic systems), and KINSOL (for nonlinear
@@ -118,42 +93,26 @@
SUNDIALS in C and, in case of FCVODE and FKINSOL, Fortran. It also
contains various example programs distributed by the upstream authors.
-Package: libsundials-nvecparallel-dev
-Section: libdevel
-Architecture: any
-Depends: libsundials-nvecparallel0 (= ${binary:Version}), ${misc:Depends}
-Description: MPI vector operations library (SUNDIALS library)
- This package provides implementations for all vector operations
- defined by the generic NVECTOR module in the table of operations for
- SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation
- Solvers).
- .
- This package contains files necessary for development applications using
- SUNDIALS in C and, in case of FCVODE and FKINSOL, Fortran. It also
- contains various example programs distributed by the upstream authors.
- .
- This package provides MPI version
-
-Package: libsundials-doc
-Section: doc
-Architecture: all
-Depends: ${misc:Depends}
-Recommends: libsundials-serial-dev
-Description: SUNDIALS examples files
- The family of solvers referred to as SUNDIALS (SUite of Nonlinear and
- DIfferential/ALgebraic equation Solvers) consists of solvers CVODE
- (for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
- IDA (for differential-algebraic systems), and KINSOL (for nonlinear
- algebraic systems).
- .
- This package contains SUNDIALS examples.
+#Package: libsundials-serial-doc
+#Section: doc
+#Architecture: all
+#Depends: ${misc:Depends}
+#Recommends: libsundials-serial-dev
+#Description: SUNDIALS documentation files
+# The family of solvers referred to as SUNDIALS (SUit of Nonlinear and
+# DIfferential/ALgebraic equation Solvers) consists of solvers CVODE
+# (for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
+# IDA (for differential-algebraic systems), and KINSOL (for nonlinear
+# algebraic systems).
+# .
+# This package contains SUNDIALS documentation.
Package: octave-sundials
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, ${octave:Depends}
Recommends: libsundials-serial-dev
Description: SUNDIALS for octave
- The family of solvers referred to as SUNDIALS (SUite of Nonlinear and
+ The family of solvers referred to as SUNDIALS (SUit of Nonlinear and
DIfferential/ALgebraic equation Solvers) consists of solvers CVODE
(for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
IDA (for differential-algebraic systems), and KINSOL (for nonlinear
@@ -161,32 +120,3 @@
.
This package contains SUNDIALS plugins for octave.
-Package: libsundials-serial-dbg
-Section: debug
-Architecture: any
-Priority: extra
-Depends: libsundials-serial, ${misc:Depends}
-Description: SUite of Nonlinear and DIfferential/ALgebraic equation Solvers
- The family of solvers referred to as SUNDIALS consists of solvers CVODE
- (for ODE systems), CVODES (ODE with sensitivity analysis capabilities),
- IDA (for differential-algebraic systems), and KINSOL (for nonlinear
- algebraic systems).
- .
- This package contains the debugging symbols for SUNDIALS.
-
-Package: libsundials-nvecparallel-dbg
-Section: debug
-Architecture: any
-Priority: extra
-Depends: libsundials-nvecparallel0 (= ${binary:Version}), ${misc:Depends}
-Description: MPI vector operations library (SUNDIALS library)
- This package provides implementations for all vector operations
- defined by the generic NVECTOR module in the table of operations for
- SUNDIALS (SUite of Nonlinear and DIfferential/ALgebraic equation
- Solvers).
- .
- This package contains files necessary for development applications using
- SUNDIALS in C and, in case of FCVODE and FKINSOL, Fortran. It also
- contains various example programs distributed by the upstream authors.
- .
- This package contains the debugging symbols.
Modified: packages/sundials/branches/wheezy/debian/libsundials-nvecserial0.symbols
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/libsundials-nvecserial0.symbols?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/libsundials-nvecserial0.symbols (original)
+++ packages/sundials/branches/wheezy/debian/libsundials-nvecserial0.symbols Fri Feb 15 11:27:38 2013
@@ -48,6 +48,11 @@
F2C_IDA_vecQB at Base 2.5.0
F2C_IDA_vecS at Base 2.5.0
F2C_KINSOL_vec at Base 2.5.0
+ RAbs at Base 2.5.0
+ RExp at Base 2.5.0
+ RPowerI at Base 2.5.0
+ RPowerR at Base 2.5.0
+ RSqrt at Base 2.5.0
fnvinits_ at Base 2.5.0
fnvinits_b_ at Base 2.5.0
fnvinits_q_ at Base 2.5.0
Modified: packages/sundials/branches/wheezy/debian/libsundials-serial-dev.install
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/libsundials-serial-dev.install?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/libsundials-serial-dev.install (original)
+++ packages/sundials/branches/wheezy/debian/libsundials-serial-dev.install Fri Feb 15 11:27:38 2013
@@ -1,21 +1,4 @@
-usr/lib/libsundials_cvode*.a
-usr/lib/libsundials_cvode*.so
-usr/lib/libsundials_ida*.a
-usr/lib/libsundials_ida*.so
-usr/lib/libsundials_kinsol.a
-usr/lib/libsundials_*serial.a
-usr/lib/libsundials_*serial.so
-
-usr/lib/libsundials_kinsol.so
-
-usr/include/cvode
-usr/include/cvodes
-usr/include/ida
-usr/include/idas
-usr/include/kinsol
-usr/include/nvector/nvector_serial.h
-usr/include/sundials
-
-bin/sundials-config usr/bin
-
-debian/sundials-config.1 usr/share/man/man1
+usr/include
+usr/lib/lib*a
+usr/lib/lib*.so
+usr/bin/sundials-config
Modified: packages/sundials/branches/wheezy/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/rules?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/rules (original)
+++ packages/sundials/branches/wheezy/debian/rules Fri Feb 15 11:27:38 2013
@@ -1,115 +1,95 @@
#!/usr/bin/make -f
# -*- makefile -*-
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
#include /usr/share/hardening-includes/hardening.make
#
-CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
-CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
-LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+#CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+#LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+#CFLAGS+=$(HARDENING_CFLAGS)
+#LDFLAGS+=$(HARDENING_LDFLAGS)
LDFLAGS+=-lblas -llapack -lm
+debusr := $(DEB_DESTDIR)usr
+debexp = debian/libsundials-serial-dev/usr/share/doc/libsundials-serial-dev/examples
-#workaround to start MPI-applications in chroot
-export OMPI_MCA_plm_rsh_agent=/bin/false
+DEB_AUTO_UPDATE_AUTOMAKE := 1.11
-extra_flags += \
- -DCMAKE_Fortran_COMPILER=gfortran \
- -DBUILD_SHARED_LIBS:BOOL=ON \
- -DFCMIX_ENABLE:BOOL=ON \
- -DMPI_ENABLE:BOOL=ON \
- -DLAPACK_ENABLE:BOOL=ON \
- -DEXAMPLES_ENABLE:BOOL=ON \
- -DEXAMPLES_INSTALL:BOOL=OFF
+DEB_CONFIGURE_EXTRA_FLAGS := --enable-shared --disable-mpi --enable-examples
+DEB_CONFIGURE_SCRIPT_ENV += F77="gfortran"
+DEB_MAKE_INSTALL_TARGET := install prefix=$(debusr) EXS_INSTDIR=$(DEB_DESTDIR)$(debexp)
-BUILDDIR = $(CURDIR)/debian/build
+DEB_INSTALL_MANPAGES_libsundials-serial-dev := debian/sundials-config.1
+DEB_INSTALL_EXAMPLES_libsundials-serial-dev := examples/*
+DEB_DH_INSTALL_SOURCEDIR = $(DEB_DESTDIR)
+
+DEB_COMPRESS_EXCLUDE = .c .out .f
+
+USCAN_DESTDIR := $(CURDIR)/../tarballs
+
# Get the appropriate paths for the installation of the Octave files
mpath = $(shell octave-config -p LOCALFCNFILEDIR)
-bpath = $(shell octave-config -p LOCALOCTFILEDIR)
+bpath = $(shell octave-config -p LOCALARCHLIBDIR)
+# The following hack is necessary because the upstream makefiles do
+# not install $libdir and $includedir or $mandir
+common-install-prehook-impl::
+ mkdir -p $(debusr)/lib
+ mkdir -p $(debusr)/include
+ mkdir -p $(debusr)/share/man/man1
-%:
- dh $@ --buildsystem=cmake --builddirectory=$(BUILDDIR) --parallel
+build/libsundials-serial::
+ $(SHELL) debian/check.sh
-override_dh_auto_configure:
- dh_auto_configure -- $(extra_flags)
-
-override_dh_auto_test:
- dh_auto_test
- echo "Running test..."
- $(SHELL) debian/check.sh $(BUILDDIR) $(CURDIR)
-
-override_dh_auto_build:
- dh_auto_build
-
-#
-#build/octave-sundials::
+build/octave-sundials::
mkdir -p sundialsTB/octave
cd sundialsTB && octave -fV install_STB.m
+ strip sundialsTB/octave/sundialsTB/cvodes/cvm/cvm.mex
+ strip sundialsTB/octave/sundialsTB/idas/idm/idm.mex
+ strip sundialsTB/octave/sundialsTB/kinsol/kim/kim.mex
-override_dh_auto_install:
- dh_auto_install
-#
-#install/octave-sundials::
+install/octave-sundials::
+ mkdir -p debian/tmp/$(mpath)
mkdir -p debian/tmp/$(bpath)/sundialsTB/cvodes/cvm/
mv sundialsTB/octave/sundialsTB/cvodes/cvm/cvm.mex debian/tmp/$(bpath)/sundialsTB/cvodes/cvm
mkdir -p debian/tmp/$(bpath)/sundialsTB/idas/idm/
mv sundialsTB/octave/sundialsTB/idas/idm/idm.mex debian/tmp/$(bpath)/sundialsTB/idas/idm
mkdir -p debian/tmp/$(bpath)/sundialsTB/kinsol/kim
mv sundialsTB/octave/sundialsTB/kinsol/kim/kim.mex debian/tmp/$(bpath)/sundialsTB/kinsol/kim
-
- mkdir -p debian/tmp/$(mpath)
mv sundialsTB/octave/* debian/tmp/$(mpath)
rm debian/tmp/$(mpath)/sundialsTB/LICENSE
- dh_install -a -Nlibsundials-doc
- dh_install -plibsundials-doc -X.txt -X.out -X.in -XREADME
+binary-install/libsundials-serial-dev::
+ find $(deblib) \( -name \*.la \) -exec rm -rf {} +
+ find $(debexp) \( -name \*.libs \) -exec rm -rf {} +
+ find $(debexp) \
+ -type f -a ! \( -name README -o -name \*.out \
+ -o -name \*.f -o -name \*.c \) \
+ -a -exec rm -f \{\} \;
-#
-#to generate symbols
-# dpkg-gensymbols -plibsundials-parallel -O
-
-override_dh_strip:
- find debian/tmp/$(bpath) -name \*.mex | xargs -r strip
-
- dh_strip -plibsundials-cvode1 --dbg-package=libsundials-serial-dbg
- dh_strip -plibsundials-cvodes2 --dbg-package=libsundials-serial-dbg
- dh_strip -plibsundials-ida2 --dbg-package=libsundials-serial-dbg
- dh_strip -plibsundials-idas0 --dbg-package=libsundials-serial-dbg
- dh_strip -plibsundials-kinsol1 --dbg-package=libsundials-serial-dbg
- dh_strip -plibsundials-nvecserial0 --dbg-package=libsundials-serial-dbg
-
- dh_strip -plibsundials-nvecparallel0 --dbg-package=libsundials-nvecparallel-dbg
- dh_strip -a
-
- ls -l debian/tmp/usr/lib
-
-override_dh_auto_clean:
+clean::
find examples \
- -type f -a \( -name \*.o \) \
+ -type f -a \( -name \*.o -o -name \*.out \) \
-a -exec rm -f \{\} \;
find sundialsTB \
-type f -a \( -name \*.o -o -name \*.mex \) \
-a -exec rm -f \{\} \;
rm -rf sundialsTB/octave
rm -rf bin/makefile-update.sh
- dh_auto_clean
-
-# Grab the version before +dfsg
-DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
-DEB_STRIPPED_UPSTREAM_VERSION = $(shell echo $(DEB_UPSTREAM_VERSION) | sed 's/-[^-]*$$//')
-
-USCAN_DESTDIR := $(CURDIR)/../tarballs
-
+
get-orig-source:
mkdir -p $(USCAN_DESTDIR)
uscan --force-download --no-symlink --verbose --destdir $(USCAN_DESTDIR)
- tar -C $(USCAN_DESTDIR) -xzf $(USCAN_DESTDIR)/sundials_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz
- rm -f $(USCAN_DESTDIR)/sundials*.tar.gz
- find $(USCAN_DESTDIR)/sundials-$(DEB_STRIPPED_UPSTREAM_VERSION) -name \*.pdf | xargs rm
+ tar -C $(USCAN_DESTDIR) -xzf $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_STRIPPED_UPSTREAM_VERSION).orig.tar.gz
+ rm -f $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)*.tar.gz
+ find $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)-$(DEB_STRIPPED_UPSTREAM_VERSION) -name \*.pdf | xargs rm
cd $(USCAN_DESTDIR) && GZIP=-9 tar -czf \
- $(CURDIR)/sundials_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
- sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
- rm -rf $(USCAN_DESTDIR)/sundials-$(DEB_STRIPPED_UPSTREAM_VERSION)
+ $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz \
+ $(DEB_SOURCE_PACKAGE)-$(DEB_STRIPPED_UPSTREAM_VERSION)
+ rm -rf $(USCAN_DESTDIR)/$(DEB_SOURCE_PACKAGE)-$(DEB_STRIPPED_UPSTREAM_VERSION)
+
Modified: packages/sundials/branches/wheezy/debian/source.lintian-overrides
URL: http://svn.debian.org/wsvn/debian-science/packages/sundials/branches/wheezy/debian/source.lintian-overrides?rev=45576&op=diff
==============================================================================
--- packages/sundials/branches/wheezy/debian/source.lintian-overrides (original)
+++ packages/sundials/branches/wheezy/debian/source.lintian-overrides Fri Feb 15 11:27:38 2013
@@ -1,5 +1,1 @@
sundials source: ancient-libtool config/ltmain.sh 1.4.3
-# We are using cmake
-sundials source: outdated-autotools-helper-file config/config.sub 2005-12-11
-sundials source: outdated-autotools-helper-file config/config.guess 2005-12-13
-
More information about the debian-science-commits
mailing list