[python-pydap] 01/02: Initial debianisation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Apr 6 16:26:24 UTC 2017


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

ghisvail-guest pushed a commit to branch master
in repository python-pydap.

commit 3856b2a1d3fbbc0ea980c585ba0c108f46c8bf88
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Wed Mar 29 10:30:34 2017 +0100

    Initial debianisation
---
 debian/changelog                          |  5 +++
 debian/compat                             |  1 +
 debian/control                            | 70 +++++++++++++++++++++++++++++++
 debian/copyright                          | 31 ++++++++++++++
 debian/gbp.conf                           |  7 ++++
 debian/python-pydap-doc.doc-base          |  9 ++++
 debian/python-pydap-doc.docs              |  1 +
 debian/python-pydap-doc.lintian-overrides |  2 +
 debian/python3-pydap.lintian-overrides    |  6 +++
 debian/rules                              | 31 ++++++++++++++
 debian/source/format                      |  1 +
 debian/source/local-options               |  1 +
 debian/tests/control                      | 14 +++++++
 debian/watch                              |  3 ++
 14 files changed, 182 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6face53
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pydap (3.2.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #849477)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Wed, 29 Mar 2017 10:21:17 +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..a17682c
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,70 @@
+Source: python-pydap
+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-bs4 <!nocheck>,
+               python3-coards <!nocheck>,
+               python3-docopt <!nocheck>,
+               python3-gsw <!nocheck>,
+               python3-gunicorn <!nocheck>,
+               python3-jinja2 <!nocheck>,
+               python3-mechanicalsoup <!nocheck>,
+               python3-nose <!nocheck>,
+               python3-numpy <!nocheck>,
+               python3-pygments <!nodoc>,
+               python3-requests <!nocheck>,
+               python3-scipy <!nocheck>,
+               python3-setuptools,
+               python3-six (>= 1.4.0) <!nocheck>,
+               python3-sphinx <!nodoc>,
+               python3-sphinx-rtd-theme <!nodoc>,
+               python3-webob <!nocheck>,
+               python3-webtest <!nocheck>,
+               sphinx-common
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/python-pydap.git
+Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/python-pydap.git
+Homepage: http://www.pydap.org/
+X-Python3-Version: >= 3.5
+
+Package: python3-pydap
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+          python3-coards,
+          python3-gsw,
+          python3-gunicorn,
+          python3-requests,
+          python3-scipy
+Suggests: python-pydap-doc <!nodoc>
+Description: implementation of the Data Access Protocol in Python
+ Pydap is an implementation of the Opendap/DODS protocol, written from scratch.
+ You can use Pydap to access scientific data on the internet without having to
+ download it; instead, you work with special array and iterable objects that
+ download data on-the-fly as necessary, saving bandwidth and time. The module
+ also comes with a robust-but-lightweight Opendap server, implemented as a WSGI
+ application.
+ .
+ This package provides the modules for Python 3.
+
+Package: python-pydap-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends}
+Built-Using: ${sphinxdoc:Built-Using}
+Description: documentation for pydap
+ Pydap is an implementation of the Opendap/DODS protocol, written from scratch.
+ You can use Pydap to access scientific data on the internet without having to
+ download it; instead, you work with special array and iterable objects that
+ download data on-the-fly as necessary, saving bandwidth and time. The module
+ also comes with a robust-but-lightweight Opendap server, implemented as a WSGI
+ application.
+ .
+ This package provides the documentation.
+Build-Profiles: <!nodoc>
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3184b48
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pydap
+Upstream-Contact: James Hiebert <james at hiebert.name>
+Source: https://pypi.python.org/pypi/Pydap
+
+Files: *
+Copyright: 2012 Roberto De Almeida <roberto at dealmeida.net>
+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/python-pydap-doc.doc-base b/debian/python-pydap-doc.doc-base
new file mode 100644
index 0000000..217fef3
--- /dev/null
+++ b/debian/python-pydap-doc.doc-base
@@ -0,0 +1,9 @@
+Document: python-pydap-doc
+Title: Pydap Documentation
+Author: Roberto De Almeida
+Abstract: This is the reference documentation for pydap.
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-pydap-doc/html/index.html
+Files: /usr/share/doc/python-pydap-doc/html/*.html
diff --git a/debian/python-pydap-doc.docs b/debian/python-pydap-doc.docs
new file mode 100644
index 0000000..4ecc793
--- /dev/null
+++ b/debian/python-pydap-doc.docs
@@ -0,0 +1 @@
+docs/_build/html
diff --git a/debian/python-pydap-doc.lintian-overrides b/debian/python-pydap-doc.lintian-overrides
new file mode 100644
index 0000000..cbaa74a
--- /dev/null
+++ b/debian/python-pydap-doc.lintian-overrides
@@ -0,0 +1,2 @@
+# The extra license file is part of the documentation.
+extra-license-file
diff --git a/debian/python3-pydap.lintian-overrides b/debian/python3-pydap.lintian-overrides
new file mode 100644
index 0000000..19e35aa
--- /dev/null
+++ b/debian/python3-pydap.lintian-overrides
@@ -0,0 +1,6 @@
+# Upstream does not provide manpages for the command-line tools yet,
+# see <https://github.com/pydap/pydap/issues/71>.
+binary-without-manpage
+# This package is primarily a library.
+library-package-name-for-application
+application-in-library-section
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..fd01d05
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,31 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE = 1
+
+export PYBUILD_NAME = pydap
+ifneq (,$(findstring nocheck,$(DEB_BUILD_PROFILES)))
+export PYBUILD_DISABLE = test
+else
+export PYBUILD_BEFORE_TEST = cp -r {dir}/src/*.egg-info {build_dir}
+export PYBUILD_TEST_ARGS = -a "!auth"
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/*.egg-info
+endif
+
+%:
+	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
+
+override_dh_auto_clean:
+	dh_auto_clean
+	$(MAKE) -C docs clean
+
+override_dh_auto_build: export http_proxy=127.0.0.1:9
+override_dh_auto_build: export https_proxy=127.0.0.1:9
+override_dh_auto_build:
+	dh_auto_build
+ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
+	PYTHONPATH=$(CURDIR)/src $(MAKE) -C docs html
+endif
+
+override_dh_installchangelogs:
+	dh_installchangelogs NEWS.md
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..0cfafd8
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,14 @@
+Test-Command: set -e
+ ; cp -r ./src/pydap/tests/* "$AUTOPKGTEST_TMP"
+ ; for py in $(py3versions -r 2>/dev/null)
+ ; do cd "$AUTOPKGTEST_TMP"
+ ; echo "Testing with $py:"
+ ; $py -m nose -v -a "!auth"
+ ; done
+Depends: python3-all,
+         python3-bs4,
+         python3-nose,
+         python3-pydap,
+         python3-requests,
+         python3-webtest
+Restrictions: allow-stderr
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..fdf42c1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/Pydap/Pydap-(.+)\.(?: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/python-pydap.git



More information about the debian-science-commits mailing list