git: 62b38d8b9980 - main - graphics/py-sqlalchemy-imageattach: New port: SQLAlchemy extension for attaching images to entities

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 00:38:50 UTC
The branch main has been updated by acm:

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

commit 62b38d8b9980bd0c49ee1c357672b7b3f8261a19
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-30 00:37:32 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-30 00:37:32 +0000

    graphics/py-sqlalchemy-imageattach: New port: SQLAlchemy extension for attaching images to entities
    
    SQLAlchemy-ImageAttach is a SQLAlchemy extension for attaching images to entity
    objects. It provides the following features:
    
    - Storage backend interface
    - Maintaining multiple image sizes
    - Every image has its URL
    - SQLAlchemy transaction aware
---
 graphics/Makefile                            |  1 +
 graphics/py-sqlalchemy-imageattach/Makefile  | 21 +++++++++++++++++++++
 graphics/py-sqlalchemy-imageattach/distinfo  |  3 +++
 graphics/py-sqlalchemy-imageattach/pkg-descr |  7 +++++++
 4 files changed, 32 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 553cd3f80113..42bc2033ed5d 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -950,6 +950,7 @@
     SUBDIR += py-seqdiag
     SUBDIR += py-sorl-thumbnail
     SUBDIR += py-spectra
+    SUBDIR += py-sqlalchemy-imageattach
     SUBDIR += py-svg.path
     SUBDIR += py-svgwrite
     SUBDIR += py-termtosvg
diff --git a/graphics/py-sqlalchemy-imageattach/Makefile b/graphics/py-sqlalchemy-imageattach/Makefile
new file mode 100644
index 000000000000..821701b5f085
--- /dev/null
+++ b/graphics/py-sqlalchemy-imageattach/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	SQLAlchemy-ImageAttach
+PORTVERSION=	1.1.0
+CATEGORIES=	graphics python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	SQLAlchemy extension for attaching images to entities
+WWW=		https://github.com/dahlia/sqlalchemy-imageattach
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy10>0:databases/py-sqlalchemy10@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Wand>0:graphics/py-wand@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/graphics/py-sqlalchemy-imageattach/distinfo b/graphics/py-sqlalchemy-imageattach/distinfo
new file mode 100644
index 000000000000..5ae1aee60a42
--- /dev/null
+++ b/graphics/py-sqlalchemy-imageattach/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680321015
+SHA256 (SQLAlchemy-ImageAttach-1.1.0.tar.gz) = a9e3d56da889119e2105b3fee660ec259bb3b51be28173efb1ba129a52710ec4
+SIZE (SQLAlchemy-ImageAttach-1.1.0.tar.gz) = 29038
diff --git a/graphics/py-sqlalchemy-imageattach/pkg-descr b/graphics/py-sqlalchemy-imageattach/pkg-descr
new file mode 100644
index 000000000000..769daeecd28f
--- /dev/null
+++ b/graphics/py-sqlalchemy-imageattach/pkg-descr
@@ -0,0 +1,7 @@
+SQLAlchemy-ImageAttach is a SQLAlchemy extension for attaching images to entity
+objects. It provides the following features:
+
+- Storage backend interface
+- Maintaining multiple image sizes
+- Every image has its URL
+- SQLAlchemy transaction aware