git: ab1f0bb17cce - main - devel/py-pysimdjson: adding a Python bindings for the simdjson project

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sat, 19 Mar 2022 17:29:17 UTC
The branch main has been updated by thierry:

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

commit ab1f0bb17cceb8f08a9b000f0813771a07fbb717
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-03-19 16:19:14 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-03-19 17:28:05 +0000

    devel/py-pysimdjson: adding a Python bindings for the simdjson project
---
 devel/py-pysimdjson/Makefile  | 21 +++++++++++++++++++++
 devel/py-pysimdjson/distinfo  |  3 +++
 devel/py-pysimdjson/pkg-descr |  6 ++++++
 devel/py-pysimdjson/pkg-plist |  6 ++++++
 4 files changed, 36 insertions(+)

diff --git a/devel/py-pysimdjson/Makefile b/devel/py-pysimdjson/Makefile
new file mode 100644
index 000000000000..2be995e7463a
--- /dev/null
+++ b/devel/py-pysimdjson/Makefile
@@ -0,0 +1,21 @@
+# Created by: thierry@pompo.net
+
+PORTNAME=	pysimdjson
+PORTVERSION=	4.0.3
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Python bindings for the simdjson project
+
+LICENSE=	MIT
+
+USES=		python:3.7+
+USE_PYTHON=	cython distutils
+
+.if ! defined(WITH_DEBUG)
+LDFLAGS+=	-s
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-pysimdjson/distinfo b/devel/py-pysimdjson/distinfo
new file mode 100644
index 000000000000..24cfb31d42a9
--- /dev/null
+++ b/devel/py-pysimdjson/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1647704832
+SHA256 (pysimdjson-4.0.3.tar.gz) = 61900992d7f992b073a8c5f93cafa4af9bfd3209624baa775699b0fdd6f67517
+SIZE (pysimdjson-4.0.3.tar.gz) = 498417
diff --git a/devel/py-pysimdjson/pkg-descr b/devel/py-pysimdjson/pkg-descr
new file mode 100644
index 000000000000..e23f22ce0059
--- /dev/null
+++ b/devel/py-pysimdjson/pkg-descr
@@ -0,0 +1,6 @@
+Python bindings for the simdjson project, a SIMD-accelerated JSON parser. If
+SIMD instructions are unavailable a fallback parser is used, making pysimdjson
+safe to use anywhere.
+
+WWW: https://pysimdjson.tkte.ch/
+WWW: https://github.com/TkTech/pysimdjson
diff --git a/devel/py-pysimdjson/pkg-plist b/devel/py-pysimdjson/pkg-plist
new file mode 100644
index 000000000000..d1bcf3fc00b2
--- /dev/null
+++ b/devel/py-pysimdjson/pkg-plist
@@ -0,0 +1,6 @@
+%%PYTHON_SITELIBDIR%%/csimdjson%%PYTHON_EXT_SUFFIX%%.so
+%%PYTHON_SITELIBDIR%%/simdjson/__init__.py
+%%PYTHON_SITELIBDIR%%/simdjson/__init__.pyi
+%%PYTHON_SITELIBDIR%%/simdjson/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/simdjson/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/simdjson/py.typed