blob: d24764ea82d2290eaf367b4013ecb0df7dbbfb4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
This patch was taken from Arch Linux repositories:
https://gitlab.archlinux.org/archlinux/packaging/packages/opensnitch/-/blob/main/use-system-python-packages.patch
--- a/ui/Makefile
+++ b/ui/Makefile
@@ -3,16 +3,13 @@
install:
@pip3 install --upgrade .
-opensnitch/resources_rc.py: translations deps
+opensnitch/resources_rc.py: translations
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
@find opensnitch/proto/ -name 'ui_pb2_grpc.py' -exec sed -i 's/^import ui_pb2/from . import ui_pb2/' {} \;
translations:
@cd i18n ; make
-deps:
- @pip3 install -r requirements.txt
-
clean:
@rm -rf *.pyc
@rm -rf opensnitch/resources_rc.py
|