File: 0001-disable-fetching-of-git-submodule-during-build.patch

package info (click to toggle)
python-mpld3 0.3git%2B20140910dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,808 kB
  • ctags: 1,095
  • sloc: python: 3,595; makefile: 187
file content (37 lines) | stat: -rw-r--r-- 1,161 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From c74894d20ba25db87f27be713a7f30f520d98bee Mon Sep 17 00:00:00 2001
From: "W. Martin Borgert" <debacle@debian.org>
Date: Mon, 12 Oct 2015 00:07:35 +0200
Subject: disable fetching of git submodule during build

Origin: vendor
Last-Update: 2014-09-30
---
 setup.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index a257b33..85de505 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,6 @@ VERSION = get_version()
 
 # Make sure submodules are updated and synced
 root_dir = os.path.abspath(os.path.dirname(__file__))
-require_clean_submodules(root_dir, sys.argv)
 
 # Warn if it looks like JS libs need to be built
 if 'buildjs' not in sys.argv:
@@ -41,11 +40,10 @@ setup(name=NAME,
       url=URL,
       download_url=DOWNLOAD_URL,
       license=LICENSE,
-      cmdclass={'submodule': UpdateSubmodules,
+      cmdclass={
                 'buildjs': BuildJavascript},
       packages=['mpld3',
-                'mpld3/mplexporter',
-                'mpld3/mplexporter/renderers'],
+                ],
       package_data={'mpld3': ['js/*.js']},
       classifiers=[
           'Development Status :: 4 - Beta',