File: use_debian_packaged_components.patch

package info (click to toggle)
pyfastx 2.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,336 kB
  • sloc: ansic: 4,826; python: 1,816; sh: 505; perl: 66; makefile: 31
file content (34 lines) | stat: -rw-r--r-- 881 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
25
26
27
28
29
30
31
32
33
34
Author: Andreas Tille <tille@debian.org>
Reviewed-By: Étienne Mollier <emollier@debian.org>
Last-Update: 2025-02-05
Forwarded: not-needed
Description: do not try to download various packaged components.
 This change is to accommodate Debian specific build context.

---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- pyfastx.orig/setup.py
+++ pyfastx/setup.py
@@ -10,7 +10,7 @@
 root_dir = os.path.dirname(os.path.abspath(__file__))
 
 sources = glob.glob(os.path.join(root_dir, 'src', '*.c'))
-link_args = []
+link_args = ['-lsqlite3']
 comp_args = []
 include_dirs = []
 
@@ -125,9 +125,9 @@
         super().build_extensions()
 
 #if not sys.platform.startswith('linux'):
-prepare_sqlite3()
-prepare_zlib()
-prepare_indexed_gzip()
+#prepare_sqlite3()
+#prepare_zlib()
+#prepare_indexed_gzip()
 
 extension = Extension('pyfastx',
     sources = sources,