Skip to content

Commit

Permalink
devel/py-pysimdjson: adding a Python bindings for the simdjson project
Browse files Browse the repository at this point in the history
  • Loading branch information
thierry-FreeBSD committed Mar 19, 2022
1 parent 6b7629f commit ab1f0bb
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 0 deletions.
21 changes: 21 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
6 changes: 6 additions & 0 deletions 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
6 changes: 6 additions & 0 deletions 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

0 comments on commit ab1f0bb

Please sign in to comment.