git: 079a9de85921 - main - devel/py-scikit-base: Add py-scikit-base 0.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 09 Jul 2023 10:33:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=079a9de859216383231de486fe8005a45d6b7b9b

commit 079a9de859216383231de486fe8005a45d6b7b9b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-07-09 10:10:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-07-09 10:10:29 +0000

    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.
---
 devel/Makefile                 |  1 +
 devel/py-scikit-base/Makefile  | 30 ++++++++++++++++++++++++++++++
 devel/py-scikit-base/distinfo  |  3 +++
 devel/py-scikit-base/pkg-descr |  3 +++
 4 files changed, 37 insertions(+)

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.