File: debianize.patch

package info (click to toggle)
python-xstatic-jsencrypt 2.0.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 116 kB
  • ctags: 85
  • sloc: python: 40; makefile: 28
file content (20 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Do not use embedded jsencrypt
 Use stuff from libjs-jsencrypt
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2014-08-15

--- python-xstatic-jsencrypt-2.0.0.2.orig/xstatic/pkg/jsencrypt/__init__.py
+++ python-xstatic-jsencrypt-2.0.0.2/xstatic/pkg/jsencrypt/__init__.py
@@ -34,9 +34,9 @@ HOMEPAGE = 'http://travistidwell.com/jse
 LICENSE = '(same as %s)' % DISPLAY_NAME
 
 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/jsencrypt'
+BASE_DIR = '/usr/share/javascript/jsencrypt'
 
 LOCATIONS = {
     # CDN locations (if no public CDN exists, use an empty dict)