git: 8eb920e429a0 - main - devel/py-hatch-mypyc: Add py-hatch-mypyc 0.16.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:17:06 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8eb920e429a0d5f88bcbce0e9d1007a00fdb3b2c
commit 8eb920e429a0d5f88bcbce0e9d1007a00fdb3b2c
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:12:48 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:05 +0000
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.
---
devel/Makefile | 1 +
devel/py-hatch-mypyc/Makefile | 26 ++++++++++++++++++++++++++
devel/py-hatch-mypyc/distinfo | 3 +++
devel/py-hatch-mypyc/pkg-descr | 2 ++
4 files changed, 32 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 539631acdd3a..9744db7ea3b3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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
diff --git a/devel/py-hatch-mypyc/Makefile b/devel/py-hatch-mypyc/Makefile
new file mode 100644
index 000000000000..0ac9900d5f4c
--- /dev/null
+++ b/devel/py-hatch-mypyc/Makefile
@@ -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>
diff --git a/devel/py-hatch-mypyc/distinfo b/devel/py-hatch-mypyc/distinfo
new file mode 100644
index 000000000000..98a3cb0e5276
--- /dev/null
+++ b/devel/py-hatch-mypyc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448820
+SHA256 (hatch_mypyc-0.16.0.tar.gz) = 6e3aa99634d81142cab993358698eaae823de91fe87ee85029a82f2e737c3ded
+SIZE (hatch_mypyc-0.16.0.tar.gz) = 12851
diff --git a/devel/py-hatch-mypyc/pkg-descr b/devel/py-hatch-mypyc/pkg-descr
new file mode 100644
index 000000000000..b29cea2e6219
--- /dev/null
+++ b/devel/py-hatch-mypyc/pkg-descr
@@ -0,0 +1,2 @@
+hatch-mypyc provides a build hook plugin for Hatch that compiles code with
+Mypyc.