Port details |
- py-ormar Simple async ORM with fastapi in mind and pydantic validation
- 0.20.1 databases =2 0.20.0Version of this port present on the latest quarterly branch.
- Maintainer: meka@tilda.center
- Port Added: 2022-01-01 05:12:09
- Last Update: 2024-08-04 17:14:31
- Commit Hash: 4ec1d46
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/collerek/ormar
- Description:
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}ormar>0:databases/py-ormar@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-ormar/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-ormar
- pkg install py311-ormar
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-ormar listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-ormar
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1720951410
SHA256 (collerek-ormar-0.20.1_GH0.tar.gz) = d561d6082be0b463c6bdcf3d433a191e6f118f6bead149f39994720c1fcd753c
SIZE (collerek-ormar-0.20.1_GH0.tar.gz) = 399468
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-poetry-core>=1.0.0 : devel/py-poetry-core@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- py311-asgi-lifespan>=0 : devel/py-asgi-lifespan@py311
- py311-async_timeout>0 : devel/py-async_timeout@py311
- py311-asyncpg>=0 : databases/py-asyncpg@py311
- py311-email-validator>=0 : mail/py-email-validator@py311
- py311-Faker>=0 : devel/py-Faker@py311
- py311-fastapi>=0 : www/py-fastapi@py311
- py311-httpx>=0 : www/py-httpx@py311
- py311-nest-asyncio>=0 : devel/py-nest-asyncio@py311
- py311-pymysql>=0 : databases/py-pymysql@py311
- py311-pytest-asyncio>=0 : devel/py-pytest-asyncio@py311
- py311-pytest-benchmark>=0 : devel/py-pytest-benchmark@py311
- py311-pytest>=7,1 : devel/py-pytest@py311
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-cryptography>=0 : security/py-cryptography@py311
- py311-databases>=0.3.2,<0.9.0 : databases/py-databases@py311
- py311-pydantic-extra-types>=0 : devel/py-pydantic-extra-types@py311
- py311-pydantic2>=0 : devel/py-pydantic2@py311
- py311-sqlalchemy14>=1.4.0 : databases/py-sqlalchemy14@py311
- py311-typing-extensions>=3.7 : devel/py-typing-extensions@py311
- py311-aiosqlite>0 : databases/py-aiosqlite@py311
- python3.11 : lang/python311
- Library dependencies:
-
- libsqlite3.so : databases/sqlite3
- This port is required by:
- for Run
-
- databases/py-fastapi-users-db-ormar
- www/py-freenit
Configuration Options:
- ===> The following configuration options are available for py311-ormar-0.20.1:
CRYPTO=off: Support for password encryption
====> Database Support
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
SQLITE=on: SQLite database support
===> Use 'make config' to modify these settings
- Options name:
- databases_py-ormar
- USES:
- python sqlite
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.20.1 04 Aug 2024 17:14:31 |
Po-Chuan Hsieh (sunpoet) |
databases/py-ormar: Fix incorrect py-poetry* usage
Approved by: portmgr (blanket)
With hat: python |
0.20.1 19 Jul 2024 17:57:53 |
Vladimir Druzenko (vvd) Author: Goran Mekić |
databases/py-ormar: update 0.20.0 → 0.20.1
Changelog:
https://github.com/collerek/ormar/releases/tag/0.20.1
PR: 280372 |
0.20.0 04 Apr 2024 09:49:32 |
Nuno Teixeira (eduardo) Author: Goran Mekić |
databases/py-ormar: Update to 0.20.0
ChangeLog: https://github.com/collerek/ormar/releases/tag/0.20.0
PR: 278070 |
0.12.2 01 Jan 2024 08:59:06 |
Antoine Brodin (antoine) |
devel/py-pydantic: bump PORTEPOCH |
0.12.2 04 Oct 2023 20:01:39 |
Robert Clausecker (fuz) Author: Goran Mekić |
databases/py-ormar: Update to 0.12.2
Changelog: https://github.com/collerek/ormar/releases/tag/0.12.2
PR: 273016 |
0.12.1 29 Sep 2023 14:19:56 |
Po-Chuan Hsieh (sunpoet) |
*: Replace USES=pycryptography* with USE_PYTHON=cryptography{,_build,_test}
- Introduce USE_PYTHON=cryptography{,_build,_test}
- Switch all 96 ports from USES=pycryptography to with
USE_PYTHON=cryptography{,_build,_test}
- Remove Mk/Uses/pycryptography.mk
PR: 273727
Approved by: tcberner (portmgr)
Exp-run by: antoine |
0.12.1 22 Jul 2023 07:46:38 |
Tobias C. Berner (tcberner) |
framework: convert tree to use USES=pycryptography
A future commit will update to security/py-cryptography will introduce a
rust dependency.
PR: 254853 |
0.12.1 27 Jun 2023 19:34:34 |
Rene Ladan (rene) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
0.12.1 13 Feb 2023 17:20:04 |
Neel Chauhan (nc) Author: Goran Mekić |
databases/py-ormar: Update to 0.12.1
Changelog: https://github.com/collerek/ormar/releases/tag/0.12.1
PR: 269507 |
0.12.0 11 Jan 2023 15:58:34 |
Dmitry Marakasov (amdmi3) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
0.12.0 07 Nov 2022 18:02:13 |
Guangyuan Yang (ygy) Author: Goran Mekić |
databases/py-ormar: Update to 0.12.0
Changelog: https://github.com/collerek/ormar/releases/tag/0.12.0
PR: 267602 |
0.11.3_1 21 Sep 2022 16:59:42 |
Nuno Teixeira (eduardo) Author: Goran Mekić |
databases/py-ormar: Bump pydantic version in RUN_DEPENDS
- Fix fallout by bumping pydantic version in RUN_DEPENDS
- Bump PORTREVISION
PR: 266533 |
0.11.3 12 Sep 2022 16:36:03 |
Neel Chauhan (nc) Author: Goran Mekić |
databases/py-ormar: Update to 0.11.3
Changelog: https://github.com/collerek/ormar/releases/tag/0.11.3
PR: 266376 |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.11.2 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.11.2 05 Jul 2022 09:04:42 |
Nuno Teixeira (eduardo) Author: Goran Mekić |
databases/py-ormar: Update to 0.11.2
ChangeLog: https://github.com/collerek/ormar/releases/tag/0.11.2
PR: 265013 |
0.11.1 12 Jun 2022 00:44:33 |
Nuno Teixeira (eduardo) Author: Goran Mekić |
databases/py-ormar: Update to 0.11.1
ChangeLog: https://github.com/collerek/ormar/releases/tag/0.11.1
PR: 264608 |
0.11.0_1 07 Jun 2022 23:04:04 |
Nuno Teixeira (eduardo) Author: Goran Mekić |
databases/py-ormar: Adjust dependencie
- adjust dependencie to latest databases/py-databases version
PR: 264516 |
0.11.0 26 Apr 2022 18:31:31 |
Neel Chauhan (nc) Author: Goran Mekić |
databases/py-ormar: Update to 0.11.0
Changes: https://github.com/collerek/ormar/releases/tag/0.11.0
PR: 263554 |
0.10.25 05 Mar 2022 04:58:16 |
Guangyuan Yang (ygy) Author: Goran Mekić |
databases/py-ormar: Update to 0.10.25
Changelog: https://github.com/collerek/ormar/releases/tag/0.10.25
PR: 262313 |
0.10.24 29 Jan 2022 06:31:24 |
Hiroki Tagato (tagattie) Author: Goran Mekić |
databases/py-ormar: update to 0.10.24
While here, loosen version ranges of some dependencies to avoid build
error.
PR: 261190
Reported by: Goran Mekić <meka@tilda.center> (maintainer)
Reviewed by: koobs |
0.10.23 01 Jan 2022 05:08:51 |
Hiroki Tagato (tagattie) Author: Goran Mekić |
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 |