Commit 50d8a47f authored by Mark Hymers's avatar Mark Hymers
Browse files

Fix bad patch



Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@ynic.york.ac.uk>
parent 92dc49b7
From: Mark Hymers <mark.hymers@ynic.york.ac.uk>
Date: Fri, 26 Jul 2019 10:36:17 +0100
Subject: Initial debian packaging
Signed-off-by: Mark Hymers <mark.hymers@ynic.york.ac.uk>
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 30 ++++++++++++++++++++++++++++++
debian/copyright | 22 ++++++++++++++++++++++
debian/fsleyes-widgets-docs.docs | 1 +
debian/rules | 20 ++++++++++++++++++++
debian/source/format | 1 +
debian/source/options | 1 +
8 files changed, 81 insertions(+)
create mode 100644 debian/changelog
create mode 100644 debian/compat
create mode 100644 debian/control
create mode 100644 debian/copyright
create mode 100644 debian/fsleyes-widgets-docs.docs
create mode 100755 debian/rules
create mode 100644 debian/source/format
create mode 100644 debian/source/options
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9f2e657
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+fsleyes-widgets (0.7.3-1) buster-devel; urgency=medium
+
+ * Initial release.
+
+ -- Mark Hymers <mark.hymers@ynic.york.ac.uk> Fri, 26 Jul 2019 10:31:00 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b4de394
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+11
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..9229d1e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: fsleyes-widgets
+Section: science
+Priority: optional
+Maintainer: Mark Hymers <mark.hymers@ynic.york.ac.uk>
+Build-Depends: debhelper (>= 11), dh-python, python3-all, python3-setuptools,
+ python3-numpy, python3-six, python3-matplotlib,
+ python3-wxgtk4.0, python3-wxgtk-media4.0, python3-wxgtk-webview4.0
+Standards-Version: 4.1.3
+Homepage: https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets
+X-Python3-Version: >= 3.2
+
+Package: python3-fsleyes-widgets
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Suggests: python-fsleyes-widgets-doc
+Description: a collection of custom wx widgets used by fsleyes (Python 3)
+ The fsleyes-widgets package contains a collection of GUI widgets and utilities,
+ based on wxPython. These widgets are used by fsleyes-props and FSLeyes,
+ .
+ This package installs the library for Python 3.
+
+Package: python-fsleyes-widgets-doc
+Architecture: all
+Section: doc
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Description: a collection of custom wx widgets used by fsleyes (common documentation)
+ The fsleyes-widgets package contains a collection of GUI widgets and utilities,
+ based on wxPython. These widgets are used by fsleyes-props and FSLeyes,
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b66bd66
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: fsleyes-widgets
+Source: https://git.fmrib.ox.ac.uk/fsl/fsleyes/widgets
+
+Files: *
+Copyright: Copyright 2016-2018 University of Oxford, Oxford, UK.
+License: Apache-2
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+ http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Files: debian/*
+Copyright: 2019 Mark Hymers <mark.hymers@ynic.york.ac.uk>
+License: Apache-2
diff --git a/debian/fsleyes-widgets-docs.docs b/debian/fsleyes-widgets-docs.docs
new file mode 100644
index 0000000..0bd3136
--- /dev/null
+++ b/debian/fsleyes-widgets-docs.docs
@@ -0,0 +1 @@
+doc/html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..75ffd0f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+XVFB_OPTS=--auto-servernum --server-num=20 -s "-screen 0 1024x768x24 -ac +extension GLX +render -noreset"
+
+EXCLUDED_TESTS :=
+
+export PYBUILD_NAME=fsleyes-widgets
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS=>/dev/null 2>&1; cd {build_dir}; xvfb-run $(XVFB_OPTS) python{version} -m pytest -v -k "$(EXCLUDED_TESTS)"
+
+
+%:
+ dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_build:
+ dh_auto_build
+ PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/ build/html # HTML generator
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..cb61fa5
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
0001-Initial-debian-packaging.patch
0002-Sanitise-six-dependency.patch
0001-Sanitise-six-dependency.patch
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment