aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoran Mekić <meka@tilda.center>2022-01-29 07:08:08 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2022-01-29 07:08:08 +0000
commit4fcd262d9176092e1cf84dd76410e0d86978d33d (patch)
treefc382d14eedf3098d97281a95a68eaba3400bec1
parent5397c5e80dab3825d0edaa31746adcea47aa361a (diff)
downloadports-4fcd262d9176092e1cf84dd76410e0d86978d33d.tar.gz
ports-4fcd262d9176092e1cf84dd76410e0d86978d33d.zip
databases/py-fastapi-users-db-ormar: add port: FastAPI-Users Ormar database adapter
Sub-package for Ormar support in FastAPI Users. WWW: https://github.com/fastapi-users/fastapi-users-db-ormar PR: 260845 Reported by: Goran Mekić <meka@tilda.center> (new maintainer)
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-fastapi-users-db-ormar/Makefile21
-rw-r--r--databases/py-fastapi-users-db-ormar/distinfo3
-rw-r--r--databases/py-fastapi-users-db-ormar/pkg-descr3
4 files changed, 28 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 7b2f02b82c4c..804feea3297a 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -766,6 +766,7 @@
SUBDIR += py-dbf
SUBDIR += py-dbutils
SUBDIR += py-fakeredis
+ SUBDIR += py-fastapi-users-db-ormar
SUBDIR += py-fdb
SUBDIR += py-firebirdsql
SUBDIR += py-flask-sqlalchemy
diff --git a/databases/py-fastapi-users-db-ormar/Makefile b/databases/py-fastapi-users-db-ormar/Makefile
new file mode 100644
index 000000000000..c8d3411a95f9
--- /dev/null
+++ b/databases/py-fastapi-users-db-ormar/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= fastapi-users-db-ormar
+DISTVERSION= 1.0.0
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= meka@tilda.center
+COMMENT= FastAPI-Users Ormar database adapter
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi-users>=6.1.2:www/py-fastapi-users@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ormar>=0.10.16:databases/py-ormar@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-fastapi-users-db-ormar/distinfo b/databases/py-fastapi-users-db-ormar/distinfo
new file mode 100644
index 000000000000..3dbc82a931af
--- /dev/null
+++ b/databases/py-fastapi-users-db-ormar/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632917589
+SHA256 (fastapi-users-db-ormar-1.0.0.tar.gz) = 5e5bcf83ca7512d026a2fb55290a7858f8e9a31c33154c9ef73b593876a9e3f6
+SIZE (fastapi-users-db-ormar-1.0.0.tar.gz) = 9456
diff --git a/databases/py-fastapi-users-db-ormar/pkg-descr b/databases/py-fastapi-users-db-ormar/pkg-descr
new file mode 100644
index 000000000000..340b8eed4728
--- /dev/null
+++ b/databases/py-fastapi-users-db-ormar/pkg-descr
@@ -0,0 +1,3 @@
+Sub-package for Ormar support in FastAPI Users.
+
+WWW: https://github.com/fastapi-users/fastapi-users-db-ormar