File: adapt-to-debian.patch

package info (click to toggle)
python-xstatic-angular-mock 1.2.23.1-4~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 168 kB
  • sloc: python: 40; makefile: 28
file content (28 lines) | stat: -rw-r--r-- 1,250 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
28
Description: Debianize the package
Author: Thomas Goirand <zigo@debian.org>
Forwarded: not-needed
Last-Update: 2014-08-11

--- python-xstatic-angular-mock-1.2.16.1.orig/xstatic/pkg/angular_mock/__init__.py
+++ python-xstatic-angular-mock-1.2.16.1/xstatic/pkg/angular_mock/__init__.py
@@ -11,7 +11,7 @@ NAME = __name__.split('.')[-1] # package
                                # please use a all-lowercase valid python
                                # package name
 
-VERSION = '1.2.1' # version of the packaged files, please use the upstream
+VERSION = '1.2.23' # version of the packaged files, please use the upstream
                   # version number
 BUILD = '1' # our package build number, so we can release new builds
              # with fixes for xstatic stuff.
@@ -34,9 +34,9 @@ HOMEPAGE = 'http://angularjs.org/'
 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/angular_mock'
+BASE_DIR = '/usr/share/javascript/angular.js'
 
 LOCATIONS = {
     # CDN locations (if no public CDN exists, use an empty dict)