[sdpb] 01/02: Initial Debian package.

Tobias Hansen thansen at moszumanska.debian.org
Thu Mar 9 04:40:39 UTC 2017


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository sdpb.

commit 8be60dc9e2eae7e25ff0142799c7e9abd142ab63
Author: Tobias Hansen <thansen at debian.org>
Date:   Wed Mar 8 23:12:38 2017 -0500

    Initial Debian package.
---
 debian/changelog         |   5 ++
 debian/compat            |   1 +
 debian/control           |  52 ++++++++++++++++++
 debian/copyright         | 137 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/help2man.include  |  18 +++++++
 debian/rules             |  28 ++++++++++
 debian/sdpb-doc.doc-base |   8 +++
 debian/sdpb-doc.docs     |   2 +
 debian/sdpb-doc.examples |   2 +
 debian/sdpb.install      |   1 +
 debian/sdpb.manpages     |   1 +
 debian/source/format     |   1 +
 debian/watch             |   3 ++
 13 files changed, 259 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d117481
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+sdpb (1.0-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #856704)
+
+ -- Tobias Hansen <thansen at debian.org>  Wed, 08 Mar 2017 23:09:00 -0500
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f599e28
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b52c9f1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: sdpb
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Tobias Hansen <thansen at debian.org>
+Section: math
+Priority: optional
+Standards-Version: 3.9.8
+Homepage: https://github.com/davidsd/sdpb
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/sdpb.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/sdpb.git
+Build-Depends: debhelper (>= 10),
+               help2man,
+               libboost-chrono1.62-dev,
+               libboost-filesystem1.62-dev,
+               libboost-program-options1.62-dev,
+               libboost-serialization1.62-dev,
+               libboost-system1.62-dev,
+               libboost-timer1.62-dev,
+               libgmp-dev,
+               libtinyxml2-dev
+Build-Depends-Indep: texlive-fonts-recommended,
+                     texlive-latex-base,
+                     texlive-latex-extra,
+                     texlive-latex-recommended,
+                     texlive-pictures
+
+Package: sdpb
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: sdpb-doc
+Description: Semidefinite program solver
+ SDPB is an open-source, arbitrary-precision, parallelized semidefinite
+ program solver, designed for the conformal bootstrap. SDPB significantly
+ outperforms less specialized solvers and should enable many new computations.
+ .
+ For more information, see "A Semidefinite Program Solver for the Conformal
+ Bootstrap" at http://arxiv.org/abs/1502.02033.
+
+Package: sdpb-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: Semidefinite program solver (documentation)
+ SDPB is an open-source, arbitrary-precision, parallelized semidefinite
+ program solver, designed for the conformal bootstrap. SDPB significantly
+ outperforms less specialized solvers and should enable many new computations.
+ .
+ For more information, see "A Semidefinite Program Solver for the Conformal
+ Bootstrap" at http://arxiv.org/abs/1502.02033.
+ .
+ This package contains the manual and example files, including a Mathematica
+ file with code to export semidefinite programs in the XML-based format used
+ by SDPB.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..4ce1b4e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,137 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: SDPB
+Upstream-Contact: David Simmons-Duffin (davidsd at gmail.com)
+Source: https://github.com/davidsd/sdpb/
+
+Files: *
+Copyright: Copyright (c) 2014-2015 David Simmons-Duffin
+License: Expat
+
+Files: debian/*
+Copyright: Copyright (c) 2017 Tobias Hansen
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+Files: src/mpack/*
+Copyright: Copyright (c) 1992-2007 The University of Tennessee. All rights reserved.
+           Copyright (c) 2008-2010 Nakata, Maho
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holders nor the names of its
+    contributors may be used to endorse or promote products derived from
+    this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+
+Files: src/mpack/mblas_gmp.h
+       src/mpack/mblas.h
+       src/mpack/mblas_mpfr.h
+       src/mpack/mlapack_gmp.h
+       src/mpack/mlapack.h
+       src/mpack/mlapack_mpfr.h
+       src/mpack/mpack_config.h
+       src/mpack/mutils_gmp.h
+       src/mpack/mutils_mpfr.h
+       src/mpack/Mxerbla.cpp
+       src/mpack/Rlamch.cpp
+       src/mpack/Rlasrt.cpp
+Copyright: Copyright (c) 2008-2010 Nakata, Maho
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
+
+Files: src/mpack/mpreal.h
+Copyright: Copyright (c) 2008-2010 Pavel Holoborodko
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library 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
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License
+ version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+Files: src/tinyxml2/*
+Comment: These files are not used. The Debian package tinyxml2 is used instead.
+Copyright: 2011-2012 Lee Thomason <leethomason at gmail.com>
+License: zlib/libpng
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any
+ damages arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any
+ purpose, including commercial applications, and to alter it and
+ redistribute it freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must
+ not claim that you wrote the original software. If you use this
+ software in a product, an acknowledgment in the product documentation
+ would be appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and
+ must not be misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source
+ distribution.
diff --git a/debian/help2man.include b/debian/help2man.include
new file mode 100644
index 0000000..a874e2c
--- /dev/null
+++ b/debian/help2man.include
@@ -0,0 +1,18 @@
+[NAME]
+sdpb - arbitrary-precision, parallelized semidefinite program solver, designed for the conformal bootstrap.
+
+[SYNOPSIS]
+sdpb [OPTIONS] [SOLVER PARAMETERS]
+
+[EXAMPLES]
+The example files are contained in the package sdpb-doc and can be found at /usr/share/doc/sdpb-doc/examples/.
+
+The input format for SDPB is XML-based and described in the manual. The Mathematica file mathematica/SDPB.m includes code to export semidefinite programs in this format, along with some examples. An example input file test.xml is included as well.
+
+Two python wrappers for SDPB are also available:
+
+    PyCFTBoot by Connor Behan (arXiv:1602.02810)
+    cboot by Tomoki Ohtsuki (arXiv:1602.07295).
+
+[SEE ALSO]
+The SDPB manual and the README file are contained in the package sdpb-doc and can be found at /usr/share/doc/sdpb-doc/.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..27b679f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+	dh $@
+
+override_dh_auto_clean:
+	rm -f sdpb test.out
+	rm -f sdpb.1
+	cd docs && rm -f SDPB-Manual.aux SDPB-Manual.log SDPB-Manual.out SDPB-Manual.pdf SDPB-Manual.toc
+	dh_auto_clean
+
+override_dh_auto_build-arch:
+	dh_auto_build -- SHARED_TINYXML2=1
+	help2man -i debian/help2man.include -N --version-string=$(DEB_VERSION_UPSTREAM) -o sdpb.1 ./sdpb
+
+override_dh_auto_build-indep:
+	cd docs && pdflatex SDPB-Manual && pdflatex SDPB-Manual
+
+override_dh_auto_test-indep:
+
+override_dh_compress:
+	dh_compress -X.m
+
+get-orig-source:
+	git archive --prefix=sdpb_$(DEB_VERSION_UPSTREAM)/ \
+	  --format=tar upstream | xz -zf > ../sdpb_$(DEB_VERSION_UPSTREAM).orig.tar.xz
diff --git a/debian/sdpb-doc.doc-base b/debian/sdpb-doc.doc-base
new file mode 100644
index 0000000..5285a4f
--- /dev/null
+++ b/debian/sdpb-doc.doc-base
@@ -0,0 +1,8 @@
+Document: sdpb-manual
+Title: SDPB Manual
+Author: David Simmons-Duffin
+Abstract: This is the manual for SDPB.
+Section: Science/Mathematics
+
+Format: PDF
+Files: /usr/share/doc/sdpb-doc/SDPB-Manual.pdf.gz
diff --git a/debian/sdpb-doc.docs b/debian/sdpb-doc.docs
new file mode 100644
index 0000000..8852041
--- /dev/null
+++ b/debian/sdpb-doc.docs
@@ -0,0 +1,2 @@
+docs/SDPB-Manual.pdf
+Readme.md
diff --git a/debian/sdpb-doc.examples b/debian/sdpb-doc.examples
new file mode 100644
index 0000000..2720e33
--- /dev/null
+++ b/debian/sdpb-doc.examples
@@ -0,0 +1,2 @@
+mathematica
+test.xml
diff --git a/debian/sdpb.install b/debian/sdpb.install
new file mode 100644
index 0000000..1376754
--- /dev/null
+++ b/debian/sdpb.install
@@ -0,0 +1 @@
+sdpb usr/bin
diff --git a/debian/sdpb.manpages b/debian/sdpb.manpages
new file mode 100644
index 0000000..172e206
--- /dev/null
+++ b/debian/sdpb.manpages
@@ -0,0 +1 @@
+sdpb.1
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bccca2b
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/sdpb-$1\.tar\.gz/ \
+  https://github.com/davidsd/sdpb/tags .*/v?(\d\S+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sdpb.git



More information about the debian-science-commits mailing list