[imposm-parser] 15/17: Drop test file location patch in favor of symlinks.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Mon Aug 31 14:07:14 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository imposm-parser.
commit e16acc0756bab1d71bcd20836f53918f3e6288c8
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 31 15:45:35 2015 +0200
Drop test file location patch in favor of symlinks.
---
debian/changelog | 1 +
debian/links | 3 +++
debian/patches/00-fix_testfiles_location.patch | 33 --------------------------
debian/patches/series | 1 -
4 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 6e669da..3b7e210 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,7 @@ imposm-parser (1.0.7+ds-1) UNRELEASED; urgency=low
* Repack upstream tarball to exclude .egg-info directory.
* Add build dependencies for tests: python-nose.
* Override dh_auto_test to ignore test failures.
+ * Drop test file location patch in favor of symlinks.
-- Bas Couwenberg <sebastic at debian.org> Mon, 31 Aug 2015 15:16:51 +0200
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..c826389
--- /dev/null
+++ b/debian/links
@@ -0,0 +1,3 @@
+usr/share/python-imposm-parser/tests/test.osm usr/lib/python2.7/dist-packages/imposm/parser/test/test.osm
+usr/share/python-imposm-parser/tests/test.osm.bz2 usr/lib/python2.7/dist-packages/imposm/parser/test/test.osm.bz2
+usr/share/python-imposm-parser/tests/test.pbf usr/lib/python2.7/dist-packages/imposm/parser/test/test.pbf
diff --git a/debian/patches/00-fix_testfiles_location.patch b/debian/patches/00-fix_testfiles_location.patch
deleted file mode 100644
index eb35435..0000000
--- a/debian/patches/00-fix_testfiles_location.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From: David Paleino <dapal at debian.org>
-Subject: move test files to /usr/share/python-imposm-parser/
-Origin: vendor
-Forwarded: no
-
----
- imposm/parser/test/test_simple_parser.py | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
---- imposm-parser.orig/imposm/parser/test/test_simple_parser.py
-+++ imposm-parser/imposm/parser/test/test_simple_parser.py
-@@ -95,16 +95,16 @@ class ParserTestBaseWithFilter(ParserTes
- eq_(len(self.relations), 0)
-
- class TestXML(ParserTestBase):
-- osm_filename = 'test.osm'
-+ osm_filename = '/usr/share/python-imposm-parser/tests/test.osm'
-
- class TestBZIP2(ParserTestBase):
-- osm_filename = 'test.osm.bz2'
-+ osm_filename = '/usr/share/python-imposm-parser/tests/test.osm.bz2'
-
- class TestPBF(ParserTestBase):
-- osm_filename = 'test.pbf'
-+ osm_filename = '/usr/share/python-imposm-parser/tests/test.pbf'
-
- class TestXMLWithFilter(ParserTestBaseWithFilter):
-- osm_filename = 'test.osm'
-+ osm_filename = '/usr/share/python-imposm-parser/tests/test.osm'
-
- class TestPBFWithFilter(ParserTestBaseWithFilter):
-- osm_filename = 'test.pbf'
-+ osm_filename = '/usr/share/python-imposm-parser/tests/test.pbf'
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 162101b..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-00-fix_testfiles_location.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/imposm-parser.git
More information about the Pkg-grass-devel
mailing list