diff --git a/dev-python/posthog/Manifest b/dev-python/posthog/Manifest index 0616d2a431..05c6e7bf48 100644 --- a/dev-python/posthog/Manifest +++ b/dev-python/posthog/Manifest @@ -1,2 +1,3 @@ DIST posthog-7.12.0.gh.tar.gz 3449396 BLAKE2B f6b9734ef5ba4523d935b31188096bdf5c9d3f82ac4a0ce3fbafe36186b7e987accd504127ef90880ef02184cb5656be4fcea402dda71d79794944ed0722812e SHA512 cd1446e9338fd5c378f75e707bbf2c2af5655ec726ad215a1f36d430d459e11ff36c21ce7548872ff1d05258ab45c1e0ec424bc8436135f9657d94e0e5ca7cb4 DIST posthog-7.13.1.gh.tar.gz 3547020 BLAKE2B de3a78da110aa74f8915d2381dc60ce924a2c3e28f58a8ee01292d922855bfc893b713ced8f7aff1a8906aaf9258fa3fa0ef815a0edb038923d63344a2c6be3a SHA512 4ce348f7f1d1ccd2de099c9e8f44e7942733aa7ebd6a90edfc3b461c45e6541eef8123e8b3d8e738da774be2820a43d015726549df04d58fa31baf9acb933e5a +DIST posthog-7.14.0.gh.tar.gz 3564019 BLAKE2B 0686afb1f39286969b699b9fef9351c315f3b515bd28e55dba08a4ef38d8c04fe746ba483a0284efc1325122822b2a53e32918982065073c842acbce35af373f SHA512 9a87ebf19e5f7d33615b20554b56fc9cfaf9c228f5cc2745d5dc773e67870301ce8d8ea54f3fb8360088cc8beb07d0c3f0ee4555347cc9f897954d39648fadb4 diff --git a/dev-python/posthog/posthog-7.14.0.ebuild b/dev-python/posthog/posthog-7.14.0.ebuild new file mode 100644 index 0000000000..4465fb3940 --- /dev/null +++ b/dev-python/posthog/posthog-7.14.0.ebuild @@ -0,0 +1,57 @@ +# 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_PLUGINS=( pytest-asyncio ) +distutils_enable_tests pytest