aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:10:29 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-07-09 10:10:29 +0000
commit079a9de859216383231de486fe8005a45d6b7b9b (patch)
tree911062ae727b50edbf28f64feab0ee09cea4d365
parente8cdd73a4c868d7eeb5be97f84b793fbcc2d1198 (diff)
devel/py-scikit-base: Add py-scikit-base 0.5.0
skbase provides base classes for creating scikit-learn-like parametric objects, along with tools to make it easier to build your own packages that follow these design patterns.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-scikit-base/Makefile30
-rw-r--r--devel/py-scikit-base/distinfo3
-rw-r--r--devel/py-scikit-base/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 7911cf1ea290..1bb413719ee7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5512,6 +5512,7 @@
SUBDIR += py-scheduler
SUBDIR += py-schema
SUBDIR += py-schematics-patched
+ SUBDIR += py-scikit-base
SUBDIR += py-scikit-build
SUBDIR += py-scikit-build-core
SUBDIR += py-scooby
diff --git a/devel/py-scikit-base/Makefile b/devel/py-scikit-base/Makefile
new file mode 100644
index 000000000000..607782764c51
--- /dev/null
+++ b/devel/py-scikit-base/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= scikit-base
+PORTVERSION= 0.5.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Base classes for sklearn-like parametric objects
+WWW= https://github.com/sktime/skbase
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}build>=0:devel/py-build@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= ALL
+ALL_DESC= All optional dependencies
+
+ALL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
+
+.include <bsd.port.mk>
diff --git a/devel/py-scikit-base/distinfo b/devel/py-scikit-base/distinfo
new file mode 100644
index 000000000000..423e96209e7d
--- /dev/null
+++ b/devel/py-scikit-base/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1688166024
+SHA256 (scikit-base-0.5.0.tar.gz) = 9092ff791492d2135ff7008b6900cfd7b202daa798624e284102669aed4118a7
+SIZE (scikit-base-0.5.0.tar.gz) = 99182
diff --git a/devel/py-scikit-base/pkg-descr b/devel/py-scikit-base/pkg-descr
new file mode 100644
index 000000000000..18770a8e0f7b
--- /dev/null
+++ b/devel/py-scikit-base/pkg-descr
@@ -0,0 +1,3 @@
+skbase provides base classes for creating scikit-learn-like parametric objects,
+along with tools to make it easier to build your own packages that follow these
+design patterns.