Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2024 00:29:02 GMT
From:      Dave Cottlehuber <dch@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5221b16e2cf0 - main - misc/py-mixpanel: new port - python API for mixpanel analytics
Message-ID:  <202411110029.4AB0T2m4067300@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5221b16e2cf03fd4f90e86e5ae20be2369e3db95

commit 5221b16e2cf03fd4f90e86e5ae20be2369e3db95
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2024-11-11 00:28:36 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2024-11-11 00:28:36 +0000

    misc/py-mixpanel: new port - python API for mixpanel analytics
    
    Sponsored by:   SkunkWerks, GmbH
---
 misc/Makefile              |  1 +
 misc/py-mixpanel/Makefile  | 33 +++++++++++++++++++++++++++++++++
 misc/py-mixpanel/distinfo  |  3 +++
 misc/py-mixpanel/pkg-descr |  6 ++++++
 4 files changed, 43 insertions(+)

diff --git a/misc/Makefile b/misc/Makefile
index 70f86c49c075..7664712fc657 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -458,6 +458,7 @@
     SUBDIR += py-llm-claude-3
     SUBDIR += py-log_symbols
     SUBDIR += py-mffpy
+    SUBDIR += py-mixpanel
     SUBDIR += py-mmcv
     SUBDIR += py-mmdet
     SUBDIR += py-mmengine
diff --git a/misc/py-mixpanel/Makefile b/misc/py-mixpanel/Makefile
new file mode 100644
index 000000000000..24eee491d17f
--- /dev/null
+++ b/misc/py-mixpanel/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	mixpanel
+DISTVERSION=	4.10.1
+CATEGORIES=	misc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	mixpanel-${PORTVERSION}
+
+MAINTAINER=	dch@FreeBSD.org
+COMMENT=	Python client library for Mixpanel Analytics API
+WWW=		https://mixpanel.com/help/reference/python \
+		https://github.com/mixpanel/mixpanel-python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=63:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.44:devel/py-wheel@${PY_FLAVOR}
+
+USES=		python:3.10+ shebangfix
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+PORTDOCS=	README.rst
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} \
+		${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/py-mixpanel/distinfo b/misc/py-mixpanel/distinfo
new file mode 100644
index 000000000000..a9d83ac26717
--- /dev/null
+++ b/misc/py-mixpanel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730716232
+SHA256 (mixpanel-4.10.1.tar.gz) = 29a6b5773dd34f05cf8e249f4e1d16e7b6280d6b58894551ce9a5aad7700a115
+SIZE (mixpanel-4.10.1.tar.gz) = 9831
diff --git a/misc/py-mixpanel/pkg-descr b/misc/py-mixpanel/pkg-descr
new file mode 100644
index 000000000000..2d2282f89530
--- /dev/null
+++ b/misc/py-mixpanel/pkg-descr
@@ -0,0 +1,6 @@
+The Mixpanel Python library is designed to be used for scripting, or in
+circumstances when a user isn’t directly interacting with your application
+on the web or a mobile device.
+
+The Full API Reference, Library Source Code, and an Example Script is
+documented in the GitHub repo.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411110029.4AB0T2m4067300>