[spyder-memory-profiler] 01/02: Initial debianisation
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Mar 27 21:35:43 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-memory-profiler.
commit 3d650d8fa39df3d28f028254ae47f0324ce78fac
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Mon Mar 27 22:15:49 2017 +0100
Initial debianisation
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 35 +++++++++++++++++++++++++++++++++++
debian/copyright | 30 ++++++++++++++++++++++++++++++
debian/gbp.conf | 7 +++++++
debian/rules | 12 ++++++++++++
debian/source/format | 1 +
debian/source/local-options | 1 +
debian/tests/control | 10 ++++++++++
debian/watch | 3 +++
10 files changed, 105 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..3c30ce4
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+spyder-memory-profiler (0.1.0-1) UNRELEASED; urgency=low
+
+ * Initial release. (Closes: #858861)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com> Mon, 27 Mar 2017 22:28:08 +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..de79be3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,35 @@
+Source: spyder-memory-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-memory-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-memory-profiler.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/spyder-memory-profiler.git
+Homepage: https://github.com/spyder-ide/spyder-memory-profiler
+X-Python3-Version: >= 3.5
+
+Package: python3-spyder-memory-profiler
+Architecture: all
+Depends: ${misc:Depends},
+ ${python3:Depends}
+Description: memory profiling plugin for the Spyder IDE
+ This is a plugin for the Spyder IDE that integrates the Python memory
+ profiler. It allows you to see the memory usage in every line.
+ .
+ Add a `@profile` decorator to the functions that you wish to profile then
+ press Ctrl+Shift+F10 to run the profiler on the current script, or go to
+ `Run > Profile memory line by line`.
+ .
+ The results will be shown in a dockwidget, grouped by function. Lines with a
+ stronger color have the largest increments in memory usage.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5a52f92
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,30 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: spyder-memory-profiler
+Source: https://pypi.python.org/pypi/spyder-memory-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..96e84cf
--- /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-memory-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..6bfc25d
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,10 @@
+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_memory_profiler
+ ; done
+Depends: python3-all,
+ python3-pytest-xvfb,
+ python3-pytestqt,
+ python3-spyder-memory-profiler
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..92ec892
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/spyder-memory-profiler/spyder_memory_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-memory-profiler.git
More information about the debian-science-commits
mailing list