summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/miro/files/miro-2.5.3-dont-install-test-files.patch')
-rw-r--r--media-video/miro/files/miro-2.5.3-dont-install-test-files.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/media-video/miro/files/miro-2.5.3-dont-install-test-files.patch b/media-video/miro/files/miro-2.5.3-dont-install-test-files.patch
new file mode 100644
index 000000000000..3c7a99f345b8
--- /dev/null
+++ b/media-video/miro/files/miro-2.5.3-dont-install-test-files.patch
@@ -0,0 +1,37 @@
+--- setup.py.old 2009-10-29 12:36:58.000000000 +0100
++++ setup.py 2009-10-29 12:37:56.000000000 +0100
+@@ -175,7 +175,6 @@
+ portable_xpcom_dir = os.path.join(portable_frontend_dir, 'widgets', 'gtk',
+ 'xpcom')
+ dl_daemon_dir = os.path.join(portable_dir, 'dl_daemon')
+-test_dir = os.path.join(portable_dir, 'test')
+ resource_dir = os.path.join(root_dir, 'resources')
+ platform_dir = os.path.join(root_dir, 'platform', 'gtk-x11')
+ platform_package_dir = os.path.join(platform_dir, 'plat')
+@@ -645,9 +644,7 @@
+ if os.path.basename(f) != 'app.config.template']
+ data_files.append(('/usr/share/miro/resources/', files))
+ # handle the sub directories.
+-for dir in ('searchengines', 'images', 'testdata',
+- os.path.join('testdata', 'stripperdata'),
+- os.path.join('testdata', 'locale', 'fr', 'LC_MESSAGES')):
++for dir in ('searchengines', 'images'):
+ source_dir = os.path.join(resource_dir, dir)
+ dest_dir = os.path.join('/usr/share/miro/resources/', dir)
+ data_files.append((dest_dir, listfiles(source_dir)))
+@@ -867,7 +864,6 @@
+ packages = [
+ 'miro',
+ 'miro.dl_daemon',
+- 'miro.test',
+ 'miro.dl_daemon.private',
+ 'miro.frontends',
+ 'miro.frontends.cli',
+@@ -881,7 +877,6 @@
+ ],
+ package_dir = {
+ 'miro': portable_dir,
+- 'miro.test': test_dir,
+ 'miro.plat': platform_package_dir,
+ },
+ cmdclass = {