git: 50c4139e1114 - main - graphics/py-qudida: New port: QUick and DIrty Domain Adaptation

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 26 Dec 2023 08:18:59 UTC
The branch main has been updated by yuri:

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

commit 50c4139e11141fbbd5ce2de4942532488f222673
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-26 07:01:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-26 08:18:55 +0000

    graphics/py-qudida: New port: QUick and DIrty Domain Adaptation
---
 graphics/Makefile            |  1 +
 graphics/py-qudida/Makefile  | 23 +++++++++++++++++++++++
 graphics/py-qudida/distinfo  |  3 +++
 graphics/py-qudida/pkg-descr |  3 +++
 4 files changed, 30 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 50f1c22899e1..ecaf6cb80fd6 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -954,6 +954,7 @@
     SUBDIR += py-qpageview
     SUBDIR += py-qrencode
     SUBDIR += py-qt6-3d
+    SUBDIR += py-qudida
     SUBDIR += py-railroad-diagrams
     SUBDIR += py-rasterio
     SUBDIR += py-rasterstats
diff --git a/graphics/py-qudida/Makefile b/graphics/py-qudida/Makefile
new file mode 100644
index 000000000000..9eddc5686a02
--- /dev/null
+++ b/graphics/py-qudida/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	qudida
+DISTVERSION=	0.0.4
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	QUick and DIrty Domain Adaptation
+WWW=		https://github.com/arsenyinfo/qudida
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYNUMPY} \
+		opencv>=4.0.1:graphics/opencv \
+		${PYTHON_PKGNAMEPREFIX}scikit-learn>=0.19.1:science/py-scikit-learn@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-qudida/distinfo b/graphics/py-qudida/distinfo
new file mode 100644
index 000000000000..dc277cee1d59
--- /dev/null
+++ b/graphics/py-qudida/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703558704
+SHA256 (qudida-0.0.4.tar.gz) = db198e2887ab0c9aa0023e565afbff41dfb76b361f85fd5e13f780d75ba18cc8
+SIZE (qudida-0.0.4.tar.gz) = 3100
diff --git a/graphics/py-qudida/pkg-descr b/graphics/py-qudida/pkg-descr
new file mode 100644
index 000000000000..1b42421e2897
--- /dev/null
+++ b/graphics/py-qudida/pkg-descr
@@ -0,0 +1,3 @@
+QuDiDA is a micro library for very naive though quick pixel level image domain
+adaptation via scikit-learn transformers. Is assumed to be used as image
+augmentation technique, while was not tested in public benchmarks.