File: debianize.patch

package info (click to toggle)
python-xstatic-mdi 1.6.50.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 2,976 kB
  • sloc: python: 41; makefile: 28
file content (24 lines) | stat: -rw-r--r-- 940 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Debianize
 Using files from the fonts-materialdesignicons-webfont package instead of
 the embedded ones.
Author: Thomas Goirand <zigo@debian.org>
Updated-By: Michal Arbet <michal.arbet@ultimum.io>
Forwarded: not-needed
Last-Update: 2020-04-25

diff --git a/xstatic/pkg/mdi/__init__.py b/xstatic/pkg/mdi/__init__.py
index 7f6ef92..d7245ad 100644
--- a/xstatic/pkg/mdi/__init__.py
+++ b/xstatic/pkg/mdi/__init__.py
@@ -38,9 +38,9 @@ HOMEPAGE = 'http://materialdesignicons.com'
 LICENSE = 'SIL OFL 1.1'
 
 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/' + NAME
+BASE_DIR = '/usr/share/fonts-materialdesignicons-webfont/'
 
 # location of the Javascript file that's the entry point for this package, if
 # one exists, relative to BASE_DIR