From 88b584b4eda56a5ed28e72bda71ec52afcf95d79 Mon Sep 17 00:00:00 2001 From: fabolous005 Date: Thu, 13 Aug 2026 00:01:14 +0200 Subject: [PATCH] Postsync update gentoo --- dev-python/proton-core/Manifest | 1 + .../proton-core/proton-core-0.7.0.ebuild | 58 +++++++++++++++++++ .../md5-cache/dev-python/proton-core-0.7.0 | 16 +++++ 3 files changed, 75 insertions(+) create mode 100644 dev-python/proton-core/Manifest create mode 100644 dev-python/proton-core/proton-core-0.7.0.ebuild create mode 100644 metadata/md5-cache/dev-python/proton-core-0.7.0 diff --git a/dev-python/proton-core/Manifest b/dev-python/proton-core/Manifest new file mode 100644 index 0000000..39f63e9 --- /dev/null +++ b/dev-python/proton-core/Manifest @@ -0,0 +1 @@ +DIST proton-core-0.7.0.tar.gz 78329 BLAKE2B f2733bb3a9921721fbc93ef694d809f65db7b104b0a1301c25046fd0a8d816202da1b7b6da73fe2320b533075d9d4114673b22c7a765502c11cd0943818a4565 SHA512 47d47d702c493a2eefbcd0a544d3b877ac16176a66bd5a24fa558cc02287807a6a5c44a8ef23830d3c81a0f52e7109fba5984cd736b754735bf3a23ccb9a2822 diff --git a/dev-python/proton-core/proton-core-0.7.0.ebuild b/dev-python/proton-core/proton-core-0.7.0.ebuild new file mode 100644 index 0000000..0429627 --- /dev/null +++ b/dev-python/proton-core/proton-core-0.7.0.ebuild @@ -0,0 +1,58 @@ +# 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..14} ) + +inherit distutils-r1 + +DESCRIPTION="Proton Technologies API wrapper" +HOMEPAGE="https://github.com/ProtonVPN/python-proton-core/" +SRC_URI="https://github.com/ProtonVPN/python-proton-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/pyotp[${PYTHON_USEDEP}] )" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/bcrypt[${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + dev-python/python-gnupg[${PYTHON_USEDEP}] + dev-python/requests[${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() { + # The following tests need network + + EPYTEST_DESELECT=( + "tests/test_alternativerouting.py::TestAlternativeRouting::test_alternative_routing_works_on_prod" + "tests/test_autotransport.py::TestAuto::test_auto_works_on_prod" + "tests/test_protonsso.py::TestProtonSSO::test_broken_data" + "tests/test_protonsso.py::TestProtonSSO::test_broken_index" + "tests/test_protonsso.py::TestProtonSSO::test_sessions" + "tests/test_session.py::TestSession::test_ping" + "tests/test_session.py::TestSession::test_raw_ping" + "tests/test_tlsverification.py::TestTLSValidation::test_bad_pinning_fingerprint_changed" + "tests/test_tlsverification.py::TestTLSValidation::test_bad_pinning_url_changed" + "tests/test_tlsverification.py::TestTLSValidation::test_successful" + "tests/test_tlsverification.py::TestTLSValidation::test_without_pinning" + ) + + XDG_RUNTIME_DIR="${T}/python_test" epytest +} diff --git a/metadata/md5-cache/dev-python/proton-core-0.7.0 b/metadata/md5-cache/dev-python/proton-core-0.7.0 new file mode 100644 index 0000000..64cf62d --- /dev/null +++ b/metadata/md5-cache/dev-python/proton-core-0.7.0 @@ -0,0 +1,16 @@ +BDEPEND=test? ( dev-python/pyotp[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] ) doc? ( || ( ( dev-lang/python:3.14 >=dev-python/sphinx-8.1.3[python_targets_python3_14(-)] ) ( dev-lang/python:3.13 >=dev-python/sphinx-8.1.3[python_targets_python3_13(-)] ) ( dev-lang/python:3.12 >=dev-python/sphinx-8.1.3[python_targets_python3_12(-)] ) ) ) test? ( dev-python/aiohttp[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/bcrypt[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/pyopenssl[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/python-gnupg[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/requests[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] >=dev-python/pytest-7.4.4[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] ) python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 ) python_targets_python3_14? ( dev-lang/python:3.14 ) >=dev-python/gpep517-16[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/setuptools[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] +DEFINED_PHASES=compile configure install prepare test +DESCRIPTION=Proton Technologies API wrapper +EAPI=8 +HOMEPAGE=https://github.com/ProtonVPN/python-proton-core/ +INHERIT=distutils-r1 +IUSE=test doc test python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 +KEYWORDS=~amd64 +LICENSE=GPL-3+ +RDEPEND=dev-python/aiohttp[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/bcrypt[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/pyopenssl[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/python-gnupg[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] dev-python/requests[python_targets_python3_12(-)?,python_targets_python3_13(-)?,python_targets_python3_14(-)?] python_targets_python3_12? ( dev-lang/python:3.12 ) python_targets_python3_13? ( dev-lang/python:3.13 ) python_targets_python3_14? ( dev-lang/python:3.14 ) +REQUIRED_USE=|| ( python_targets_python3_12 python_targets_python3_13 python_targets_python3_14 ) +RESTRICT=!test? ( test ) !test? ( test ) +SLOT=0 +SRC_URI=https://github.com/ProtonVPN/python-proton-core/archive/refs/tags/v0.7.0.tar.gz -> proton-core-0.7.0.tar.gz +_eclasses_=eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd toolchain-funcs 58a918e3a42d0156f010dcfd43725be5 flag-o-matic fd3558f73f6503093adee69adf41020d out-of-source-utils 8e5093bd27b7f541a1913271f25d633a multibuild 83db098a835f71feb71761f72a694aa2 multilib fc812e8eb2170022c28272d80a1f9e77 multiprocessing 45d0620f25c2f063ad6276ecd9ed9399 ninja-utils d063ea1900a793f93eb095010d6d9156 python-utils-r1 5fd9a75ca55021d3276ce969f8e28391 python-r1 5fdca77e34fc9af7d6eb47689f33f6bf distutils-r1 8b4cb6626db7331e3187d652f4bbf9d4 +_md5_=5f17e523b97649cfa3918949b42199a4