mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
dev-python/proton-vpn-api-core: new package, add 0.42.4
Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
This commit is contained in:
1
dev-python/proton-vpn-api-core/Manifest
Normal file
1
dev-python/proton-vpn-api-core/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST proton-vpn-api-core-0.42.4.tar.gz 107830 BLAKE2B 6db40531de7c7128f9f7b9de3e405b18adcf68dbae604ad86df336c43eaf204842f64c7d0b2adecd4b0ee8b1aadac49125544d6f7413cd28b6a5631944f266ed SHA512 06106116e1c114d1a7115fcb3246fdb13eb545ec938224d6fb3f268300589ce324116590ee63237078898e1b5a34b5038512586dd040f38ea7c38f3ff13db423
|
||||
21
dev-python/proton-vpn-api-core/metadata.xml
Normal file
21
dev-python/proton-vpn-api-core/metadata.xml
Normal file
@@ -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>
|
||||
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user