[spyder-reports] 01/02: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Oct 16 08:12:22 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository spyder-reports.

commit dffbc8d93243069d4eddfb629315cd9139832bd4
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Sun Oct 15 18:16:45 2017 +0100

    Initial debianization
---
 debian/changelog      |  5 +++++
 debian/compat         |  1 +
 debian/control        | 34 ++++++++++++++++++++++++++++++++++
 debian/copyright      | 30 ++++++++++++++++++++++++++++++
 debian/gbp.conf       |  7 +++++++
 debian/rules          | 13 +++++++++++++
 debian/source/format  |  1 +
 debian/source/options |  1 +
 debian/tests/control  | 11 +++++++++++
 debian/watch          |  3 +++
 10 files changed, 106 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d08adb7
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+spyder-reports (0.1.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #872534)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Sat, 14 Oct 2017 18:43:36 +0100
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..bb3394e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: spyder-reports
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               dpkg-dev (>= 1.17.14),
+               pandoc <!nocheck>,
+               python3-all,
+               python3-matplotlib <!nocheck>,
+               python3-pytest <!nocheck>,
+               python3-pytest-cov <!nocheck>,
+               python3-pytest-xvfb <!nocheck>,
+               python3-pytestqt <!nocheck>,
+               python3-pweave <!nocheck>,
+               python3-setuptools,
+               python3-spyder <!nocheck>
+Standards-Version: 4.1.1
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/spyder-reports.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/spyder-reports.git
+Homepage: https://github.com/spyder-ide/spyder-reports
+X-Python3-Version: >= 3.5
+
+Package: python3-spyder-reports
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         pandoc
+Description: plugin to render scientific reports within the Spyder IDE
+ Spyder-reports is a plugin for the Spyder IDE which renders scientific reports
+ written in Markdown. The preview is displayed on a separate pannel and uses
+ pandoc and Pweave in the backend to perform the conversion from Markdown to
+ HTML.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6358d43
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: spyder-reports
+Source: https://pypi.python.org/pypi/spyder-reports
+
+Files: *
+Copyright: 2017 Spyder Project Contributors
+License: Expat
+
+Files: debian/*
+Copyright: 2017 Ghislain Antony Vaillant <ghisvail at gmail.com>
+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.
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..f53906f
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream
+debian-branch = master
+upstream-tag = upstream/%(version)s
+debian-tag = debian/%(version)s
+sign-tags = True
+pristine-tar = True
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5512d75
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=spyder-reports
+export PYBUILD_AFTER_INSTALL=rm -f {destdir}/{install_dir}/.coverage
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+get-orig-source:
+	uscan --download-current-version --force-download --no-symlink
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/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..2faede8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,11 @@
+Test-Command: set -e
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m pytest -v --pyargs spyder_reports
+ ; done
+Depends: @,
+         python3-all,
+         python3-pytest,
+         python3-pytest-xvfb,
+         python3-pytestqt
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..887f5d3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@

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



More information about the debian-science-commits mailing list