diff options
Diffstat (limited to 'net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild')
-rw-r--r-- | net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild b/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild index f0298e230b0d..0b30b821346b 100644 --- a/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild +++ b/net-vpn/eduvpn-client/eduvpn-client-4.2.1.ebuild @@ -17,8 +17,14 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/eduvpn/python-${PN}.git" S="${WORKDIR}/${P}" else - SRC_URI="https://github.com/eduvpn/python-eduvpn-client/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - S="${WORKDIR}/python-${P}" + VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc + inherit verify-sig + MY_P="python-${P}" + SRC_URI=" + https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz + verify-sig? ( https://github.com/eduvpn/python-eduvpn-client/releases/download/${PV}/${MY_P}.tar.xz.asc ) + " + S="${WORKDIR}/${MY_P}" fi DESCRIPTION="Linux client and Python client API for eduVPN" @@ -37,6 +43,10 @@ RDEPEND=" >=net-vpn/eduvpn-common-1.2.0[${PYTHON_USEDEP}] " +if [[ ${PV} != *9999* ]] ; then + BDEPEND="verify-sig? ( sec-keys/openpgp-keys-eduvpn )" +fi + PATCHES=( "${FILESDIR}/${PN}-desktop.patch" ) |