[spyder-line-profiler] 01/02: Initial debianisation
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 27 21:44:48 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-line-profiler.
commit c6b9bee0823d601a34760ca91404fcf0897a1a00
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Mar 27 22:24:59 2017 +0100
Initial debianisation
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 34 ++++++++++++++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++++++++++++++
debian/gbp.conf | 7 +++++++
debian/rules | 12 ++++++++++++
debian/source/format | 1 +
debian/source/local-options | 1 +
debian/tests/control | 11 +++++++++++
debian/watch | 3 +++
10 files changed, 105 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..07be285
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+spyder-line-profiler (0.1.1-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #858862)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com> Mon, 27 Mar 2017 22:22:45 +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..d018bfb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: spyder-line-profiler
+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),
+ python3-all,
+ python3-line-profiler <!nocheck>,
+ python3-pytest <!nocheck>,
+ python3-pytest-xvfb <!nocheck>,
+ python3-pytestqt <!nocheck>,
+ python3-setuptools,
+ python3-spyder <!nocheck>
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/spyder-line-profiler.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/spyder-line-profiler.git
+Homepage: https://github.com/spyder-ide/spyder-line-profiler
+X-Python3-Version: >= 3.5
+
+Package: python3-spyder-line-profiler
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends}
+Description: line profiling plugin for the Spyder IDE
+ This is a plugin for the Spyder IDE that integrates the Python line profiler.
+ .
+ Add a `@profile` decorator to the functions that you wish to profile then
+ press Shift+F10 (line profiler default) to run the profiler on the current
+ script, or go to `Run > Profile line by line`.
+ .
+ The results will be shown in a dockwidget, grouped by function. Lines with a
+ stronger color take more time to run.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7e21a6d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: spyder-line-profiler
+Source: https://pypi.python.org/pypi/spyder-line-profiler
+
+Files: *
+Copyright: 2013 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..243a3bb
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME = spyder-line-profiler
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+export PYBUILD_DISABLE = test
+endif
+
+%:
+ dh $@ --with python3 --buildsystem=pybuild
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/local-options b/debian/source/local-options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/local-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..4cde66a
--- /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_line_profiler
+ ; done
+Depends: python3-all,
+ python3-pytest,
+ python3-pytest-xvfb,
+ python3-pytestqt,
+ python3-spyder-line-profiler
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..180870a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/spyder-line-profiler/spyder_line_profiler-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/spyder-line-profiler.git
More information about the debian-science-commits
mailing list