git: c6f3b6e936d2 - main - science/py-sklearn-pandas: Add py-sklearn-pandas 2.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 28 Jan 2022 23:27:46 UTC
The branch main has been updated by sunpoet:

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

commit c6f3b6e936d2e6d12a26d0bc70773b05ae22a4cf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-28 23:09:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-28 23:26:35 +0000

    science/py-sklearn-pandas: Add py-sklearn-pandas 2.2.0
    
    This module provides a bridge between Scikit-Learn's machine learning methods
    and pandas-style Data Frames. In particular, it provides a way to map DataFrame
    columns to transformations, which are later recombined into features.
    
    WWW: https://github.com/scikit-learn-contrib/sklearn-pandas
---
 science/Makefile                    |  1 +
 science/py-sklearn-pandas/Makefile  | 26 ++++++++++++++++++++++++++
 science/py-sklearn-pandas/distinfo  |  3 +++
 science/py-sklearn-pandas/pkg-descr |  5 +++++
 4 files changed, 35 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index a5cb7726def3..ca86bf1d234c 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -331,6 +331,7 @@
     SUBDIR += py-scoria
     SUBDIR += py-segregation
     SUBDIR += py-segyio
+    SUBDIR += py-sklearn-pandas
     SUBDIR += py-skrebate
     SUBDIR += py-spaghetti
     SUBDIR += py-spglib
diff --git a/science/py-sklearn-pandas/Makefile b/science/py-sklearn-pandas/Makefile
new file mode 100644
index 000000000000..0ef910ff4119
--- /dev/null
+++ b/science/py-sklearn-pandas/Makefile
@@ -0,0 +1,26 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	sklearn-pandas
+PORTVERSION=	2.2.0
+CATEGORIES=	science python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Pandas integration with sklearn
+
+LICENSE=	BSD2CLAUSE ZLIB
+LICENSE_COMB=	multi
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.18.1,1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=1.1.4,1:math/py-pandas@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.23.0:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.5.1:science/py-scipy@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-sklearn-pandas/distinfo b/science/py-sklearn-pandas/distinfo
new file mode 100644
index 000000000000..c476ffbffe3a
--- /dev/null
+++ b/science/py-sklearn-pandas/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1643382488
+SHA256 (sklearn-pandas-2.2.0.tar.gz) = bf908ea0e384e132da04355c7db67bd4f8efe145f0c9cd9f14726ce899d27542
+SIZE (sklearn-pandas-2.2.0.tar.gz) = 17358
diff --git a/science/py-sklearn-pandas/pkg-descr b/science/py-sklearn-pandas/pkg-descr
new file mode 100644
index 000000000000..ee430561a9c8
--- /dev/null
+++ b/science/py-sklearn-pandas/pkg-descr
@@ -0,0 +1,5 @@
+This module provides a bridge between Scikit-Learn's machine learning methods
+and pandas-style Data Frames. In particular, it provides a way to map DataFrame
+columns to transformations, which are later recombined into features.
+
+WWW: https://github.com/scikit-learn-contrib/sklearn-pandas