FreeBSD Bugzilla – Attachment 210145 Details for
Bug 242806
[NEW PORT] devel/py-pytest-factoryboy: Factory approach to testing with the dependency injection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-pytest-factoryboy.diff
py-pytest-factoryboy.diff (text/plain), 2.37 KB, created by
Goran Mekić
on 2019-12-22 16:29:03 UTC
(
hide
)
Description:
py-pytest-factoryboy.diff
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2019-12-22 16:29:03 UTC
Size:
2.37 KB
patch
obsolete
>commit e7f6c9221e1951ad8ec10e35943d19814c8941de >Author: Goran MekiÄ <meka@tilda.center> >Date: Sun Dec 22 17:23:27 2019 +0100 > > Add pytest-factoryboy > >diff --git a/devel/Makefile b/devel/Makefile >index b90d5cf37df7..a8aebe32c98a 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -4898,6 +4898,7 @@ > SUBDIR += py-pytest-capturelog > SUBDIR += py-pytest-cov > SUBDIR += py-pytest-django >+ SUBDIR += py-pytest-factoryboy > SUBDIR += py-pytest-fixture-config > SUBDIR += py-pytest-flake8 > SUBDIR += py-pytest-flakes >diff --git a/devel/py-pytest-factoryboy/Makefile b/devel/py-pytest-factoryboy/Makefile >new file mode 100644 >index 000000000000..9c83f55932eb >--- /dev/null >+++ b/devel/py-pytest-factoryboy/Makefile >@@ -0,0 +1,32 @@ >+# $FreeBSD$ >+ >+PORTNAME= pytest-factoryboy >+PORTVERSION= 2.0.3 >+CATEGORIES= devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= meka@tilda.center >+COMMENT= Factory approach to testing with the dependency injection >+ >+LICENSE= MIT >+ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}inflection>=0:devel/py-inflection@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}factory_boy>=0:devel/py-factory-boy@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} >+ >+USES= python >+USE_GITHUB= yes # tests not shiped with sdist >+USE_PYTHON= autoplist concurrent distutils >+ >+GH_ACCOUNT= pytest-dev >+GH_TAGNAME= ${PORTVERSION} >+ >+TEST_ENV= PYTHONPATH=${WRKSRC}/src >+ >+NO_ARCH= yes >+ >+do-test: >+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -o addopts= >+ >+.include <bsd.port.mk> >diff --git a/devel/py-pytest-factoryboy/distinfo b/devel/py-pytest-factoryboy/distinfo >new file mode 100644 >index 000000000000..e7dc7c97062d >--- /dev/null >+++ b/devel/py-pytest-factoryboy/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1577031612 >+SHA256 (pytest-dev-pytest-factoryboy-2.0.3_GH0.tar.gz) = 09c912d4a404a87caaf1c462defa345bf26ed1c55db4e1b09c954990c55863d6 >+SIZE (pytest-dev-pytest-factoryboy-2.0.3_GH0.tar.gz) = 16879 >diff --git a/devel/py-pytest-factoryboy/pkg-descr b/devel/py-pytest-factoryboy/pkg-descr >new file mode 100644 >index 000000000000..26f73ccec5bd >--- /dev/null >+++ b/devel/py-pytest-factoryboy/pkg-descr >@@ -0,0 +1,4 @@ >+Pytest-factoryboy makes it easy to combine factory approach to the test setup >+with the dependency injection, heart of the pytest fixtures. >+ >+WWW: https://github.com/pytest-dev/pytest-factoryboy
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242806
: 210145