FreeBSD Bugzilla – Attachment 226076 Details for
Bug 256624
devel/py-pytest: Update to 6.2.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pytest6and4.diff
pytest.diff (text/plain), 7.53 KB, created by
Goran Mekić
on 2021-06-27 10:50:16 UTC
(
hide
)
Description:
pytest6and4.diff
Filename:
MIME Type:
Creator:
Goran Mekić
Created:
2021-06-27 10:50:16 UTC
Size:
7.53 KB
patch
obsolete
>diff --git a/devel/Makefile b/devel/Makefile >index e50ec46d2d02..4b8455179619 100644 >--- a/devel/Makefile >+++ b/devel/Makefile >@@ -4934,6 +4934,7 @@ > SUBDIR += py-pystorm > SUBDIR += py-pyte > SUBDIR += py-pytest >+ SUBDIR += py-pytest4 > SUBDIR += py-pytest-aiohttp > SUBDIR += py-pytest-asyncio > SUBDIR += py-pytest-azurepipelines >diff --git a/devel/py-pytest-relaxed/Makefile b/devel/py-pytest-relaxed/Makefile >index 7fef8a4a2441..362daee58d19 100644 >--- a/devel/py-pytest-relaxed/Makefile >+++ b/devel/py-pytest-relaxed/Makefile >@@ -11,7 +11,7 @@ COMMENT= Relaxed test discovery/organization for pytest > LICENSE= BSD2CLAUSE > LICENSE_FILE= ${WRKSRC}/LICENSE > >-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3<5:devel/py-pytest@${PY_FLAVOR} \ >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=3<5:devel/py-pytest4@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}six>=1<2:devel/py-six@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}decorator4>=4<5:devel/py-decorator4@${PY_FLAVOR} > >diff --git a/devel/py-pytest/Makefile b/devel/py-pytest/Makefile >index 2f87d8b80937..a6513c28b17f 100644 >--- a/devel/py-pytest/Makefile >+++ b/devel/py-pytest/Makefile >@@ -1,5 +1,5 @@ > PORTNAME= pytest >-PORTVERSION= 4.6.11 >+PORTVERSION= 6.2.4 > CATEGORIES= devel python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >@@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY > ${PYTHON_PKGNAMEPREFIX}pluggy>=0.12<1.0:devel/py-pluggy@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}iniconfig>=0:devel/py-iniconfig@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR} > TEST_DEPENDS= bash:shells/bash \ > lsof:sysutils/lsof \ >@@ -29,16 +30,17 @@ TEST_DEPENDS= bash:shells/bash \ > ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \ >- ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}xmlschema>=0:textproc/py-xmlschema@${PY_FLAVOR} \ > ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR} > > USES= python:3.6+ > USE_PYTHON= autoplist concurrent distutils > > NO_ARCH= yes >+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest4 > > .include <bsd.port.pre.mk> > >@@ -46,12 +48,7 @@ NO_ARCH= yes > RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR} > .endif > >-post-patch: >- @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/testing/test_parseopt.py >- >-# test_cache_failure_warns fails >-# https://github.com/pytest-dev/pytest/issues/1845 > do-test: >- cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not test_cache_failure_warns' >+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs > > .include <bsd.port.post.mk> >diff --git a/devel/py-pytest/distinfo b/devel/py-pytest/distinfo >index db173fdad5c5..6ccf342cc812 100644 >--- a/devel/py-pytest/distinfo >+++ b/devel/py-pytest/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1620405525 >-SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353 >-SIZE (pytest-4.6.11.tar.gz) = 952305 >+TIMESTAMP = 1623756059 >+SHA256 (pytest-6.2.4.tar.gz) = 50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b >+SIZE (pytest-6.2.4.tar.gz) = 1118084 >diff --git a/devel/py-pytest4/Makefile b/devel/py-pytest4/Makefile >new file mode 100644 >index 000000000000..6048a16aa2b4 >--- /dev/null >+++ b/devel/py-pytest4/Makefile >@@ -0,0 +1,59 @@ >+PORTNAME= pytest >+PORTVERSION= 4.6.11 >+CATEGORIES= devel python >+MASTER_SITES= CHEESESHOP >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+PKGNAMESUFFIX= 4 >+ >+MAINTAINER= python@FreeBSD.org >+COMMENT= Simple powerful testing with Python >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR} >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomicwrites>=1.0:devel/py-atomicwrites@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}attrs>=17.4.0:devel/py-attrs@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}more-itertools>=4.0.0:devel/py-more-itertools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pluggy>=0.12<1.0:devel/py-pluggy@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}py>=1.5.0:devel/py-py@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}six>=1.10.0:devel/py-six@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wcwidth>=0:devel/py-wcwidth@${PY_FLAVOR} >+TEST_DEPENDS= bash:shells/bash \ >+ lsof:sysutils/lsof \ >+ ${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}decorator>=0:devel/py-decorator@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}hypothesis>=3.56:devel/py-hypothesis@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pexpect>=0:misc/py-pexpect@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=1.13:devel/py-pytest-xdist@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}unittest2>=0:devel/py-unittest2@${PY_FLAVOR} >+ >+USES= python:3.6+ >+USE_PYTHON= autoplist concurrent distutils >+ >+NO_ARCH= yes >+CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest >+ >+.include <bsd.port.pre.mk> >+ >+.if ${PYTHON_REL} < 30800 >+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR} >+.endif >+ >+post-patch: >+ @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/testing/test_parseopt.py >+ >+# test_cache_failure_warns fails >+# https://github.com/pytest-dev/pytest/issues/1845 >+do-test: >+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -k 'not test_cache_failure_warns' >+ >+.include <bsd.port.post.mk> >diff --git a/devel/py-pytest4/distinfo b/devel/py-pytest4/distinfo >new file mode 100644 >index 000000000000..db173fdad5c5 >--- /dev/null >+++ b/devel/py-pytest4/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1620405525 >+SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353 >+SIZE (pytest-4.6.11.tar.gz) = 952305 >diff --git a/devel/py-pytest/files/patch-testing-test_parseopt.py b/devel/py-pytest4/files/patch-testing-test_parseopt.py >similarity index 100% >rename from devel/py-pytest/files/patch-testing-test_parseopt.py >rename to devel/py-pytest4/files/patch-testing-test_parseopt.py >diff --git a/devel/py-pytest4/pkg-descr b/devel/py-pytest4/pkg-descr >new file mode 100644 >index 000000000000..fe225513bc2a >--- /dev/null >+++ b/devel/py-pytest4/pkg-descr >@@ -0,0 +1,12 @@ >+The pytest testing tool makes it easy to write small tests, yet scales to >+support complex functional testing. >+ >+Features: >+ >+ * Detailed info on failing assert statements >+ * Auto-discovery of test modules and functions >+ * Modular fixtures to manage small or parametrized long-lived test resources >+ * Can run unittest (or trial), nose test suites out of the box >+ * Rich plugin architecture, with over 315+ external plugins >+ >+WWW: https://docs.pytest.org/en/latest/
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 256624
:
225833
|
226076
|
226168
|
226194
|
226195
|
226196
|
226197
|
226639
|
226640
|
226643
|
226644
|
232778
|
232944
|
232958