dev-python/posthog: add 7.16.2

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev
2026-05-30 22:49:03 +03:00
parent 6b90b2f775
commit 30dd875623
2 changed files with 60 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST posthog-7.14.2.gh.tar.gz 3586884 BLAKE2B 76cabf19025bffb5ba4846856ab5a7912767422958fb0fa0ba37ed2faef8aaff1dd5717e1584ac3348781e2f4ee97dead8ba23810934c9f50f636e97b3babb53 SHA512 d4c7a6d1222bdb9d593d245553d0d411689b52084350d3040c8178a5a8a56b2db1a5e212faf3f8b5c1ccd4e0a973c428a974abb673783d7b53c50197f07ba101
DIST posthog-7.15.3.gh.tar.gz 3632571 BLAKE2B e8b722ce05e6c728c612749c2dd97502762cace492100a434c99ccf24b5da784337f8baaf426056f13a3b2d853b1bca3813b42b5c86b7383e617a3955e5a25b6 SHA512 a41406bcd2f447662866dcfcc520fefd39a492766c1912d907b52742e35f2001521614080b89ec31b65df1646676e6557b9c8a7569a9539616bddb1d6a972901
DIST posthog-7.16.2.gh.tar.gz 3699657 BLAKE2B 687325405dcb33b2aa2569f6b018183b791fdbba19bd1a9a25aadec51d3e3f18adf0b7a6078a1fe51b522ef9e9a2fde70d77b2246fdc5b000d12a841e88852ec SHA512 d49c373964688201e8ed156e8006b65ea3993e9e581eda467b6bdb2a76c6c16dac90034d663dba105ac3e5eb404fad8a9566296f3433a3b7dd2a071d157ae6aa

View File

@@ -0,0 +1,59 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="Send usage data from your Python code to PostHog"
HOMEPAGE="
https://github.com/PostHog/posthog-python
https://pypi.org/project/posthog/
"
SRC_URI="https://github.com/PostHog/posthog-python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/posthog-python-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/backoff[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
${RDEPEND}
dev-python/django[${PYTHON_USEDEP}]
dev-python/freezegun[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/opentelemetry-exporter-otlp-proto-http[${PYTHON_USEDEP}]
dev-python/opentelemetry-sdk[${PYTHON_USEDEP}]
dev-python/parameterized[${PYTHON_USEDEP}]
dev-python/pydantic[${PYTHON_USEDEP}]
)
"
EPYTEST_DESELECT=(
"posthog/test/test_consumer.py::TestConsumer::test_request"
"posthog/test/test_consumer.py::TestConsumer::test_upload"
"posthog/test/test_exception_capture.py::test_excepthook"
"posthog/test/test_feature_flags.py::TestLocalEvaluation::test_load_feature_flags_wrong_key"
"posthog/test/test_request.py::TestRequests::test_should_not_timeout"
"posthog/test/test_request.py::TestRequests::test_should_timeout"
"posthog/test/test_request.py::TestRequests::test_valid_request"
)
EPYTEST_IGNORE=( posthog/test/ai/ )
EPYTEST_PLUGINS=( pytest-asyncio pytest-bdd )
distutils_enable_tests pytest