Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Dec 2023 08:19:01 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b3604071e107 - main - graphics/py-albumentations: New port: Fast image augmentation library and wrapper around other libraries
Message-ID:  <202312260819.3BQ8J1Ws025912@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit b3604071e107c58267902e03ba45d25e1a19d17f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-26 07:45:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-26 08:18:56 +0000

    graphics/py-albumentations: New port: Fast image augmentation library and wrapper around other libraries
---
 graphics/Makefile                    |  1 +
 graphics/py-albumentations/Makefile  | 25 +++++++++++++++++++++++++
 graphics/py-albumentations/distinfo  |  3 +++
 graphics/py-albumentations/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index ecaf6cb80fd6..2eda6b37dba7 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -843,6 +843,7 @@
     SUBDIR += py-PyOpenGL
     SUBDIR += py-PyOpenGL-accelerate
     SUBDIR += py-actdiag
+    SUBDIR += py-albumentations
     SUBDIR += py-altair
     SUBDIR += py-asciitree
     SUBDIR += py-beziers
diff --git a/graphics/py-albumentations/Makefile b/graphics/py-albumentations/Makefile
new file mode 100644
index 000000000000..60835c1107aa
--- /dev/null
+++ b/graphics/py-albumentations/Makefile
@@ -0,0 +1,25 @@
+PORTNAME=	albumentations
+DISTVERSION=	1.3.1
+CATEGORIES=	graphics python # machine-learning
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Fast image augmentation library and wrapper around other libraries
+WWW=		https://albumentations.ai/
+
+LICENSE=	LGPL3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.11.1:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}qudida>=0.0.4:graphics/py-qudida@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scikit-image>=0.16.1:graphics/py-scikit-image@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.1.0:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist pytest # 95 tests fail, see https://github.com/albumentations-team/albumentations/issues/1505
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-albumentations/distinfo b/graphics/py-albumentations/distinfo
new file mode 100644
index 000000000000..51738e8d5176
--- /dev/null
+++ b/graphics/py-albumentations/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703558078
+SHA256 (albumentations-1.3.1.tar.gz) = a6a38388fe546c568071e8c82f414498e86c9ed03c08b58e7a88b31cf7a244c6
+SIZE (albumentations-1.3.1.tar.gz) = 176371
diff --git a/graphics/py-albumentations/pkg-descr b/graphics/py-albumentations/pkg-descr
new file mode 100644
index 000000000000..61867fe0a79d
--- /dev/null
+++ b/graphics/py-albumentations/pkg-descr
@@ -0,0 +1,5 @@
+Albumentations is a computer vision tool that boosts the performance of deep
+convolutional neural networks.
+
+The library is widely used in industry, deep learning research, machine learning
+competitions, and open source projects.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312260819.3BQ8J1Ws025912>