mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 07:27:38 -04:00
Changes: https://github.com/jcrist/msgspec/releases https://jcristharif.com/msgspec/changelog.html
31 lines
898 B
Makefile
31 lines
898 B
Makefile
PORTNAME= msgspec
|
|
PORTVERSION= 0.19.0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Fast serialization and validation library
|
|
WWW= https://jcristharif.com/msgspec/ \
|
|
https://github.com/jcrist/msgspec
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
USES= python:3.9+
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
OPTIONS_DEFINE= TOML YAML
|
|
OPTIONS_DEFAULT=TOML YAML
|
|
|
|
TOML_RUN_DEPENDS= ${PY_TOMLI} \
|
|
${PYTHON_PKGNAMEPREFIX}tomli-w>=0:textproc/py-tomli-w@${PY_FLAVOR}
|
|
YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=0:devel/py-pyyaml@${PY_FLAVOR}
|
|
|
|
post-install:
|
|
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
|
|
|
.include <bsd.port.mk>
|