mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 23:23:00 -04:00
dev-python/posthog: add 7.11.0
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST posthog-7.11.0.gh.tar.gz 3170764 BLAKE2B 3b79abba51984ec0559a997c4329849f6a1e4326957457519d59c0f5198196917f760ac3f9ee16dc290304a236049539228660373aa75721808ce4a76370d079 SHA512 f91a243167550f654dd0e779c1e6b59495ed4950cf4dd2f98612655a4f5c3cc5014779cf6a00171274534c40b93afeedff31b074a389b405e8c9121a91166fd4
|
||||
DIST posthog-7.9.12.gh.tar.gz 630316 BLAKE2B 0f2b0f638bf21e2c1cbf9b1a5603ed6bece2fd882ec0cd434f37d1fb2a257a5e6ab4387398511a2e681c911a899f8e720e7343dc2ceb820528dedd7a4e2f2240 SHA512 93361e8a869ff82a99ceea1ab0ac25c2257195d652f5f489a06cf81e1bfc329ba00906a8aa991f1ec7ff6f43f7ab0341f4c7abb9935ce94d8eabf3764cd910be
|
||||
|
||||
55
dev-python/posthog/posthog-7.11.0.ebuild
Normal file
55
dev-python/posthog/posthog-7.11.0.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# 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_{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/v${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/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
|
||||
Reference in New Issue
Block a user