Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Dec 2021 07:04:52 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3b4743b52b9b - main - devel/py-factory-boy: Update to 3.2.1
Message-ID:  <202112260704.1BQ74qd6041650@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3b4743b52b9ba41823dc40e9dc5e1cb68ed2d6e0

commit 3b4743b52b9ba41823dc40e9dc5e1cb68ed2d6e0
Author:     Goran Mekić <meka@tilda.center>
AuthorDate: 2021-12-26 07:03:14 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-12-26 07:04:43 +0000

    devel/py-factory-boy: Update to 3.2.1
    
    Change log:
      https://github.com/FactoryBoy/factory_boy/blob/master/docs/changelog.rst#320-2020-12-28
    
    PR:             260693
---
 devel/py-factory-boy/Makefile | 29 +++++++++++------------------
 devel/py-factory-boy/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 21 deletions(-)

diff --git a/devel/py-factory-boy/Makefile b/devel/py-factory-boy/Makefile
index 4d9ddbcbbff7..de2d11ba3990 100644
--- a/devel/py-factory-boy/Makefile
+++ b/devel/py-factory-boy/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	factory-boy
-PORTVERSION=	2.12.0
-PORTREVISION=	1
+PORTVERSION=	3.2.1
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,18 +12,21 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Faker>=0:devel/py-Faker@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
+TEST_DEPENDS=	${PY_PILLOW} \
+		${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}django32>=0:www/py-django32@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}flask-sqlalchemy>=0:databases/py-flask-sqlalchemy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}isort>=0:devel/py-isort@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlalchemy13>=0:databases/py-sqlalchemy13@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0:databases/py-sqlalchemy14@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}text-unidecode>=0:converters/py-text-unidecode@${PY_FLAVOR} \
-		${PY_PILLOW}
+		${PYTHON_PKGNAMEPREFIX}tox>=0:devel/py-tox@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
@@ -34,16 +36,7 @@ TEST_ENV=	PYTHONPATH=${WRKSRC}/src
 NO_ARCH=	yes
 
 do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest discover \
-		-k test_alchemy \
-		-k test_base \
-		-k test_declarations \
-		-k test_django \
-		-k test_docs_internal \
-		-k test_faker \
-		-k test_fuzzy \
-		-k test_helpers \
-		-k test_using \
-		-k test_utils
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest \
+		-k 'not test_mongoengine'
 
 .include <bsd.port.mk>
diff --git a/devel/py-factory-boy/distinfo b/devel/py-factory-boy/distinfo
index 9164b0c7915c..8a56a7c62872 100644
--- a/devel/py-factory-boy/distinfo
+++ b/devel/py-factory-boy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1577021657
-SHA256 (factory_boy-2.12.0.tar.gz) = faf48d608a1735f0d0a3c9cbf536d64f9132b547dae7ba452c4d99a79e84a370
-SIZE (factory_boy-2.12.0.tar.gz) = 153557
+TIMESTAMP = 1640472452
+SHA256 (factory_boy-3.2.1.tar.gz) = a98d277b0c047c75eb6e4ab8508a7f81fb03d2cb21986f627913546ef7a2a55e
+SIZE (factory_boy-3.2.1.tar.gz) = 153483



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112260704.1BQ74qd6041650>