[Python-modules-commits] [fpylll] 03/03: Initial packaging

Jerome Benoit calculus-guest at moszumanska.debian.org
Fri Oct 21 03:29:53 UTC 2016


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

calculus-guest pushed a commit to branch master
in repository fpylll.

commit 6e67e62d4a32f1cbb3a07a583c724648ab5817db
Author: Jerome Benoit <calculus at rezozer.net>
Date:   Fri Oct 21 04:11:57 2016 +0100

    Initial packaging
---
 debian/.git-dpm                                |  3 ++
 debian/changelog                               |  5 +++
 debian/clean                                   |  2 ++
 debian/compat                                  |  1 +
 debian/control                                 | 47 ++++++++++++++++++++++++++
 debian/copyright                               | 33 ++++++++++++++++++
 debian/gbp.conf                                |  2 ++
 debian/patches/series                          |  1 +
 debian/patches/upstream-lintian-spelling.patch | 21 ++++++++++++
 debian/python-fpylll-doc.docs                  |  1 +
 debian/python-fpylll-doc.examples              |  1 +
 debian/python-fpylll-doc.links                 |  1 +
 debian/python-fpylll-doc.lintian-overrides     |  2 ++
 debian/python-fpylll.lintian-overrides         |  2 ++
 debian/rules                                   | 23 +++++++++++++
 debian/watch                                   |  3 ++
 16 files changed, 148 insertions(+)

diff --git a/debian/.git-dpm b/debian/.git-dpm
index 74ca2bb..20e01de 100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@ -6,3 +6,6 @@
 fpylll_0.2.3+ds.orig.tar.xz
 50575ee975be9262cef9b63120bb9857fa928795
 46828
