From ed3f393b1a81f040406a2b622a82c8f86a27c460 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Wed, 14 Apr 2021 18:33:42 +0200
Subject: [PATCH] [pkg] skip tests since they contact outside

that makes build fail in launchpad
---
 debian/changelog   |  2 +-
 debian/rules       |  4 ++++
 docs/build-ppa.rst | 10 ++++++++++
 3 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index fb29b863..55e1f6b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-riseup-vpn (0.21.2.2) groovy; urgency=medium
+riseup-vpn (0.21.2.5) groovy; urgency=medium
 
   * Initial Release.
 
diff --git a/debian/rules b/debian/rules
index 91cc6540..0a6bb1e2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,6 +33,10 @@ endif
 %:
 	dh $@
 
+override_dh_auto_test:
+	#FIXME tests try to contact riseup api, need to be mocked
+	#make -j4 test
+
 override_dh_auto_build:
 	make build
 
diff --git a/docs/build-ppa.rst b/docs/build-ppa.rst
index abc9b7eb..1ddf8ae4 100644
--- a/docs/build-ppa.rst
+++ b/docs/build-ppa.rst
@@ -9,3 +9,13 @@ ppa howto
   debuild -i -S
   dput --force ppa:kalikaneko/ppa ../riseup-vpn_0.21.2.2_source.changes
 
+Using kali's ppa
+----------------
+
+.. code:: bash
+
+  sudo gpg --homedir=/tmp --no-default-keyring --keyring /usr/share/keyrings/kali-ppa-archive-keyring.gpg --keyserver keyserver.ubuntu.com --recv-keys 0xbe23fb4a0e9db36ecb9ab8be23638bf72c593bc1
+  sudo add-apt-repository ppa:kalikaneko/ppa
+  sudo apt update
+  sudo apt install riseup-vpn
+
-- 
GitLab