mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
net-vpn/eduvpn-common: drop 2.1.0, 3.0.0
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> Part-of: https://github.com/gentoo/gentoo/pull/45961 Closes: https://github.com/gentoo/gentoo/pull/45961 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
e74ef8cd45
commit
d54cf90b11
@@ -1,9 +1,3 @@
|
||||
DIST eduvpn-common-2.1.0-deps.tar.xz 24538240 BLAKE2B 669184809f8aefdd7f1015c3c4ee3d6f932842a44be1c2d585840f46cff80054cf795959498f14222322495f90a8c07f7f597659c372f91e836ad51db4927790 SHA512 6c215ac2806b97da12fdaff8a317d66ec1b2a8a96b23cad67d65d0fdaba464d4003a0ae0115e6b898a8d61c874e0116f425009a3560e0b9b7d8aceae2398afdc
|
||||
DIST eduvpn-common-2.1.0.tar.xz 993108 BLAKE2B 80dd41db49a4c3d334ca7112204cdbf709bd3020285f168c411dad4b3fcbef2968a3b6a4de95849537e1dfbfdbb81e42d07c9531804472781eacd10590d2cbe9 SHA512 40ee1f5ab99b1b743c0fcf647fa2973b2abceb3fde46305c091409e24cf1b87d9159e90e4839d42f4f186c37663e61f494f461343959eddf3bba8606e5bd1112
|
||||
DIST eduvpn-common-2.1.0.tar.xz.asc 228 BLAKE2B b0bb3b74b19b9274b4bc08cfa108b693f79c30ba2ae3a567e57b673a41c72fc920afc16cce6a1c173634e0f5e82016efcecb9dd71ba397723df82e0193efd814 SHA512 26eff9c19896176bb65afc1596bbb0d74e9a71e4cd756b284ae296203fe9db2952b9a778e9d558b1e390f35c5639e59c04a004927375e964bfe888ad019ebf11
|
||||
DIST eduvpn-common-3.0.0-deps.tar.xz 24897412 BLAKE2B 0a90e68de111ca7de9930d6cea1f3f4d30f13884a34721c6b4d543704ff8e73a794b375319974092997952d6187c5d518a487d54105e3da43e529562212b00ce SHA512 25fe843784fa0d0d607697266279e524ca45f71d0b804b16d6b6b69aa251b9794bdd6c71b0266ff1a1570fba7615ab75ef7e09b3c14f333cc989bd51c2e06631
|
||||
DIST eduvpn-common-3.0.0.tar.xz 1960452 BLAKE2B 1095d328509c16c301b6a3158c7101093dec52e0fe3c1b1ed9472a3e63d8029283ebe1ca3ff01b78f701aff398ba51f8bdf32a0269d58a34834278a3c829f1ae SHA512 300775798810a5831ad7791dfe23078eac75b2e0879e537e9b1e999ed1e585e5f6e6e1f44b92d0f7c210ab5690a0e0175642ea480b05cc5bf29f39004941c963
|
||||
DIST eduvpn-common-3.0.0.tar.xz.asc 228 BLAKE2B 26720489d26c40650c8f636b654dbb33b514f4bec9e326e3e9f05aa200bdc9345f2628934f1c7d115a335b7082b24fdc5060e0222a3481c59061d2c87c023b1c SHA512 a9792842dd27a92b62298a17429b663b24b3d3062013de5728f7cbe0f44c6dc28e97be6afca92dcbe86d0197277350a4bca28b8b3d4f58c99d125f4950819194
|
||||
DIST eduvpn-common-4.0.0-deps.tar.xz 20436036 BLAKE2B b525b08e25f17f977781facc05e713963c07646836e5a76ba4119913cba7ec3be94740276a483125b060dfa9d217561f7a2c0cf6dc3861323399f6179f7fbeba SHA512 3b0319fe17caeaed582cff1845fbaa7d7bdbeb19da0dbf9997859766c42927c28b5b4d905b6e4f4c4ff2ab854d60ab48b89b2496d9288f0c3ac0db782217c68d
|
||||
DIST eduvpn-common-4.0.0.tar.xz 1044748 BLAKE2B 16486a0e030ebf75a3339f1711716dcc543603648ae0d174113ad64dfa61de45afd233c5cad124cf87e61f04fc50f631e70668702464834ac186a808400390b4 SHA512 f415077fd8404c74a3bb67d57445506cfcb5417e5986b2feb3f9a54a792da639d95c48b85d9bde653e822c2e2842329224b08ad79ad45f76d8f96d4fff056300
|
||||
DIST eduvpn-common-4.0.0.tar.xz.asc 228 BLAKE2B 8a67efb18d07ad2b8dad5d2cdac3adbfc18cbab22aceba41e5bc95428103ef03006bb19de0842aa6c9895939bae58f4c99a1119a32ad16b424ac68278e674167 SHA512 c50c7ba4e5ca05365446fe0dc33ba14db283d52a3f7d61fa176e0aac8e54fae438c2c336bb16bf8f126156f362d6685b892544d51537b7e580d2072ff33fd4ac
|
||||
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
inherit distutils-r1 go-module linux-info
|
||||
|
||||
DESCRIPTION="Linux client and Python client API for eduVPN"
|
||||
HOMEPAGE="https://www.eduvpn.org/"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/eduvpn/eduvpn-common.git"
|
||||
else
|
||||
# Development Versions use a different release signing key
|
||||
if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc
|
||||
fi
|
||||
inherit verify-sig
|
||||
SRC_URI="
|
||||
https://github.com/eduvpn/eduvpn-common/releases/download/${PV}/eduvpn-common-${PV}.tar.xz
|
||||
verify-sig? ( https://github.com/eduvpn/eduvpn-common/releases/download/${PV}/eduvpn-common-${PV}.tar.xz.asc )
|
||||
https://www-user.tu-chemnitz.de/~hamari/eduvpn/${P}-deps.tar.xz
|
||||
"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="openvpn"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
openvpn? ( net-vpn/openvpn )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]] ; then
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )"
|
||||
fi
|
||||
|
||||
wrap_python() {
|
||||
local phase=$1
|
||||
shift
|
||||
|
||||
pushd wrappers/python >/dev/null || die
|
||||
distutils-r1_${phase} "$@"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
CONFIG_CHECK="~WIREGUARD"
|
||||
WARNING_WIREGUARD="You must enable WIREGUARD to use wireguard."
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# go dependencies are not signed
|
||||
if use verify-sig; then
|
||||
pushd "${DISTDIR}" > /dev/null || die
|
||||
verify-sig_verify_detached \
|
||||
${P}.tar.xz{,.asc}
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
default_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
# Install shared library into the python directory so the python packaging
|
||||
# magic can find it.
|
||||
pushd wrappers/python >/dev/null || die
|
||||
emake install-lib
|
||||
popd >/dev/null || die
|
||||
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
@@ -1,92 +0,0 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
inherit distutils-r1 go-module linux-info
|
||||
|
||||
DESCRIPTION="Linux client and Python client API for eduVPN"
|
||||
HOMEPAGE="https://www.eduvpn.org/"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/eduvpn/eduvpn-common.git"
|
||||
else
|
||||
# Development Versions use a different release signing key
|
||||
if [[ $(ver_cut 2) == 99 || $(ver_cut 3) == 99 ]] ; then
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn-dev.asc
|
||||
else
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/eduvpn.asc
|
||||
fi
|
||||
inherit verify-sig
|
||||
SRC_URI="
|
||||
https://codeberg.org/eduVPN/eduvpn-common/releases/download/${PV}/${P}.tar.xz
|
||||
verify-sig? ( https://codeberg.org/eduVPN/eduvpn-common/releases/download/${PV}/${P}.tar.xz.asc )
|
||||
https://www-user.tu-chemnitz.de/~hamari/eduvpn/${P}-deps.tar.xz
|
||||
"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
IUSE="openvpn"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
openvpn? ( net-vpn/openvpn )
|
||||
"
|
||||
|
||||
if [[ ${PV} != *9999* ]] ; then
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-eduvpn-20240307 )"
|
||||
fi
|
||||
|
||||
wrap_python() {
|
||||
local phase=$1
|
||||
shift
|
||||
|
||||
pushd wrappers/python >/dev/null || die
|
||||
distutils-r1_${phase} "$@"
|
||||
popd >/dev/null || die
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
CONFIG_CHECK="~WIREGUARD"
|
||||
WARNING_WIREGUARD="You must enable WIREGUARD to use wireguard."
|
||||
check_extra_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# go dependencies are not signed
|
||||
if use verify-sig; then
|
||||
pushd "${DISTDIR}" > /dev/null || die
|
||||
verify-sig_verify_detached \
|
||||
${P}.tar.xz{,.asc}
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
default_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
# Install shared library into the python directory so the python packaging
|
||||
# magic can find it.
|
||||
pushd wrappers/python >/dev/null || die
|
||||
emake install-lib
|
||||
popd >/dev/null || die
|
||||
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
default
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
wrap_python ${FUNCNAME}
|
||||
}
|
||||
Reference in New Issue
Block a user