File: debianize.patch

package info (click to toggle)
python-xstatic-jsencrypt 2.3.1.1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 236 kB
  • sloc: javascript: 2,929; python: 41; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 827 bytes parent folder | download | duplicates (3)
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'