Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-tortoise-orm py-tortoise-orm: updated to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/912632a707d5
branches:  trunk
changeset: 434124:912632a707d5
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jun 11 14:07:15 2020 +0000

description:
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

diffstat:

 databases/py-tortoise-orm/Makefile |  10 +++++++---
 databases/py-tortoise-orm/distinfo |  10 +++++-----
 2 files changed, 12 insertions(+), 8 deletions(-)

diffs (42 lines):

diff -r c350b2a0e093 -r 912632a707d5 databases/py-tortoise-orm/Makefile
--- a/databases/py-tortoise-orm/Makefile        Thu Jun 11 14:05:56 2020 +0000
+++ b/databases/py-tortoise-orm/Makefile        Thu Jun 11 14:07:15 2020 +0000
@@ -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 @@
 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 -r c350b2a0e093 -r 912632a707d5 databases/py-tortoise-orm/distinfo
--- a/databases/py-tortoise-orm/distinfo        Thu Jun 11 14:05:56 2020 +0000
+++ b/databases/py-tortoise-orm/distinfo        Thu Jun 11 14:07:15 2020 +0000
@@ -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


Home | Main Index | Thread Index | Old Index