qomui: drop geoip dependency
This commit is contained in:
13
srcpkgs/qomui/patches/remove-geoip-dep.patch
Normal file
13
srcpkgs/qomui/patches/remove-geoip-dep.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
--- qomui/update.py
|
||||||
|
+++ qomui/update.py
|
||||||
|
@@ -991,9 +991,7 @@
|
||||||
|
|
||||||
|
if ip != 0:
|
||||||
|
|
||||||
|
- country_check = check_output(["geoiplookup", "{}".format(ip)]).decode("utf-8")
|
||||||
|
- cc = country_check.split(" ")[3].split(",")[0]
|
||||||
|
- country = country_translate(cc)
|
||||||
|
+ country = "Unknown"
|
||||||
|
self.log.emit(("debug", "importing {}".format(name)))
|
||||||
|
custom_servers[name] = {
|
||||||
|
"name": name,
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
# Template file for 'qomui'
|
# Template file for 'qomui'
|
||||||
pkgname=qomui
|
pkgname=qomui
|
||||||
version=0.8.2
|
version=0.8.2
|
||||||
revision=3
|
revision=4
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
pycompile_module="qomui"
|
pycompile_module="qomui"
|
||||||
hostmakedepends="python3 python3-setuptools"
|
hostmakedepends="python3 python3-setuptools"
|
||||||
depends="python python3 python3-PyQt5 python3-dbus python3-psutil
|
depends="python python3 python3-PyQt5 python3-dbus python3-psutil
|
||||||
python3-requests python3-BeautifulSoup4 python3-lxml python3-pexpect openvpn
|
python3-requests python3-BeautifulSoup4 python3-lxml python3-pexpect openvpn
|
||||||
python3-PyQt5-dbus stunnel geoip geoip-data dnsmasq libcgroup libcgroup-utils
|
python3-PyQt5-dbus stunnel dnsmasq libcgroup libcgroup-utils
|
||||||
iptables wireguard wireguard-tools openresolv"
|
iptables wireguard wireguard-tools openresolv"
|
||||||
short_desc="OpenVPN Qt management ui"
|
short_desc="OpenVPN Qt management ui"
|
||||||
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
|
maintainer="Young Jin Park <youngjinpark20@gmail.com>"
|
||||||
|
|||||||
Reference in New Issue
Block a user