aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2026-05-05 18:35:00 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2026-05-05 19:07:46 +0000
commit0cd6d869d3c827af8a5db50087a5336ee664ecb2 (patch)
treebd88c4f8295b24aa396079e4767d6c44948f1f58
parente0a6011739c19e56d8fa6cdf3f5aa6f7f465b971 (diff)
devel/py-fastlite: New port: Extra usability for SQLite
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-fastlite/Makefile24
-rw-r--r--devel/py-fastlite/distinfo3
-rw-r--r--devel/py-fastlite/files/patch-pyproject.toml10
-rw-r--r--devel/py-fastlite/pkg-descr3
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1c4411062a58..3de2169cfd3e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4965,6 +4965,7 @@
SUBDIR += py-fastf1
SUBDIR += py-fastimport
SUBDIR += py-fastjsonschema
+ SUBDIR += py-fastlite
SUBDIR += py-fastnumbers
SUBDIR += py-fastprogress
SUBDIR += py-fastuuid
diff --git a/devel/py-fastlite/Makefile b/devel/py-fastlite/Makefile
new file mode 100644
index 000000000000..72d04e660f0d
--- /dev/null
+++ b/devel/py-fastlite/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= fastlite
+DISTVERSION= 0.2.4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Extra usability for SQLite
+WWW= https://github.com/AnswerDotAI/fastlite
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}apswutils>=0.1.2:databases/py-apswutils@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}fastcore>=1.7.1:devel/py-fastcore@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-fastlite/distinfo b/devel/py-fastlite/distinfo
new file mode 100644
index 000000000000..889777fb2450
--- /dev/null
+++ b/devel/py-fastlite/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1768200772
+SHA256 (fastlite-0.2.4.tar.gz) = f1ac4329fe18c7bf027a09d05e856215ae9c2fc8e1c0044e110f9a8a36ea1995
+SIZE (fastlite-0.2.4.tar.gz) = 22554
diff --git a/devel/py-fastlite/files/patch-pyproject.toml b/devel/py-fastlite/files/patch-pyproject.toml
new file mode 100644
index 000000000000..cc0d6d2d3561
--- /dev/null
+++ b/devel/py-fastlite/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+-- Remove version constraint on setuptools to be compatible with the port.
+--- pyproject.toml.orig 2025-12-20 19:58:30 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=64.0"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+
+ [project]
diff --git a/devel/py-fastlite/pkg-descr b/devel/py-fastlite/pkg-descr
new file mode 100644
index 000000000000..28fc171abe75
--- /dev/null
+++ b/devel/py-fastlite/pkg-descr
@@ -0,0 +1,3 @@
+fastlite is a lightweight Python library that provides extra usability for
+SQLite databases, building on APSW (Another Python SQLite Wrapper) and
+designed to work with the fastai ecosystem.