mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
a26b4adb46
add project.version to pyproject.toml for ports which don't have it; it's required for maturin 1.8.0.
31 lines
512 B
Makefile
31 lines
512 B
Makefile
COMMENT = fast, correct Python JSON library
|
|
|
|
MODPY_DISTV = 3.10.7
|
|
REVISION = 2
|
|
DISTNAME = orjson-${MODPY_DISTV}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = textproc
|
|
|
|
HOMEPAGE = https://github.com/ijl/orjson
|
|
|
|
# Apache-2.0, MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MAINTAINER = Aisha Tammy <aisha@openbsd.org>
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = maturin
|
|
|
|
TEST_DEPENDS = devel/py-tz \
|
|
math/py-numpy
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/pyproject.toml
|
|
|
|
.include "crates.inc"
|
|
|
|
.include <bsd.port.mk>
|