qomui: drop geoip dependency

This commit is contained in:
q66 2021-01-20 12:28:38 +01:00
parent e5c1272883
commit f313f482d4
2 changed files with 15 additions and 2 deletions

View 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,

View file

@ -1,13 +1,13 @@
# Template file for 'qomui'
pkgname=qomui
version=0.8.2
revision=3
revision=4
build_style=python3-module
pycompile_module="qomui"
hostmakedepends="python3 python3-setuptools"
depends="python python3 python3-PyQt5 python3-dbus python3-psutil
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"
short_desc="OpenVPN Qt management ui"
maintainer="Young Jin Park <youngjinpark20@gmail.com>"