Files
ports/misc/py-posthog/Makefile
T
Atanu Biswas c440909cbd misc/py-posthog: Update 4.0.1 => 7.14.1, take maintainership
Changelog:
https://github.com/PostHog/posthog-python/blob/7.14.1/CHANGELOG.md

Improve port:
- Remove unnecessary DISTNAME because it's default value.
- Make a slight update to the Comment.
- Add additional WWW.
- Remove shebangfix because this port doesn't seem to install any
  executable scripts.
- Update post-install-DOCS-on because it deals with no man pages.

PR:		295253
Sponsored by:	UNIS Labs
2026-05-13 10:32:04 +03:00

39 lines
1.2 KiB
Makefile

PORTNAME= posthog
DISTVERSION= 7.14.1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= atanubiswas484@gmail.com
COMMENT= Developer-friendly, self-hosted product analytics
WWW= https://github.com/posthog/posthog-python/ \
https://pypi.org/project/posthog/ \
https://posthog.com/docs/libraries/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
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
PORTDOCS= README.md
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>