File: debianize.patch

package info (click to toggle)
python-xstatic-angular 1.5.8.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,352 kB
  • sloc: python: 40; makefile: 22
file content (22 lines) | stat: -rw-r--r-- 855 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
Description: Debianize
 Using the system's version of angular.js
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2015-07-28

Index: python-xstatic-angular/xstatic/pkg/angular/__init__.py
===================================================================
--- python-xstatic-angular.orig/xstatic/pkg/angular/__init__.py
+++ python-xstatic-angular/xstatic/pkg/angular/__init__.py
@@ -34,9 +34,9 @@ HOMEPAGE = 'http://angularjs.org'
 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/angular'
+BASE_DIR = '/usr/share/javascript/angular.js'
 
 LOCATIONS = {
     # CDN locations (if no public CDN exists, use an empty dict)