From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-common/
Date: Fri, 28 Mar 2025 15:22:43 +0000 (UTC) [thread overview]
Message-ID: <1743175239.98b51a8307b6b19aca887ea48609754d9e2c5d37.sam@gentoo> (raw)
commit: 98b51a8307b6b19aca887ea48609754d9e2c5d37
Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de>
AuthorDate: Tue Mar 25 21:21:33 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 15:20:39 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98b51a83
net-vpn/eduvpn-common: add 3.0.0
Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/41290
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-vpn/eduvpn-common/Manifest | 3 +
net-vpn/eduvpn-common/eduvpn-common-3.0.0.ebuild | 92 ++++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/net-vpn/eduvpn-common/Manifest b/net-vpn/eduvpn-common/Manifest
index 2179a0dcf745..5b78f1d7b533 100644
--- a/net-vpn/eduvpn-common/Manifest
+++ b/net-vpn/eduvpn-common/Manifest
@@ -4,3 +4,6 @@ DIST eduvpn-common-2.1.0.tar.xz.asc 228 BLAKE2B b0bb3b74b19b9274b4bc08cfa108b693
DIST eduvpn-common-2.99.0-deps.tar.xz 24595948 BLAKE2B 0bc6eff73ecbd827c7855c29f94e8624095295e4178d5510f2510ee8c3d478eb4af8c3cdfec3318bc22fec9f2b3e24f4899795a78a832035a41ee99d9e3f794a SHA512 2f858978d2cf591125338617c39b81da7ab227af913e6c41725ef5b9746c9051006c4c1f3944032edffb499a92e0cfdd50bfa79d0139a759874e6775b4758bd9
DIST eduvpn-common-2.99.0.tar.xz 1940324 BLAKE2B 33062cebe8c2d5090c5685aa7ebab8aa9f7bbdda37d4ed423e4ae790eccc989d026b52c0c521f2f057fe647fb423aa585e08c4f40fdfa3ec40edfac607644635 SHA512 1cd2bdd34c3f822b00047d19957c41dd646ecf4c0164033e7d18e1a17b9505775510ac83f0f23c92a2064ae0a5b10d692b53836f434e1e76569a71d879d20408
DIST eduvpn-common-2.99.0.tar.xz.asc 228 BLAKE2B 2ac570fb365cbd004319101a13279f1a652a9e989a53952c60a5036ff5f45bc3e238d3c1865b950ecdd5921a40deb1e48602255028588d2f8ab81437960f508a SHA512 7616e164136448a3ce1e23f889ef44bf0913574ec38550860d0dca26039dec4e59151bbc827674c1571f6ce39f3cad18ea55c0365d8e8c33018ed93643ec8a0e
+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
diff --git a/net-vpn/eduvpn-common/eduvpn-common-3.0.0.ebuild b/net-vpn/eduvpn-common/eduvpn-common-3.0.0.ebuild
new file mode 100644
index 000000000000..5859f13c4510
--- /dev/null
+++ b/net-vpn/eduvpn-common/eduvpn-common-3.0.0.ebuild
@@ -0,0 +1,92 @@
+# 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}
+}
next reply other threads:[~2025-03-28 15:22 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-28 15:22 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-19 11:14 [gentoo-commits] repo/gentoo:master commit in: net-vpn/eduvpn-common/ Sam James
2025-02-19 11:14 Sam James
2024-09-09 18:02 Sam James
2024-09-09 18:02 Sam James
2024-08-04 12:53 Jakov Smolić
2024-08-04 8:49 Sam James
2024-07-04 1:15 Sam James
2024-07-04 1:15 Sam James
2024-07-04 1:15 Sam James
2024-07-04 1:15 Sam James
2024-05-19 13:58 Sam James
2024-05-19 13:58 Sam James
2024-04-19 10:07 Florian Schmaus
2024-04-19 10:07 Florian Schmaus
2024-02-26 16:43 Florian Schmaus
2024-02-26 16:43 Florian Schmaus
2023-11-23 10:09 Ulrich Müller
2023-11-23 10:09 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1743175239.98b51a8307b6b19aca887ea48609754d9e2c5d37.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox