* [gentoo-commits] repo/proj/guru:master commit in: dev-python/proton-vpn-api-core/
@ 2025-04-25 15:24 David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2025-04-25 15:24 UTC (permalink / raw
To: gentoo-commits
commit: 70c161a1653f42e1d3e0e2e70689b1ebe78190f2
Author: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Fri Apr 25 09:31:27 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Apr 25 09:33:40 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70c161a1
dev-python/proton-vpn-api-core: new package, add 0.42.4
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
dev-python/proton-vpn-api-core/Manifest | 1 +
dev-python/proton-vpn-api-core/metadata.xml | 21 +++++++++++
.../proton-vpn-api-core-0.42.4.ebuild | 42 ++++++++++++++++++++++
3 files changed, 64 insertions(+)
diff --git a/dev-python/proton-vpn-api-core/Manifest b/dev-python/proton-vpn-api-core/Manifest
new file mode 100644
index 000000000..c168f2f14
--- /dev/null
+++ b/dev-python/proton-vpn-api-core/Manifest
@@ -0,0 +1 @@
+DIST proton-vpn-api-core-0.42.4.tar.gz 107830 BLAKE2B 6db40531de7c7128f9f7b9de3e405b18adcf68dbae604ad86df336c43eaf204842f64c7d0b2adecd4b0ee8b1aadac49125544d6f7413cd28b6a5631944f266ed SHA512 06106116e1c114d1a7115fcb3246fdb13eb545ec938224d6fb3f268300589ce324116590ee63237078898e1b5a34b5038512586dd040f38ea7c38f3ff13db423
diff --git a/dev-python/proton-vpn-api-core/metadata.xml b/dev-python/proton-vpn-api-core/metadata.xml
new file mode 100644
index 000000000..c768f9409
--- /dev/null
+++ b/dev-python/proton-vpn-api-core/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="person">
+ <email>beatussum@protonmail.com</email>
+ <name>Mattéo Rossillol‑‑Laruelle</name>
+ </maintainer>
+
+ <stabilize-allarches/>
+
+ <upstream>
+ <maintainer status="active">
+ <name>Proton AG</name>
+ <email>opensource@proton.me</email>
+ </maintainer>
+
+ <bugs-to>https://github.com/ProtonVPN/python-proton-vpn-api-core/issues</bugs-to>
+ <remote-id type="github">ProtonVPN/python-proton-vpn-api-core</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild b/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild
new file mode 100644
index 000000000..4a4b83c54
--- /dev/null
+++ b/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Proton AG VPN Core API"
+HOMEPAGE="https://github.com/ProtonVPN/python-proton-vpn-api-core"
+SRC_URI="https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/python-${P}"
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? ( dev-python/pytest-asyncio[${PYTHON_USEDEP}] )"
+
+RDEPEND="
+ dev-python/cryptography[${PYTHON_USEDEP}]
+ dev-python/distro[${PYTHON_USEDEP}]
+ dev-python/proton-core[${PYTHON_USEDEP}]
+ dev-python/pynacl[${PYTHON_USEDEP}]
+ dev-python/sentry-sdk[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ sed -i "/--cov/d" setup.cfg || die
+}
+
+python_test() {
+ XDG_RUNTIME_DIR="${T}/python_test" epytest
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-python/proton-vpn-api-core/
@ 2025-06-17 12:35 David Roman
0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2025-06-17 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 5f3a0d7e5685d9c47ba8f1a13f370994434dd273
Author: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail <DOT> com>
AuthorDate: Tue Jun 17 08:32:56 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jun 17 09:34:50 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f3a0d7e
dev-python/proton-vpn-api-core: remove anonymous bug report
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum <AT> protonmail.com>
dev-python/proton-vpn-api-core/Manifest | 1 +
...re-0.42.4.ebuild => proton-vpn-api-core-0.42.4-r1.ebuild} | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/dev-python/proton-vpn-api-core/Manifest b/dev-python/proton-vpn-api-core/Manifest
index c168f2f145..c0d5ac2dc7 100644
--- a/dev-python/proton-vpn-api-core/Manifest
+++ b/dev-python/proton-vpn-api-core/Manifest
@@ -1 +1,2 @@
+DIST proton-vpn-api-core-0.42.4-remove-anonymous-bug-report.patch 26623 BLAKE2B a85b772a159ddf2f06a8d1c8d0cfba087c19ce65ad336800ec1deb1f0677084e8146fc27f2709920247accc8282ca1105488dbbd883d03d2f4896a20e6253846 SHA512 030378fa1a1a5ec30cd70045354a3a1ba73b06c99f3a68c2b94de5c30a9452e23a865fdafea42006f5c43ffd4de74b9634a855894bde9969229aa4bf0c7cca3c
DIST proton-vpn-api-core-0.42.4.tar.gz 107830 BLAKE2B 6db40531de7c7128f9f7b9de3e405b18adcf68dbae604ad86df336c43eaf204842f64c7d0b2adecd4b0ee8b1aadac49125544d6f7413cd28b6a5631944f266ed SHA512 06106116e1c114d1a7115fcb3246fdb13eb545ec938224d6fb3f268300589ce324116590ee63237078898e1b5a34b5038512586dd040f38ea7c38f3ff13db423
diff --git a/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild b/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4-r1.ebuild
similarity index 74%
rename from dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild
rename to dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4-r1.ebuild
index 178f0431fd..975f9a093e 100644
--- a/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4.ebuild
+++ b/dev-python/proton-vpn-api-core/proton-vpn-api-core-0.42.4-r1.ebuild
@@ -10,7 +10,12 @@ inherit distutils-r1
DESCRIPTION="Proton AG VPN Core API"
HOMEPAGE="https://github.com/ProtonVPN/python-proton-vpn-api-core"
-SRC_URI="https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+SRC_URI="
+ https://github.com/ProtonVPN/python-proton-vpn-api-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/beatussum/gentoo-tarballs/releases/download/latest/${P}-remove-anonymous-bug-report.patch
+"
+
S="${WORKDIR}/python-${P}"
LICENSE="GPL-3+"
SLOT="0"
@@ -25,9 +30,10 @@ RDEPEND="
dev-python/distro[${PYTHON_USEDEP}]
dev-python/proton-core[${PYTHON_USEDEP}]
dev-python/pynacl[${PYTHON_USEDEP}]
- dev-python/sentry-sdk[${PYTHON_USEDEP}]
"
+PATCHES=( "${DISTDIR}/${P}-remove-anonymous-bug-report.patch" )
+
distutils_enable_sphinx docs
distutils_enable_tests pytest
@@ -42,7 +48,7 @@ python_test() {
local EPYTEST_IGNORE=(
tests/connection
tests/core/refresher
- tests/core/test_{connection,settings,usage}.py
+ tests/core/test_{connection,settings}.py
)
XDG_RUNTIME_DIR="${T}/python_test" epytest
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-06-17 12:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17 12:35 [gentoo-commits] repo/proj/guru:master commit in: dev-python/proton-vpn-api-core/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2025-04-25 15:24 David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox