devel/py-hatch-mypyc: Add py-hatch-mypyc 0.16.0

hatch-mypyc provides a build hook plugin for Hatch that compiles code with
Mypyc.
This commit is contained in:
Po-Chuan Hsieh 2024-02-21 22:12:48 +08:00
parent ed17a9032d
commit 8eb920e429
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 32 additions and 0 deletions

View file

@ -4802,6 +4802,7 @@
SUBDIR += py-hatch-autorun
SUBDIR += py-hatch-fancy-pypi-readme
SUBDIR += py-hatch-jupyter-builder
SUBDIR += py-hatch-mypyc
SUBDIR += py-hatch-nodejs-version
SUBDIR += py-hatch-requirements-txt
SUBDIR += py-hatch-semver

View file

@ -0,0 +1,26 @@
PORTNAME= hatch-mypyc
PORTVERSION= 0.16.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= hatch_mypyc-${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Hatch build hook plugin for Mypyc
WWW= https://github.com/ofek/hatch-mypyc
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.12.2:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.12.2:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mypy>=0.971:devel/py-mypy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pathspec>=0:devel/py-pathspec@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1708448820
SHA256 (hatch_mypyc-0.16.0.tar.gz) = 6e3aa99634d81142cab993358698eaae823de91fe87ee85029a82f2e737c3ded
SIZE (hatch_mypyc-0.16.0.tar.gz) = 12851

View file

@ -0,0 +1,2 @@
hatch-mypyc provides a build hook plugin for Hatch that compiles code with
Mypyc.