Created attachment 226647 [details] ormar.diff QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 13.0, amd64 tested)
*** Bug 257315 has been marked as a duplicate of this bug. ***
Same again with this one: install_requires=[ "databases>=0.3.2,<0.4.4", "pydantic>=1.6.1,!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<=1.8.2", "sqlalchemy>=1.3.18,<=1.3.23", "typing_extensions>=3.7,<=3.7.4.3", ], Additionally, consider OPTIONS for extras_require [1]: extras_require={ "postgresql": ["asyncpg", "psycopg2-binary"], "mysql": ["aiomysql", "pymysql"], "sqlite": ["aiosqlite"], "orjson": ["orjson"], "crypto": ["cryptography"], }, Note: For transitive dependencies, depend on the dependencies directly [2] [1] https://wiki.freebsd.org/Python/PortsPolicy#Optional_Dependencies [2] https://wiki.freebsd.org/Python/PortsPolicy#Optional_.2F_Transitive_Dependencies
Created attachment 226712 [details] ormar.diff
Python doesn't need to block / be assignee on new ports
There appears a more recent version (0.10.23) released. Would you care to update the patch to the latest version?
Created attachment 230582 [details] ormar.diff
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=583287b7d536cc849d468332777339542a750f0a commit 583287b7d536cc849d468332777339542a750f0a Author: Goran Mekić <meka@tilda.center> AuthorDate: 2022-01-01 05:06:14 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2022-01-01 05:08:51 +0000 databases/py-ormar: add port: Simple async ORM with fastapi in mind and pydantic validation The ormar package is an async mini ORM for Python, with support for Postgres, MySQL, and SQLite. The main benefit of using ormar are: * getting an async ORM that can be used with async frameworks (fastapi, starlette etc.) * getting just one model to maintain - you don't have to maintain pydantic and other orm model (sqlalchemy, peewee, gino etc.) The goal was to create a simple ORM that can be used directly (as request and response models) with fastapi that bases it's data validation on pydantic. WWW: https://github.com/collerek/ormar PR: 257370 Reported by: Goran Mekić <meka@tilda.center> (new maintainer) Reviewed by: koobs databases/Makefile | 1 + databases/py-ormar/Makefile (new) | 50 ++++++++++++++++++++++++++++++++++++++ databases/py-ormar/distinfo (new) | 3 +++ databases/py-ormar/pkg-descr (new) | 13 ++++++++++ 4 files changed, 67 insertions(+)
Committed, thanks!
orjson: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266213