+debianTag="debian/%e%v"
+patchedTag="patched/%e%v"
+upstreamTag="upstream/%e%u"
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4ce6a43
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+fpylll (0.2.3+ds-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #841005)
+
+ -- Jerome Benoit <calculus at rezozer.net>  Fri, 21 Oct 2016 03:09:07 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..1fb3f11
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+build/
+src/fpylll/config.pxi
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..eb88588
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: fpylll
+Section: python
+Priority: optional
+Maintainer: Jerome Benoit <calculus at rezozer.net>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: cython (>= 0.24),
+               debhelper (>= 10),
+               dh-python,
+               dpkg-dev (>= 1.17.14),
+               libfplll-dev (>= 5.0.3),
+               libgmp-dev,
+               libmpfr-dev,
+               libpython-dev,
+               python-all,
+               python-cysignals,
+               python-flake8,
+               python-numpy,
+               python-setuptools,
+               python-sphinx
+Build-Depends-Indep: python-docutils
+Standards-Version: 3.9.8
+X-Python-Version: >= 2.7
+Homepage: https://github.com/fplll/fpylll
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/fpylll.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/fpylll.git
+
+Package: python-fpylll
+Architecture: any
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
+Suggests: python-fpylll-doc (= ${source:Version})
+Description: Python wrapper for LLL-reduction of Euclidean lattices -- Python
+ fpylll is a Python library for performing lattice reduction on lattices over
+ the Integers; it is based on the fpLLL C++ library.
+ .
+ This package installs the library for Python 2.
+
+Package: python-fpylll-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
+Suggests: pdf-viewer, www-browser
+Enhances: python-fpylll (= ${source:Version})
+Description: Python wrapper for LLL-reduction of Euclidean lattices -- doc
+ fpylll is a Python library for performing lattice reduction on lattices over
+ the Integers; it is based on the fpLLL C++ library.
+ .
+ This is the common documentation package with examples.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..51b960b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,33 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Upstream-Name: fpylll
+Upstream-Contact: Martin Albrecht <martinralbrecht+github at googlemail.com>
+Source: https://github.com/fplll/fpylll
+Files-Excluded:
+ src/fpylll/config.pxi
+
+Files: *
+Copyright:
+ 2016 Martin Albrecht <martinralbrecht+github at googlemail.com>
+License: GPL-2+
+
+Files: debian/*
+Copyright:
+ 2016 Jerome Benoit <calculus at rezozer.net>
+License: GPL-2+
+
+License: GPL-2+
+ This package 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 2 of the License, or
+ (at your option) any later version.
+ .
+ This package 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, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2f7b1b3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+upstream-lintian-spelling.patch
diff --git a/debian/patches/upstream-lintian-spelling.patch b/debian/patches/upstream-lintian-spelling.patch
new file mode 100644
index 0000000..285acdb
--- /dev/null
+++ b/debian/patches/upstream-lintian-spelling.patch
@@ -0,0 +1,21 @@
+Description: source typo
+ Correct spelling error as reported by lintian in some binaries;
+ meant to silence lintian and eventually to be submitted to the
+ upstream maintainer.
+Origin: vendor, Debian
+Forwarded: WIP
+Comment: spelling-error-in-binary
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-10-21
+
+--- a/src/fpylll/fplll/integer_matrix.pyx
++++ b/src/fpylll/fplll/integer_matrix.pyx
+@@ -638,7 +638,7 @@
+                   (i-1)-th (with last entry put back in first position), for all i>1.  Warning: this
+                   does not produce a genuine ntru lattice with h a genuine public key.
+ 
+-                - ``ntrulike2"`` : as the previous option, except that the contructed matrix is
++                - ``ntrulike2"`` : as the previous option, except that the constructed matrix is
+                   ``[[q*I, 0], [Rot(h), I]]``.
+ 
+                 - ``"qary"`` : generate a q-ary matrix.  If ``bits`` is given, then it first samples
diff --git a/debian/python-fpylll-doc.docs b/debian/python-fpylll-doc.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-fpylll-doc.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-fpylll-doc.examples b/debian/python-fpylll-doc.examples
new file mode 100644
index 0000000..2b29f27
--- /dev/null
+++ b/debian/python-fpylll-doc.examples
@@ -0,0 +1 @@
+tests
diff --git a/debian/python-fpylll-doc.links b/debian/python-fpylll-doc.links
new file mode 100644
index 0000000..987396a
--- /dev/null
+++ b/debian/python-fpylll-doc.links
@@ -0,0 +1 @@
+usr/share/doc/python-fpylll-doc/examples/tests usr/share/doc/python-fpylll-doc/tests
diff --git a/debian/python-fpylll-doc.lintian-overrides b/debian/python-fpylll-doc.lintian-overrides
new file mode 100644
index 0000000..382e3a6
--- /dev/null
+++ b/debian/python-fpylll-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# The upstream source tarball contains no ChangeLog file.
+python-fpylll-doc: no-upstream-changelog
diff --git a/debian/python-fpylll.lintian-overrides b/debian/python-fpylll.lintian-overrides
new file mode 100644
index 0000000..6f449b8
--- /dev/null
+++ b/debian/python-fpylll.lintian-overrides
@@ -0,0 +1,2 @@
+# The upstream source tarball contains no ChangeLog file.
+python-fpylll: no-upstream-changelog
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ecff967
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=fpylll
+
+export DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
+
+default:
+	@uscan --no-conf --dehs --report || true
+
+%:
+	dh $@ --with autoreconf --with python2 --buildsystem=pybuild
+
+override_dh_auto_build-indep:
+	@true
+
+override_dh_auto_install-indep:
+	@true
+
+override_dh_compress-indep:
+	dh_compress -X.pdf -Xexamples
+
+get-orig-source:
+	uscan --no-conf --download-current-version --compression xz --verbose
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..dc932c2
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=repack,dversionmangle=s/\+ds//,repacksuffix=+ds \
+https://github.com/fplll/fpylll/releases .*/fpylll-(\d\S*)dev\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/fpylll.git



More information about the Python-modules-commits mailing list