diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-05-05 18:31:14 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-05-05 19:07:46 +0000 |
| commit | cf5795daf8652bf3db8f1dc9315696f4202270b0 (patch) | |
| tree | 4dd47281f29c9bfc4acc30de23a1122a62857415 | |
| parent | 1d5144ede143e49e942313547d5b7c205dad44f4 (diff) | |
devel/py-fastcore: New port: Python supercharged for fastai development
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/py-fastcore/Makefile | 23 | ||||
| -rw-r--r-- | devel/py-fastcore/distinfo | 3 | ||||
| -rw-r--r-- | devel/py-fastcore/files/patch-pyproject.toml | 10 | ||||
| -rw-r--r-- | devel/py-fastcore/pkg-descr | 3 |
5 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0dcc30857eda..1c4411062a58 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4959,6 +4959,7 @@ SUBDIR += py-fam SUBDIR += py-fastbencode SUBDIR += py-fastcache + SUBDIR += py-fastcore SUBDIR += py-fasteners SUBDIR += py-fastentrypoints SUBDIR += py-fastf1 diff --git a/devel/py-fastcore/Makefile b/devel/py-fastcore/Makefile new file mode 100644 index 000000000000..5aa77d168383 --- /dev/null +++ b/devel/py-fastcore/Makefile @@ -0,0 +1,23 @@ +PORTNAME= fastcore +DISTVERSION= 1.12.44 +CATEGORIES= devel python # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python supercharged for fastai development +WWW= https://fastcore.fast.ai/ \ + https://github.com/AnswerDotAI/fastcore/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python +USE_PYTHON= pep517 autoplist + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-fastcore/distinfo b/devel/py-fastcore/distinfo new file mode 100644 index 000000000000..a228a6e3a868 --- /dev/null +++ b/devel/py-fastcore/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1777667602 +SHA256 (fastcore-1.12.44.tar.gz) = d58c3ba39e3470539c8ed2f4f81015064bd42ac8eea8df248bf6369d9bc5fb00 +SIZE (fastcore-1.12.44.tar.gz) = 100020 diff --git a/devel/py-fastcore/files/patch-pyproject.toml b/devel/py-fastcore/files/patch-pyproject.toml new file mode 100644 index 000000000000..0a281c724749 --- /dev/null +++ b/devel/py-fastcore/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +-- Remove version constraint on setuptools to be compatible with the port. +--- pyproject.toml.orig 2026-05-01 13:31:12 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64"] ++requires = ["setuptools"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/devel/py-fastcore/pkg-descr b/devel/py-fastcore/pkg-descr new file mode 100644 index 000000000000..74ca236ab83e --- /dev/null +++ b/devel/py-fastcore/pkg-descr @@ -0,0 +1,3 @@ +fastcore is a Python library extending the standard library and providing +utilities used by the fastai ecosystem, including typed dispatch, testing +helpers, documentation tools, and more. |
