Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-factory_boy devel/py-factory_boy: import py-f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f657a51b4cc0
branches: trunk
changeset: 432228:f657a51b4cc0
user: wiz <wiz%pkgsrc.org@localhost>
date: Tue May 19 18:36:32 2020 +0000
description:
devel/py-factory_boy: import py-factory_boy-2.12.0
Packaged for wip by Keke, updated by me.
Versatile test fixtures replacement based
on thoughtbot's factory_bot for Ruby
diffstat:
devel/py-factory_boy/DESCR | 2 +
devel/py-factory_boy/Makefile | 16 ++++++++++++
devel/py-factory_boy/PLIST | 55 +++++++++++++++++++++++++++++++++++++++++++
devel/py-factory_boy/distinfo | 6 ++++
devel/py-factory_boy/log | 37 ++++++++++++++++++++++++++++
5 files changed, 116 insertions(+), 0 deletions(-)
diffs (136 lines):
diff -r 4cd40d281c03 -r f657a51b4cc0 devel/py-factory_boy/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-factory_boy/DESCR Tue May 19 18:36:32 2020 +0000
@@ -0,0 +1,2 @@
+Versatile test fixtures replacement based
+on thoughtbot's factory_bot for Ruby
diff -r 4cd40d281c03 -r f657a51b4cc0 devel/py-factory_boy/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-factory_boy/Makefile Tue May 19 18:36:32 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/05/19 18:36:32 wiz Exp $
+
+DISTNAME= factory_boy-2.12.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=f/factory_boy/}
+
+MAINTAINER= kethzer.dr%gmail.com@localhost
+HOMEPAGE= https://github.com/FactoryBoy/factory_boy
+COMMENT= Versatile test fixtures replacement
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-faker>=0.7.0:../../devel/py-faker
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 4cd40d281c03 -r f657a51b4cc0 devel/py-factory_boy/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-factory_boy/PLIST Tue May 19 18:36:32 2020 +0000
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/19 18:36:32 wiz Exp $
+${PYSITELIB}/factory/__init__.py
+${PYSITELIB}/factory/__init__.pyc
+${PYSITELIB}/factory/__init__.pyo
+${PYSITELIB}/factory/alchemy.py
+${PYSITELIB}/factory/alchemy.pyc
+${PYSITELIB}/factory/alchemy.pyo
+${PYSITELIB}/factory/base.py
+${PYSITELIB}/factory/base.pyc
+${PYSITELIB}/factory/base.pyo
+${PYSITELIB}/factory/builder.py
+${PYSITELIB}/factory/builder.pyc
+${PYSITELIB}/factory/builder.pyo
+${PYSITELIB}/factory/compat.py
+${PYSITELIB}/factory/compat.pyc
+${PYSITELIB}/factory/compat.pyo
+${PYSITELIB}/factory/declarations.py
+${PYSITELIB}/factory/declarations.pyc
+${PYSITELIB}/factory/declarations.pyo
+${PYSITELIB}/factory/django.py
+${PYSITELIB}/factory/django.pyc
+${PYSITELIB}/factory/django.pyo
+${PYSITELIB}/factory/enums.py
+${PYSITELIB}/factory/enums.pyc
+${PYSITELIB}/factory/enums.pyo
+${PYSITELIB}/factory/errors.py
+${PYSITELIB}/factory/errors.pyc
+${PYSITELIB}/factory/errors.pyo
+${PYSITELIB}/factory/faker.py
+${PYSITELIB}/factory/faker.pyc
+${PYSITELIB}/factory/faker.pyo
+${PYSITELIB}/factory/fuzzy.py
+${PYSITELIB}/factory/fuzzy.pyc
+${PYSITELIB}/factory/fuzzy.pyo
+${PYSITELIB}/factory/helpers.py
+${PYSITELIB}/factory/helpers.pyc
+${PYSITELIB}/factory/helpers.pyo
+${PYSITELIB}/factory/mogo.py
+${PYSITELIB}/factory/mogo.pyc
+${PYSITELIB}/factory/mogo.pyo
+${PYSITELIB}/factory/mongoengine.py
+${PYSITELIB}/factory/mongoengine.pyc
+${PYSITELIB}/factory/mongoengine.pyo
+${PYSITELIB}/factory/random.py
+${PYSITELIB}/factory/random.pyc
+${PYSITELIB}/factory/random.pyo
+${PYSITELIB}/factory/utils.py
+${PYSITELIB}/factory/utils.pyc
+${PYSITELIB}/factory/utils.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff -r 4cd40d281c03 -r f657a51b4cc0 devel/py-factory_boy/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-factory_boy/distinfo Tue May 19 18:36:32 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/19 18:36:32 wiz Exp $
+
+SHA1 (factory_boy-2.12.0.tar.gz) = 29b59501719a2ef52025129bacfb66f86a796405
+RMD160 (factory_boy-2.12.0.tar.gz) = 7d4f1e2b18abade51262651b2db6c60adfc1e83e
+SHA512 (factory_boy-2.12.0.tar.gz) = f87963fb650df9b6e2e5bd7bea5fdc6c35d352839edfea7ff79f3ff236e85098879a506d132d63a47c3290d5beee925ab19943eb4ecdb522f33f8ffff69dc742
+Size (factory_boy-2.12.0.tar.gz) = 153557 bytes
diff -r 4cd40d281c03 -r f657a51b4cc0 devel/py-factory_boy/log
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-factory_boy/log Tue May 19 18:36:32 2020 +0000
@@ -0,0 +1,37 @@
+2.12.0 (2019-05-11)
+-------------------
+
+*New:*
+
+ - Add support for Python 3.7
+ - Add support for Django 2.1
+ - Add :attr:`~factory.fuzzy.FuzzyChoice.getter` to :class:`~factory.fuzzy.FuzzyChoice` that mimics
+ the behavior of ``getter`` in :class:`~factory.Iterator`
+ - Make the ``extra_kwargs`` parameter of :meth:`~factory.faker.Faker.generate` optional
+ - Add :class:`~factory.RelatedFactoryList` class for one-to-many support, thanks `Sean Harrington <https://github.com/seanharr11>`_.
+ - Make the `locale` argument for :class:`~factory.faker.Faker` keyword-only
+
+*Bugfix:*
+
+ - Allow renamed arguments to be optional, thanks to `Justin Crown <https://github.com/mrname>`_.
+ - Fix `django_get_or_create` behavior when using multiple fields with `unique=True`, thanks to `@YPCrumble <https://github.com/YPCrumble>`
+
+
+2.11.1 (2018-05-05)
+-------------------
+
+*Bugfix:*
+
+ - Fix passing deep context to a :class:`~factory.SubFactory` (``Foo(x__y__z=factory.Faker('name')``)
+
+
+2.11.0 (2018-05-05)
+-------------------
+
+*Bugfix:*
+
+ - Fix :class:`~factory.fuzzy.FuzzyFloat` to return a 15 decimal digits precision float by default
+ - :issue:`451`: Restore :class:`~factory.django.FileField` to a
+ :class:`~factory.declarations.ParameteredAttribute`, relying on composition to parse the provided parameters.
+ - :issue:`389`: Fix random state management with ``faker``.
+ - :issue:`466`: Restore mixing :class:`~factory.Trait` and :meth:`~factory.post_generation`.
Home |
Main Index |
Thread Index |
Old Index