File: debianize.patch

package info (click to toggle)
python-xstatic-angular-lrdragndrop 1.0.2.2-1~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 112 kB
  • sloc: python: 41; makefile: 36
file content (27 lines) | stat: -rw-r--r-- 1,128 bytes parent folder | download | duplicates (5)
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
Description: Debianize
 Do not use embedded version, but the one of the libjs-lrdragndrop.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2015-04-03

Index: python-xstatic-angular-lrdragndrop/xstatic/pkg/angular_lrdragndrop/__init__.py
===================================================================
--- python-xstatic-angular-lrdragndrop.orig/xstatic/pkg/angular_lrdragndrop/__init__.py
+++ python-xstatic-angular-lrdragndrop/xstatic/pkg/angular_lrdragndrop/__init__.py
@@ -38,13 +38,13 @@ HOMEPAGE = 'https://github.com/lorenzofo
 LICENSE = 'MIT'
 
 from os.path import join, dirname
-BASE_DIR = join(dirname(__file__), 'data')
+#BASE_DIR = join(dirname(__file__), 'data')
 # linux package maintainers just can point to their file locations like this:
-#BASE_DIR = '/usr/share/javascript/' + NAME
+BASE_DIR = '/usr/share/javascript/lrDragNDrop'
 
 # location of the Javascript file that's the entry point for this package, if
 # one exists, relative to BASE_DIR
-MAIN='lrdragndrop.js'
+MAIN = 'lrdragndrop.js'
 
 LOCATIONS = {
     # CDN locations (if no public CDN exists, use an empty dict)