View | Details | Raw Unified | Return to bug 257369 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/Makefile (+1 lines)
Lines 1588-1593 Link Here
1588
    SUBDIR += py-fake-useragent
1588
    SUBDIR += py-fake-useragent
1589
    SUBDIR += py-falcon
1589
    SUBDIR += py-falcon
1590
    SUBDIR += py-fastapi
1590
    SUBDIR += py-fastapi
1591
    SUBDIR += py-fastapi-users
1591
    SUBDIR += py-feedgenerator
1592
    SUBDIR += py-feedgenerator
1592
    SUBDIR += py-flask
1593
    SUBDIR += py-flask
1593
    SUBDIR += py-flask-admin
1594
    SUBDIR += py-flask-admin
(-)b/www/py-fastapi-users/Makefile (+44 lines)
Added Link Here
1
PORTNAME=	fastapi-users
2
PORTVERSION=	6.1.1
3
CATEGORIES=	www devel python
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
7
MAINTAINER=	meka@tilda.center
8
COMMENT=	Ready-to-use and customizable users management for FastAPI
9
10
LICENSE=	MIT
11
12
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fastapi>=0.65.2,<0.67.0:www/py-fastapi@${PY_FLAVOR} \
13
		${PYTHON_PKGNAMEPREFIX}passlib>=0:security/py-passlib@${PY_FLAVOR} \
14
		${PYTHON_PKGNAMEPREFIX}databases>=0.3.0,<0.5:databases/py-databases@${PY_FLAVOR} \
15
		${PYTHON_PKGNAMEPREFIX}deprecated>=1.2.12,<2.0.0:devel/py-deprecated@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}makefun>=1.11.2,<1.12:devel/py-makefun@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}pyjwt>=2.1.0:www/py-pyjwt@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}email-validator>=1.1.0,<1.2:mail/py-email-validator@${PY_FLAVOR}
19
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
21
		${PYTHON_PKGNAMEPREFIX}httpx-oauth>=0:www/py-httpx-oauth@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}asgi-lifespan>=0:devel/py-asgi-lifespan@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}pymongo>=0:databases/pymongo@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}ormar>=0.10.1,<0.11.0:databases/py-ormar@${PY_FLAVOR} \
25
		${PYTHON_PKGNAMEPREFIX}asynctest>=0:devel/py-asynctest@${PY_FLAVOR}
26
27
USES=		python:3.7+
28
USE_PYTHON=	autoplist distutils
29
30
TEST_ENV=	PYTHONPATH=${WRKSRC}/src
31
32
NO_ARCH=	yes
33
34
# Tests require tortoise and newer motor
35
# do-test:
36
	# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts=
37
38
.include <bsd.port.pre.mk>
39
40
.if ${PYTHON_REL} < 30800
41
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7.4.3:devel/py-typing-extensions@${PY_FLAVOR}
42
.endif
43
44
.include <bsd.port.post.mk>
(-)b/www/py-fastapi-users/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1626889393
2
SHA256 (fastapi-users-6.1.1.tar.gz) = 6b4ae936bbe967bb41babc17a1eac8dedff3237153b96a661a11098ceec20a5c
3
SIZE (fastapi-users-6.1.1.tar.gz) = 84818
(-)b/www/py-fastapi-users/pkg-descr (+19 lines)
Added Link Here
1
Add quickly a registration and authentication system to your FastAPI project.
2
FastAPI Users is designed to be as customizable and adaptable as possible.
3
Features:
4
  * Extensible base user model
5
  * Ready-to-use register, login, reset password and verify e-mail routes
6
  * Ready-to-use social OAuth2 login flow
7
  * Dependency callables to inject current user in route
8
  * Pluggable password validation
9
  * Customizable database backend
10
    * SQLAlchemy async backend included thanks to encode/databases
11
    * MongoDB async backend included thanks to mongodb/motor
12
    * Tortoise ORM backend included
13
    * ormar backend included
14
  * Multiple customizable authentication backends
15
    * JWT authentication backend included
16
    * Cookie authentication backend included
17
  * Full OpenAPI schema support, even with several authentication backends
18
19
WWW: https://github.com/frankie567/fastapi-users

Return to bug 257369