Skip to content

Commit 07b7fbc

Browse files
committed
Use python-adblock-bin: simplifies updates, and builds faster
1 parent d32c1e6 commit 07b7fbc

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

org.qutebrowser.qutebrowser.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ modules:
9595
# available in the sdk but not in the runtime
9696
- python-pygments/python-pygments.json
9797
- python-pyyaml/python-pyyaml.json
98-
- python-adblock/python-adblock.json
99-
# faster local rebuilds with pre-build python-adblock module
100-
#- python-adblock-bin/python-adblock-bin.json
98+
#- python-adblock/python-adblock.json
99+
- python-adblock-bin/python-adblock-bin.json
101100
- pdfjs/pdfjs.json
102101
- flatpak-spawn-wrapper/flatpak-spawn-wrapper.json
103102
# TODO: f-e-d-c for tests

update.sh

+13-13
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ _TOOLSDIR=$PWD/tools
88

99
flatpak-external-data-checker --edit-only ${_FPID}.yml
1010

11-
for _mod in python-adblock; do
12-
(
13-
cd ${_mod%:*}
14-
case $_mod in
15-
*:*Cargo.lock)
16-
${_TOOLSDIR}/cargo-updater $(basename ${_mod%:*}) ${_mod#*:}
17-
;;
18-
*)
19-
${_TOOLSDIR}/cargo-updater $(basename ${_mod%:*})
20-
;;
21-
esac
22-
)
23-
done
11+
#for _mod in python-adblock; do
12+
# (
13+
# cd ${_mod%:*}
14+
# case $_mod in
15+
# *:*Cargo.lock)
16+
# ${_TOOLSDIR}/cargo-updater $(basename ${_mod%:*}) ${_mod#*:}
17+
# ;;
18+
# *)
19+
# ${_TOOLSDIR}/cargo-updater $(basename ${_mod%:*})
20+
# ;;
21+
# esac
22+
# )
23+
#done
2424

2525
# python modules with multiple dependencies and have a requirements.txt file
2626
#for _mod in tests; do

0 commit comments

Comments
 (0)