Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2021 12:25:05 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565129 - in head/www/py-flask-mongoengine: . files
Message-ID:  <202102131225.11DCP5IX032108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Sat Feb 13 12:25:04 2021
New Revision: 565129
URL: https://svnweb.freebsd.org/changeset/ports/565129

Log:
  www/py-flask-mongoengine: Update to 1.0.0
  
  PR:		252442
  Submitted by:	Goran Mekić (maintainer)

Deleted:
  head/www/py-flask-mongoengine/files/
Modified:
  head/www/py-flask-mongoengine/Makefile
  head/www/py-flask-mongoengine/distinfo

Modified: head/www/py-flask-mongoengine/Makefile
==============================================================================
--- head/www/py-flask-mongoengine/Makefile	Sat Feb 13 11:48:21 2021	(r565128)
+++ head/www/py-flask-mongoengine/Makefile	Sat Feb 13 12:25:04 2021	(r565129)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	flask-mongoengine
-PORTVERSION=	0.9.5
+PORTVERSION=	1.0.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	www devel python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,8 +17,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:www/py-fl
 		${PYTHON_PKGNAMEPREFIX}mongoengine>=0:databases/py-mongoengine@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}rednose>=0:devel/py-rednose@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest-cov@${PY_FLAVOR}
 
 USES=		python:3.5+
 USE_GITHUB=	yes # tests not packaged with PyPI sdist
@@ -30,7 +29,34 @@ TEST_ENV=	PYTHONPATH=${WRKSRC}/src
 NO_ARCH=	yes
 
 do-test:
-	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} setup.py nosetests \
-		-e test_connection_default
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= \
+		-k 'not test_with_id \
+		and not test_basic_insert \
+		and not test_multiple_connections \
+		and not test_binaryfield \
+		and not test_choices_coerce \
+		and not test_list_choices_coerce \
+		and not test_emailfield \
+		and not test_model_form \
+		and not test_model_form_only \
+		and not test_model_form_with_custom_query_set \
+		and not test_modelselectfield \
+		and not test_modelselectfield_multiple \
+		and not test_modelselectfield_multiple_initalvalue_None \
+		and not test_modelradiofield \
+		and not test_passwordfield \
+		and not test_unique_with \
+		and not test_sub_field_args \
+		and not test_modelselectfield_multiple_selected_elements_must_be_retained \
+		and not test_model_form_help_text \
+		and not test_shared_field_args \
+		and not test_embedded_model_form \
+		and not test_form_label_modifier \
+		and not test_inheritance \
+		and not test_with_id \
+		and not test_basic_insert \
+		and not test_queryset_paginator \
+		and not test_list_field_pagination \
+		and not test_setting_session'
 
 .include <bsd.port.mk>

Modified: head/www/py-flask-mongoengine/distinfo
==============================================================================
--- head/www/py-flask-mongoengine/distinfo	Sat Feb 13 11:48:21 2021	(r565128)
+++ head/www/py-flask-mongoengine/distinfo	Sat Feb 13 12:25:04 2021	(r565129)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1577167260
-SHA256 (MongoEngine-flask-mongoengine-v0.9.5_GH0.tar.gz) = af9122fbb1c516fe12e7afcae1f87d18ba0f3c846e927a2270b2e78d420d309d
-SIZE (MongoEngine-flask-mongoengine-v0.9.5_GH0.tar.gz) = 120281
+TIMESTAMP = 1607727149
+SHA256 (MongoEngine-flask-mongoengine-v1.0.0_GH0.tar.gz) = 5d9768264f4503afe78b8ee31544b4e178186881393b4104a7ef47020cc2e965
+SIZE (MongoEngine-flask-mongoengine-v1.0.0_GH0.tar.gz) = 123516



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