debian/0000755000000000000000000000000012313576662007201 5ustar debian/README.test0000644000000000000000000000135712232714725011037 0ustar Notes on how this package can be tested. ---------------------------------------- The upstream package provides a test suite that requires some data to be downloaded from the Internet. After building the package, data (about 398K) can be downloaded using the following command: $ make data In order to run the test suite it is needed to add the path tho the python extension to the PYTHONPATH and run the test_all.pt script. For example, on a x86_64 host the following command can be used from within the root package directry: $ env PYTHONPATH=build/lib.linux-x86_64-2.7 pythonX.Y test/test_all.py Test can be repeated for each available python version. -- Antonio Valentino Sat, 07 May 2011 20:33:54 +0200 debian/copyright0000644000000000000000000001224112232714725011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: pyepr Source: https://github.com/avalentino/pyepr Files: * Copyright: 2011-2013 Antonio Valentino License: GPL-3.0+ Files: debian/* Copyright: 2011-2013 Antonio Valentino License: GPL-3.0+ License: GPL-3.0+ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: doc/sphinxext/ipython_console_highlighting.py Copyright: 2008-2010 IPython Development Team 2001-2007 Fernando Perez. 2001 Janko Hauser 2001 Nathaniel Gray License: BSD-3-clause ============================= The IPython licensing terms ============================= . IPython is licensed under the terms of the Modified BSD License (also known as New or Revised BSD), as follows: . Copyright (c) 2008-2010, IPython Development Team Copyright (c) 2001-2007, Fernando Perez. Copyright (c) 2001, Janko Hauser Copyright (c) 2001, Nathaniel Gray . All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . Neither the name of the IPython Development Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . About the IPython Development Team ---------------------------------- . Fernando Perez began IPython in 2001 based on code from Janko Hauser and Nathaniel Gray . Fernando is still the project lead. . The IPython Development Team is the set of all contributors to the IPython project. This includes all of the IPython subprojects. A full list with details is kept in the documentation directory, in the file ``about/credits.txt``. . The core team that coordinates development on GitHub can be found here: http://github.com/ipython. As of late 2010, it consists of: . * Brian E. Granger * Jonathan March * Evan Patterson * Fernando Perez * Min Ragan-Kelley * Robert Kern . Our Copyright Policy -------------------- . IPython uses a shared copyright model. Each contributor maintains copyright over their contributions to IPython. But, it is important to note that these contributions are typically only changes to the repositories. Thus, the IPython source code, in its entirety is not the copyright of any single person or institution. Instead, it is the collective copyright of the entire IPython Development Team. If individual contributors want to maintain a record of what changes/contributions they have specific copyright on, they should indicate their copyright in the commit message of the change, when they commit the change to one of the IPython repositories. . With this in mind, the following banner should be used in any source code file to indicate the copyright and license terms: . #----------------------------------------------------------------------------- # Copyright (c) 2010, IPython Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file COPYING.txt, distributed with this software. #----------------------------------------------------------------------------- debian/changelog0000644000000000000000000000524312313576662011057 0ustar pyepr (0.8.1-1build2) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:50 +0000 pyepr (0.8.1-1build1) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 19:32:17 +0000 pyepr (0.8.1-1) unstable; urgency=low * New upstream release * Compat set to 9 * debian/control - Build-depend from debhelper (>= 9) - Removed unnecessary versioned dependency from libepr-api2-dev (>= 2.2) - Removed unnecessary "${sphinxdoc:Depends}" from non-doc packages - Added build dependencies from python-doc and python-numpy-doc. It is necessary to make the package build self-contained. * debian/copyright - Updated copyright dates - Fixed formatting of copyright file * debian/patches: - Only use local files for generating sphinx doc. Set the "intersphinx_mapping" parameter in the doc/conf.py to point to local object.inv files. This makes the package self contained and no download attempt happens any longer (Closes: #726859). -- Antonio Valentino Sat, 26 Oct 2013 10:30:04 +0000 pyepr (0.6.1-3) unstable; urgency=low * Call dh_numpy3 * Preserve the original changelog name * Fix installation of debug estensions for Python 3.3 (Closes: #708011) * Standards version bumped to 3.9.4 (no changes) * Added build dependency from cython3 * Use canonical URIs for Vcs-* fields -- Antonio Valentino Sun, 21 Oct 2012 12:29:06 +0200 pyepr (0.6.1-2) unstable; urgency=low * Only run dh_sphinxdoc on the -doc package (Closes: #671048). See also #647233. -- Antonio Valentino Tue, 01 May 2012 17:45:39 +0200 pyepr (0.6.1-1) unstable; urgency=low * New upstream release * New packages: - -dbg package for python2 - packages for python3 (standard and -dbg) - package for common docs * Switch to debhelper 8 * Standard version bumped to 3.9.3 (no changes) * debian/README.test file added * Updated copyright file * Use dh_sphinxdoc and common javascript code from libjs-sphinxdoc * debian/rules: - honor nodoc and noopt DEB_BUILD_OPTIONS - call dh_numpy for an appropriate management of the dependency from numpy * debian/control: - X-Python-Version moved to the source package section -- Antonio Valentino Sun, 29 Apr 2012 19:35:45 +0200 pyepr (0.5-1) unstable; urgency=low * Initial release (Closes: #625997) -- Antonio Valentino Sat, 07 May 2011 20:33:54 +0200 debian/python-epr-doc.docs0000644000000000000000000000002412232714725012711 0ustar README.txt doc/html debian/links0000644000000000000000000000030212232714725010231 0ustar usr/share/javascript/sphinxdoc/1.0/jquery.js usr/share/doc/python-epr/html/_static/jquery.js usr/share/javascript/sphinxdoc/1.0/underscore.js usr/share/doc/python-epr/html/_static/underscore.js debian/compat0000644000000000000000000000000212232714725010371 0ustar 9 debian/patches/0000755000000000000000000000000012232714725010622 5ustar debian/patches/0001-Only-use-local-files-for-generating-sphinx-doc.patch0000644000000000000000000000166012232714725023106 0ustar From: Antonio Valentino Date: Sat, 26 Oct 2013 08:30:36 +0000 Subject: Only use local files for generating sphinx doc. Set the "intersphinx_mapping" parameter in the doc/conf.py to point to local object.inv files. This makes the package self contained and no download attempt happens any longer (Closes: #726859). --- doc/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 39584de..aed9802 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -123,8 +123,10 @@ extlinks = { # Intersphinx intersphinx_mapping = { - 'python': ('http://docs.python.org', None), - 'numpy': ('http://docs.scipy.org/doc/numpy', None), + 'python': ('http://docs.python.org', + '/usr/share/doc/python-doc/html/objects.inv'), + 'numpy': ('http://docs.scipy.org/doc/numpy', + '/usr/share/doc/python-numpy-doc/html/objects.inv'), } debian/patches/series0000644000000000000000000000007212232714725012036 0ustar 0001-Only-use-local-files-for-generating-sphinx-doc.patch debian/control0000644000000000000000000001147512232714725010606 0ustar Source: pyepr Section: python Priority: optional Maintainer: Debian GIS Project Uploaders: Antonio Valentino X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Build-Depends: python-all-dev, python-all-dbg, python3-all-dev, python3-all-dbg, debhelper (>= 9), cython (>= 0.13), cython3, cython-dbg, cython3-dbg, python-numpy, python-numpy-dbg, python3-numpy, python3-numpy-dbg, libepr-api2-dev, python-sphinx (>= 1.0.7+dfsg), texlive-latex-extra, python-doc, python-numpy-doc Standards-Version: 3.9.4 Homepage: http://avalentino.github.com/pyepr Vcs-Git: git://anonscm.debian.org/pkg-grass/pyepr.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/pyepr.git Package: python-epr Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-numpy Provides: ${python:Provides} Suggests: python-epr-doc Description: Python ENVISAT Product Reader API (Python 2) PyEPR provides Python bindings for the ENVISAT Product Reader C API (EPR API) for reading satellite data from ENVISAT ESA (European Space Agency) mission. . PyEPR, as well as the EPR API for C, supports ENVISAT MERIS, AATSR Level 1B and Level 2 and also ASAR data products. It provides access to the data either on a geophysical (decoded, ready-to-use pixel samples) or on a raw data layer. The raw data access makes it possible to read any data field contained in a product file. . This is the Python 2 version of the package. Package: python-epr-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, python-epr (= ${binary:Version}) Provides: ${python:Provides} Recommends: python-numpy-dbg Description: Python ENVISAT Product Reader API (debug extension for Python 2) PyEPR provides Python bindings for the ENVISAT Product Reader C API (EPR API) for reading satellite data from ENVISAT ESA (European Space Agency) mission. . PyEPR, as well as the EPR API for C, supports ENVISAT MERIS, AATSR Level 1B and Level 2 and also ASAR data products. It provides access to the data either on a geophysical (decoded, ready-to-use pixel samples) or on a raw data layer. The raw data access makes it possible to read any data field contained in a product file. . This package contains the extension built for the Python 2 debug interpreter. Package: python3-epr Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, python3-numpy Provides: ${python3:Provides} Suggests: python-epr-doc Description: Python ENVISAT Product Reader API (Python 3) PyEPR provides Python bindings for the ENVISAT Product Reader C API (EPR API) for reading satellite data from ENVISAT ESA (European Space Agency) mission. . PyEPR, as well as the EPR API for C, supports ENVISAT MERIS, AATSR Level 1B and Level 2 and also ASAR data products. It provides access to the data either on a geophysical (decoded, ready-to-use pixel samples) or on a raw data layer. The raw data access makes it possible to read any data field contained in a product file. . This package contains pyepr for Python 3. Package: python3-epr-dbg Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, python3-epr (= ${binary:Version}) Provides: ${python3:Provides} Recommends: python-numpy-dbg Description: Python ENVISAT Product Reader API (debug extension for Python 3) PyEPR provides Python bindings for the ENVISAT Product Reader C API (EPR API) for reading satellite data from ENVISAT ESA (European Space Agency) mission. . PyEPR, as well as the EPR API for C, supports ENVISAT MERIS, AATSR Level 1B and Level 2 and also ASAR data products. It provides access to the data either on a geophysical (decoded, ready-to-use pixel samples) or on a raw data layer. The raw data access makes it possible to read any data field contained in a product file. . This package contains the extension built for the Python 3 debug interpreter. Package: python-epr-doc Architecture: all Section: doc Depends: ${sphinxdoc:Depends}, ${misc:Depends} Suggests: www-browser Description: Python ENVISAT Product Reader API (common documentation) PyEPR provides Python bindings for the ENVISAT Product Reader C API (EPR API) for reading satellite data from ENVISAT ESA (European Space Agency) mission. . PyEPR, as well as the EPR API for C, supports ENVISAT MERIS, AATSR Level 1B and Level 2 and also ASAR data products. It provides access to the data either on a geophysical (decoded, ready-to-use pixel samples) or on a raw data layer. The raw data access makes it possible to read any data field contained in a product file. . This is the common documentation package. debian/rules0000755000000000000000000000473512232714725010264 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Get the supported Python versions #PY2VERS=$(shell pyversions -vr) PY3VERS=$(shell py3versions -vr) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) export CFLAGS ?= -O0 endif %: dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils build-python%: python$* setup.py build python$*-dbg setup.py build override_dh_auto_build: $(PY3VERS:%=build-python%) dh_auto_build override_dh_auto_clean: dh_auto_clean $(RM) src/epr.c $(RM) -r doc/_build doc/html $(RM) -r build $(RM) -r *.egg-info # suppress dh_auto_test since it requires a large download override_dh_auto_test: #ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) # set -e -x;\ # for py in $(PY2VERS); do \ # PYTHONPATH=$(CURDIR)/build/lib.*-$$py python$$py test/test_all.py ;\ # PYTHONPATH=$(CURDIR)/build/lib.*-$$py-pydebug python$$py-dbg test/test_all.py ;\ # for py in $(PY3VERS); do \ # PYTHONPATH=$(CURDIR)/build/lib.*-$$py python$$py test/test_all.py ;\ # PYTHONPATH=$(CURDIR)/build/lib.*-$$py-pydebug python$$py-dbg test/test_all.py ;\ # done #endif override_dh_install: # Install everything excluding the *_d.so debug extensions to python-epr dh_install -X"*_d.so" "debian/tmp/usr/lib/python2*" -p python-epr dh_install -X"*dmu.so" -X"*dm.so" "debian/tmp/usr/lib/python3*" -p python3-epr # Install the debug extensions to python-epr-dbg dh_install "debian/tmp/usr/lib/python2*/*-packages/*_d.so" -p python-epr-dbg dh_install "debian/tmp/usr/lib/python3*/*-packages/*.cpython-??dm*.so" -p python3-epr-dbg # Continue with regular dh_install dh_install dh_numpy dh_numpy3 install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb python$*-dbg setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PY3VERS:%=install-python%) dh_auto_install override_dh_installchangelogs: dh_installchangelogs -k doc/NEWS.txt override_dh_compress: dh_compress -X.txt override_dh_sphinxdoc: ifneq "$(shell dh_listpackages | grep -- -doc)" "" dh_sphinxdoc endif override_dh_installdocs: ifeq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS))) $(MAKE) -C doc html else mkdir -p doc/html endif dh_installdocs .PHONY: override_dh_auto_build override_dh_auto_clean override_dh_auto_test \ override_dh_installchangelogs override_dh_compress override_dh_install \ override_dh_auto_install dh_sphinxdoc override_dh_installdocs debian/source/0000755000000000000000000000000012232714725010473 5ustar debian/source/format0000644000000000000000000000001412232714725011701 0ustar 3.0 (quilt) debian/python-epr-doc.doc-base0000644000000000000000000000045312232714725013444 0ustar Document: pyepr Title: PyEPR Documentation Author: Antonio Valentino Abstract: This document includes the PyEPR User Manual and the Programmers Reference Section: Programming/Python Format: HTML Index: /usr/share/doc/python-epr-doc/html/index.html Files: /usr/share/doc/python-epr-doc/html/*.html debian/watch0000644000000000000000000000017512232714725010227 0ustar # Compulsory line, this is a version 3 file version=3 http://githubredir.debian.net/github/avalentino/pyepr/ v(.*)\.tar\.gz