mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-12-02 22:27:36 -05:00
dev-python/proton-vpn-api-core: add 5.8.11
Bug: https://bugs.gentoo.org/980945 Signed-off-by: Filip Kobierski <fkobi@pm.me>
This commit is contained in:
2 files changed
+53
No files matched your search
@@ -1,3 +1,4 @@
|
||||
DIST proton-vpn-api-core-0.46.1-remove-anonymous-bug-report.patch 29567 BLAKE2B 660c30d219d41dd6b3259186015b312126adf48e83e0f15d6431b2dd08ae784ee6194bfaad98d64990230ed52e55460b58aa4d73c897c5fccd9ce90a3616e560 SHA512 83a0f35befaa26a0c5664cab3772e90ec873a304a49275ebda9c73488a888b98d9b47c6026c384e4cd54faa705bb7b7a4353809b836da86141ef0bfd18d448cf
|
||||
DIST proton-vpn-api-core-0.46.1.tar.gz 118320 BLAKE2B 89500b4ae26f3f521573189c1b938b5353a087e7e265ba7bc6b9828856de581fee64f67007979af3cc1f30c9d2e202fd40e43a9ca8fcf90be6842072a06c6435 SHA512 7279ad3cc0fe28b456e91c0081b7f6f5d512598405d60821e844cfffcec07f3383768370b5192b99e7347e83a80d73572a4b4a4859accd8dc4a63e7c788136ea
|
||||
DIST proton-vpn-api-core-4.19.1.tar.gz 165858 BLAKE2B d573e34b8c09340a98875b18fea5407dd50330fb9f5fbd312f9587c67ff97365efe38416b4b3da3b8ef1f7f62ebbb4aa0dc4e8e05c31b6572259fabeb5f03a6c SHA512 2e7299ed8f3d142ad7a4cc362ba5d86d5e3db3ae226f37c1ca0bd1901d162fce6fb06f2c73ad4ea38137c595d47ecd6369304666b017697ca651089050ce1dcb
|
||||
DIST proton-vpn-api-core-5.8.11.tar.gz 331394 BLAKE2B 7a7da7901d8936a6dc1326d74cb7e7a8fe0811696cae86fd5166d7c814311f7b00c01957250a2e8b14fd053e0f4d972c4c1f18468841bbbf47772c61d45e3011 SHA512 827a0a47402a2741e922c4ae7a291a999325e141df9c7d22eb45bc36590809647422c66ed8b0fd9d20188f6665f072b4b528430180f67b30aca6053e2334dec2
|
||||
@@ -0,0 +1,52 @@
|
||||
# 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_{13,14} )
|
||||
|
||||
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-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/pynacl[${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() {
|
||||
# VPN connection cannot be tested within sandbox
|
||||
local EPYTEST_IGNORE=(
|
||||
tests/connection
|
||||
tests/core/refresher
|
||||
tests/core/test_{connection,settings}.py
|
||||
)
|
||||
|
||||
XDG_RUNTIME_DIR="${T}/python_test" epytest
|
||||
}
|
||||
Reference in new issue
Block a user