[python-mpop] 01/02: Install the tests sub-package

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Tue Nov 1 15:50:13 UTC 2016


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

a_valentino-guest pushed a commit to branch master
in repository python-mpop.

commit 24aa29eb12e57dc1b33131cbc2a0be53c62b2937
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Tue Nov 1 16:45:27 2016 +0100

    Install the tests sub-package
---
 debian/changelog                                    |  3 +++
 debian/patches/0001-fix-config-path.patch           |  2 +-
 ...empararily-disable-TestProjector.test_init.patch |  2 +-
 debian/patches/0005-Include-test-sub-package.patch  | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 5 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d74b4b2..f7710a8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,9 @@ python-mpop (1.3.0-1) UNRELEASED; urgency=medium
     - standard version bumped to 3.9.8 (no change)
   * debian/rules
     - enable parallel build
+  * debian/patches
+    - new 0005-Include-test-sub-package.patch
+    - refresh all patches
 
   [ Bas Couwenberg ]
   * Override dh_python2 to call dh_numpy too.
diff --git a/debian/patches/0001-fix-config-path.patch b/debian/patches/0001-fix-config-path.patch
index 639419c..9046b35 100644
--- a/debian/patches/0001-fix-config-path.patch
+++ b/debian/patches/0001-fix-config-path.patch
@@ -26,7 +26,7 @@ index 1185007..5689e14 100644
  CONFIG_PATH = (os.environ.get('PPP_CONFIG_DIR', '') or
                 os.path.join(BASE_PATH, 'etc'))
 diff --git a/setup.py b/setup.py
-index 6a2b50a..dcbd879 100644
+index 99d0d5d..6cda15b 100644
 --- a/setup.py
 +++ b/setup.py
 @@ -64,7 +64,7 @@ setup(name=NAME,
diff --git a/debian/patches/0004-tempararily-disable-TestProjector.test_init.patch b/debian/patches/0004-tempararily-disable-TestProjector.test_init.patch
index 55d67ed..398bb96 100644
--- a/debian/patches/0004-tempararily-disable-TestProjector.test_init.patch
+++ b/debian/patches/0004-tempararily-disable-TestProjector.test_init.patch
@@ -7,7 +7,7 @@ Subject: tempararily disable TestProjector.test_init
  1 file changed, 1 insertion(+)
 
 diff --git a/mpop/tests/test_projector.py b/mpop/tests/test_projector.py
-index 65dc703..4107d6d 100644
+index bd27611..9f11e55 100644
 --- a/mpop/tests/test_projector.py
 +++ b/mpop/tests/test_projector.py
 @@ -50,6 +50,7 @@ class TestProjector(unittest.TestCase):
diff --git a/debian/patches/0005-Include-test-sub-package.patch b/debian/patches/0005-Include-test-sub-package.patch
new file mode 100644
index 0000000..bf13095
--- /dev/null
+++ b/debian/patches/0005-Include-test-sub-package.patch
@@ -0,0 +1,21 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 1 Nov 2016 16:43:06 +0100
+Subject: Include test sub-package
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 6cda15b..6732b73 100644
+--- a/setup.py
++++ b/setup.py
+@@ -63,7 +63,7 @@ setup(name=NAME,
+       test_suite='mpop.tests.suite',
+       packages=['mpop', 'mpop.satellites', 'mpop.instruments', 'mpop.satin',
+                 'mpop.satout', 'mpop.saturn', 'mpop.imageo',
+-                'mpop.imageo.formats'],
++                'mpop.imageo.formats', 'mpop.tests'],
+       data_files=[(os.path.join('/etc', 'pytroll'),
+                    [os.path.join('etc', 'geo_image.cfg'),
+                     os.path.join('etc', 'eps_avhrrl1b_6.5.xml')])],
diff --git a/debian/patches/series b/debian/patches/series
index 5e19008..257d9ce 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-fix-intersphinx-inventory-path.patch
 0003-fix-missing-trollsift.patch
 0004-tempararily-disable-TestProjector.test_init.patch
+0005-Include-test-sub-package.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mpop.git



More information about the Pkg-grass-devel mailing list