Package: python-xstatic-jsencrypt / 2.3.1.1-3

debianize.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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

Index: python-xstatic-jsencrypt/xstatic/pkg/jsencrypt/__init__.py
===================================================================
--- python-xstatic-jsencrypt.orig/xstatic/pkg/jsencrypt/__init__.py
+++ python-xstatic-jsencrypt/xstatic/pkg/jsencrypt/__init__.py
@@ -34,9 +34,9 @@ HOMEPAGE = 'http://travistidwell.com/jse
 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/jsencrypt'
+BASE_DIR = '/usr/share/javascript/jsencrypt'
 
 MAIN='jsencrypt.js'