pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-model_mommy py-model_mommy: updated to 2.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/72d7c2e21ce5
branches:  trunk
changeset: 404619:72d7c2e21ce5
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Nov 14 18:30:10 2019 +0000

description:
py-model_mommy: updated to 2.0.0

2.0.0
- Discontinue the lib and migrate to https://github.com/model-bakers/model_bakery
- Use default value for unknown field types
- Enable seq method to be imported directly from model_mommy
- Stick to Django's roadmap (https://www.djangoproject.com/download/)
- Add validation to `_fill_optional` parameter
- Add new `_from_manager` parameter to `make` method
- Clean up obsolete imports
- Save object instances when handling one to many relations

diffstat:

 www/py-model_mommy/Makefile |   4 ++--
 www/py-model_mommy/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 62378a6efa9c -r 72d7c2e21ce5 www/py-model_mommy/Makefile
--- a/www/py-model_mommy/Makefile       Thu Nov 14 18:29:34 2019 +0000
+++ b/www/py-model_mommy/Makefile       Thu Nov 14 18:30:10 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2018/07/04 09:07:45 adam Exp $
+# $NetBSD: Makefile,v 1.8 2019/11/14 18:30:10 adam Exp $
 
-DISTNAME=      model_mommy-1.6.0
+DISTNAME=      model_mommy-2.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/model_mommy/}
diff -r 62378a6efa9c -r 72d7c2e21ce5 www/py-model_mommy/distinfo
--- a/www/py-model_mommy/distinfo       Thu Nov 14 18:29:34 2019 +0000
+++ b/www/py-model_mommy/distinfo       Thu Nov 14 18:30:10 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2018/07/04 09:07:45 adam Exp $
+$NetBSD: distinfo,v 1.6 2019/11/14 18:30:10 adam Exp $
 
-SHA1 (model_mommy-1.6.0.tar.gz) = d9117e8b36adc3c8a126ef77529f097d7cd04884
-RMD160 (model_mommy-1.6.0.tar.gz) = 3262395989fcc8ecceabd22373a7c87885665462
-SHA512 (model_mommy-1.6.0.tar.gz) = 8330cf8ef5a9ee2e3eb148d5a2452f8b15219685e7916fd18340e954d71e223d8b5310b6176b97d251fc6db90576a86e49ca9036a4a4dc78f999448b8ea947a3
-Size (model_mommy-1.6.0.tar.gz) = 15011 bytes
+SHA1 (model_mommy-2.0.0.tar.gz) = 761ca72e2220cb910b8a7503fe5e40bb8f6bb259
+RMD160 (model_mommy-2.0.0.tar.gz) = aa480df679ca2430f78953f5bff7a1229d59ee51
+SHA512 (model_mommy-2.0.0.tar.gz) = d4ad9da2f9e883e9943310f5939dc11cc3b87efe8b8fa25c27b025f8857502eb1abf011bcdcc7914d5e656e619289e98df73c0b3481c669ec41a3206d1ddbd17
+Size (model_mommy-2.0.0.tar.gz) = 30412 bytes



Home | Main Index | Thread Index | Old Index