diff options
author | adam <adam@pkgsrc.org> | 2020-06-11 14:07:15 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-06-11 14:07:15 +0000 |
commit | 9d36ece739df98f5b4d1ab0ded67ee60330c0c5c (patch) | |
tree | 76cd8c76f433ea6b9c0dbb99bc3542ed03d5f96e | |
parent | d4176582f28f5dda852bf2fbdb3fb0739e1937fa (diff) | |
download | pkgsrc-9d36ece739df98f5b4d1ab0ded67ee60330c0c5c.tar.gz |
py-tortoise-orm: updated to 0.16.13
0.16.13
Default install of tortoise-orm now installs with no C-dependencies, if you want to use the C accelerators, please do a pip install tortoise-orm[accel] instead.
Added <instance>.clone() method that will create a cloned instance in memory. To persist it you still need to call .save()
.clone() will raise a ParamsError if tortoise can’t generate a primary key. In that case do a .clone(pk=<newval>)
If manually setting the primary key value to None and the primary key can be automatically generated, this will create a new record. We however still recommend the .clone() method instead.
.save() can be forced to do a create by setting force_create=True
.save() can be forced to do an update by setting force_update=True
Setting update_fields for a .save() operation will strongly prefer to do an update if possible
-rw-r--r-- | databases/py-tortoise-orm/Makefile | 10 | ||||
-rw-r--r-- | databases/py-tortoise-orm/distinfo | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/databases/py-tortoise-orm/Makefile b/databases/py-tortoise-orm/Makefile index 9f0ebac1a1f..fcb0185e0e4 100644 --- a/databases/py-tortoise-orm/Makefile +++ b/databases/py-tortoise-orm/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2020/05/31 11:38:13 adam Exp $ +# $NetBSD: Makefile,v 1.5 2020/06/11 14:07:15 adam Exp $ -DISTNAME= tortoise-orm-0.16.12 +DISTNAME= tortoise-orm-0.16.13 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= databases python MASTER_SITES= ${MASTER_SITE_PYPI:=t/tortoise-orm/} @@ -11,9 +11,13 @@ COMMENT= Easy async ORM for Python, built with relations in mind LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-aiosqlite>=0.11.0:../../databases/py-aiosqlite -DEPENDS+= ${PYPKGPREFIX}-ciso8601>=2.1.2:../../time/py-ciso8601 +DEPENDS+= ${PYPKGPREFIX}-iso8601>=0.1.12:../../time/py-iso8601 DEPENDS+= ${PYPKGPREFIX}-pypika>=0.36.5:../../databases/py-pypika DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7:../../devel/py-typing-extensions +# accel +DEPENDS+= ${PYPKGPREFIX}-ciso8601>=2.1.2:../../time/py-ciso8601 +DEPENDS+= ${PYPKGPREFIX}-rapidjson-[0-9]*../../textproc/py-rapidjson +DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.12.0../../devel/py-uvloop USE_LANGUAGES= # none diff --git a/databases/py-tortoise-orm/distinfo b/databases/py-tortoise-orm/distinfo index 1ff0aa92c42..ce828d81ffe 100644 --- a/databases/py-tortoise-orm/distinfo +++ b/databases/py-tortoise-orm/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1 2020/05/23 08:26:18 adam Exp $ +$NetBSD: distinfo,v 1.2 2020/06/11 14:07:15 adam Exp $ -SHA1 (tortoise-orm-0.16.12.tar.gz) = 6983db731ebb0e99523599049b14b6dd3c021ec7 -RMD160 (tortoise-orm-0.16.12.tar.gz) = 9277b41151bef265bcc9f2a77012f3c826a6f1ce -SHA512 (tortoise-orm-0.16.12.tar.gz) = 43a03f2b6960f45abdda6f24b03ee319cf8a47753169d460690d22b5bf6eb81e494e536a8e92ab2ab381beadb7368c8825de1ff0cdf6607e43960f498ff87563 -Size (tortoise-orm-0.16.12.tar.gz) = 88707 bytes +SHA1 (tortoise-orm-0.16.13.tar.gz) = e86a0ef2a437bd61cdff3799a909df9ed3b6182b +RMD160 (tortoise-orm-0.16.13.tar.gz) = 2363854514877bef64ce2bc67d06e7cc03b6a66b +SHA512 (tortoise-orm-0.16.13.tar.gz) = 95cde9dc20bc69e0b4e79bd4e16ef94907067006d0177ea3e94c6768400f549e16f7ea9a6fb2abe83cda0cd2b43168d7570363ab7d1c49df45ac87403f9f9812 +Size (tortoise-orm-0.16.13.tar.gz) = 89425 bytes |