[Pkg-octave-commit] [octave-interval] 01/04: maint: Copy description from upstream source
Oliver Heimlich
oheim-guest at moszumanska.debian.org
Sun Apr 24 19:25:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
oheim-guest pushed a commit to branch master
in repository octave-interval.
commit 11239e2d43cea1c1f3f6b22423c0bdea13178c5f
Author: Oliver Heimlich <oheim at posteo.de>
Date: Sun Apr 24 13:31:49 2016 +0200
maint: Copy description from upstream source
* d/rules: Parse DESCRIPTION for package name and description
* d/control: Use substvar for Description field
---
debian/control | 13 +------------
debian/rules | 20 ++++++++++++++++++--
2 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/debian/control b/debian/control
index cc12063..a867336 100644
--- a/debian/control
+++ b/debian/control
@@ -15,16 +15,5 @@ Package: octave-interval
Architecture: any
Depends: ${misc:Depends}, ${octave:Depends}, ${shlibs:Depends},
Description: real-valued interval arithmetic for Octave
- The interval package for real-valued interval arithmetic allows one to
- evaluate functions over subsets of their domain. All results are verified,
- because interval computations automatically keep track of any errors.
- .
- These concepts can be used to handle uncertainties, estimate arithmetic errors
- and produce reliable results. Also it can be applied to computer-assisted
- proofs, constraint programming, and verified computing.
- .
- The implementation is based on interval boundaries represented by binary64
- numbers and is conforming to IEEE Std 1788-2015, IEEE standard for interval
- arithmetic.
- .
+ ${source:Upstream-Description}
This Octave add-on package is part of the Octave-Forge project.
diff --git a/debian/rules b/debian/rules
index 93254d2..6986d8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,10 +1,26 @@
#!/usr/bin/make -f
# -*- makefile -*-
-include /usr/share/cdbs/1/class/octave-pkg.mk
+# Copyright (c) 2015, 2016 Oliver Heimlich <oheim at posteo.de>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation,
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
-pkg = interval
+include /usr/share/cdbs/1/class/octave-pkg.mk
+pkg = $(shell awk '/^Name:/ {print $$2; exit 0}' DESCRIPTION)
+DEB_DH_GENCONTROL_ARGS_ALL = -- -Vsource:Upstream-Description="$(shell grep --perl-regexp --only-matching --null-data '(?<=^Description:) .*(\n .*|\n$$)*' DESCRIPTION | sed -e 's/^\s*//' | sed --null-data -e 's/\n/\\$${Newline}/g')"
DEB_DH_INSTALL_SOURCEDIR = debian/octave-$(pkg)
install-docs: build-docs
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-interval.git
More information about the Pkg-octave-commit
mailing list