1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

misc/py-posthog: new port - self-hosted analytics

Sponsored by:	SkunkWerks, GmbH
This commit is contained in:
Dave Cottlehuber 2024-11-11 00:28:36 +00:00
parent c19e963e81
commit 83f0b12489
4 changed files with 42 additions and 0 deletions

View File

@ -488,6 +488,7 @@
SUBDIR += py-pkbar
SUBDIR += py-placekey
SUBDIR += py-polars
SUBDIR += py-posthog
SUBDIR += py-powerline-status
SUBDIR += py-progressbar
SUBDIR += py-progressbar2

37
misc/py-posthog/Makefile Normal file
View File

@ -0,0 +1,37 @@
PORTNAME= posthog
DISTVERSION= 3.7.0
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= posthog-${PORTVERSION}
MAINTAINER= dch@FreeBSD.org
COMMENT= developer-friendly, self-hosted product analytics
WWW= https://github.com/posthog/posthog-python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.44:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backoff>=1.10.0:devel/py-backoff@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}monotonic>=1.5:devel/py-monotonic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>2.1:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.22.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.5:devel/py-six@${PY_FLAVOR}
USES= python:3.10+ shebangfix
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
misc/py-posthog/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1730716872
SHA256 (posthog-3.7.0.tar.gz) = b095d4354ba23f8b346ab5daed8ecfc5108772f922006982dfe8b2d29ebc6e0e
SIZE (posthog-3.7.0.tar.gz) = 49661

View File

@ -0,0 +1 @@
PostHog is developer-friendly, self-hosted product analytics.