File: debianize.patch

package info (click to toggle)
python-xstatic-bootswatch 3.3.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,312 kB
  • ctags: 52
  • sloc: python: 39; makefile: 34
file content (30 lines) | stat: -rw-r--r-- 1,068 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
21
22
23
24
25
26
27
28
29
30
From a91aee5b7039b6e0139b214bcedff03b899c5870 Mon Sep 17 00:00:00 2001
From: Ivan Udovichenko <iudovichenko@mirantis.com>
Date: Tue, 8 Sep 2015 23:19:41 +0300
Subject: [PATCH] Debianize

---
 xstatic/pkg/bootswatch/__init__.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/xstatic/pkg/bootswatch/__init__.py b/xstatic/pkg/bootswatch/__init__.py
index 5cbc091..7d99ea9 100644
--- a/xstatic/pkg/bootswatch/__init__.py
+++ b/xstatic/pkg/bootswatch/__init__.py
@@ -37,10 +37,10 @@ HOMEPAGE = 'http://bootswatch.com'
 # this refers to all files:
 LICENSE = '(same as %s)' % DISPLAY_NAME
 
-from os.path import join, dirname
-BASE_DIR = join(dirname(__file__), 'data')
+#from os.path import join, dirname
+#BASE_DIR = join(dirname(__file__), 'data')
 # linux package maintainers just can point to their file locations like this:
-#BASE_DIR = '/usr/share/javascript/' + NAME
+BASE_DIR = '/usr/share/javascript/' + NAME
 
 # location of the Javascript file that's the entry point for this package, if
 # one exists, relative to BASE_DIR
-- 
2.1.4