diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-27 07:14:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-04-27 07:14:03 +0000 |
| commit | bcf368d4f0cbe2993bc732ae8d4ee7675fe7e9ff (patch) | |
| tree | 6fcec8b996609a24bedcc8bf3a6682973d2b46a4 /dev-python/posthog/posthog-7.13.1.ebuild | |
| parent | f64367a444c839875efd983c0f692a3cc5e3c75c (diff) | |
| download | baldeagleos-repo-bcf368d4f0cbe2993bc732ae8d4ee7675fe7e9ff.tar.gz baldeagleos-repo-bcf368d4f0cbe2993bc732ae8d4ee7675fe7e9ff.tar.xz baldeagleos-repo-bcf368d4f0cbe2993bc732ae8d4ee7675fe7e9ff.zip | |
Adding metadata
Diffstat (limited to 'dev-python/posthog/posthog-7.13.1.ebuild')
| -rw-r--r-- | dev-python/posthog/posthog-7.13.1.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/posthog/posthog-7.13.1.ebuild b/dev-python/posthog/posthog-7.13.1.ebuild new file mode 100644 index 000000000000..e353f41cbbb2 --- /dev/null +++ b/dev-python/posthog/posthog-7.13.1.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_{10..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 |
