You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
3 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
6 months ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=8
|
||
|
|
||
|
PYTHON_COMPAT=( python3_{10..12} )
|
||
|
|
||
|
DISTUTILS_USE_PEP517=setuptools
|
||
3 months ago
|
inherit distutils-r1 xdg-utils
|
||
6 months ago
|
|
||
|
if [[ ${PV} == "9999" ]] ; then
|
||
|
inherit git-r3
|
||
|
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"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
S="${WORKDIR}/python-${P}"
|
||
|
fi
|
||
|
|
||
|
DESCRIPTION="Linux client and Python client API for eduVPN"
|
||
|
HOMEPAGE="https://www.eduvpn.org/"
|
||
|
|
||
|
LICENSE="GPL-3+"
|
||
|
SLOT="0"
|
||
|
|
||
|
# Test suite involves adding NetworkManager configuration entries,
|
||
|
# disable for now.
|
||
|
RESTRICT="test"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||
1 month ago
|
net-misc/networkmanager
|
||
6 months ago
|
>=net-vpn/eduvpn-common-1.1.2[${PYTHON_USEDEP}]
|
||
|
"
|
||
|
|
||
3 months ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${PN}-desktop.patch"
|
||
|
)
|
||
|
|
||
|
distutils_enable_sphinx doc \
|
||
|
dev-python/sphinx-rtd-theme
|
||
|
|
||
|
pkg_postinst() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|
||
|
|
||
|
pkg_postrm() {
|
||
|
xdg_icon_cache_update
|
||
|
}
|