summaryrefslogtreecommitdiff
path: root/devel/py-pytest4
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--devel/py-pytest4-cache/Makefile32
-rw-r--r--devel/py-pytest4-cache/distinfo3
-rw-r--r--devel/py-pytest4-cache/files/patch-setup.py36
-rw-r--r--devel/py-pytest4-cache/pkg-descr1
-rw-r--r--devel/py-pytest4-cov/Makefile30
-rw-r--r--devel/py-pytest4-cov/distinfo3
-rw-r--r--devel/py-pytest4-cov/pkg-descr6
-rw-r--r--devel/py-pytest4-flakes/Makefile28
-rw-r--r--devel/py-pytest4-flakes/distinfo3
-rw-r--r--devel/py-pytest4-flakes/pkg-descr1
-rw-r--r--devel/py-pytest4/Makefile62
-rw-r--r--devel/py-pytest4/distinfo3
-rw-r--r--devel/py-pytest4/files/patch-testing-test_parseopt.py11
-rw-r--r--devel/py-pytest4/pkg-descr10
14 files changed, 0 insertions, 229 deletions
diff --git a/devel/py-pytest4-cache/Makefile b/devel/py-pytest4-cache/Makefile
deleted file mode 100644
index 70fa9c2ea820..000000000000
--- a/devel/py-pytest4-cache/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-PORTNAME= pytest4-cache
-PORTVERSION= 1.0
-PORTREVISION= 1
-CATEGORIES= devel python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION}
-
-MAINTAINER= loader@FreeBSD.org
-COMMENT= Pytest plugin with mechanisms for caching across test runs (legacy version for pytest 4)
-WWW= https://bitbucket.org/hpk42/pytest-cache/
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expiring devel/py-pytest4
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-cache
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=2.2:devel/py-pytest4@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet@${PY_FLAVOR}
-TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR}
-
-NO_ARCH= yes
-USES= python
-USE_PYTHON= autoplist distutils
-DO_MAKE_TEST= ${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
-TEST_TARGET= test
-PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//}
-
-.include <bsd.port.mk>
diff --git a/devel/py-pytest4-cache/distinfo b/devel/py-pytest4-cache/distinfo
deleted file mode 100644
index 919dc0f71ed9..000000000000
--- a/devel/py-pytest4-cache/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1649284663
-SHA256 (pytest-cache-1.0.tar.gz) = be7468edd4d3d83f1e844959fd6e3fd28e77a481440a7118d430130ea31b07a9
-SIZE (pytest-cache-1.0.tar.gz) = 16242
diff --git a/devel/py-pytest4-cache/files/patch-setup.py b/devel/py-pytest4-cache/files/patch-setup.py
deleted file mode 100644
index 75426dd0c02d..000000000000
--- a/devel/py-pytest4-cache/files/patch-setup.py
+++ /dev/null
@@ -1,36 +0,0 @@
---- setup.py.orig 2013-06-04 19:10:04 UTC
-+++ setup.py
-@@ -1,4 +1,24 @@
- from setuptools import setup
-+from setuptools.command.test import test as TestCommand
-+
-+class PyTest(TestCommand):
-+ user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
-+
-+ def initialize_options(self):
-+ TestCommand.initialize_options(self)
-+ self.pytest_args = []
-+
-+ def finalize_options(self):
-+ TestCommand.finalize_options(self)
-+ self.test_args = []
-+ self.test_suite = True
-+
-+ def run_tests(self):
-+ # import here, because outside the eggs aren't loaded
-+ import pytest
-+ errno = pytest.main(self.pytest_args)
-+ sys.exit(errno)
-+
- setup(
- name='pytest-cache',
- description='pytest plugin with mechanisms for caching across test runs',
-@@ -10,6 +30,8 @@ setup(
- py_modules=['pytest_cache'],
- entry_points={'pytest11': ['cacheprovider = pytest_cache']},
- install_requires=['pytest>=2.2', 'execnet>=1.1.dev1', ],
-+ tests_require=['pytest'],
-+ cmdclass={'test': PyTest},
- classifiers=[
- 'Development Status :: 3 - Alpha',
- 'Intended Audience :: Developers',
diff --git a/devel/py-pytest4-cache/pkg-descr b/devel/py-pytest4-cache/pkg-descr
deleted file mode 100644
index 3a22082396c7..000000000000
--- a/devel/py-pytest4-cache/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-pytest plugin with mechanisms for caching across test runs.
diff --git a/devel/py-pytest4-cov/Makefile b/devel/py-pytest4-cov/Makefile
deleted file mode 100644
index 04ca8ac30946..000000000000
--- a/devel/py-pytest4-cov/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-PORTNAME= pytest4-cov
-PORTVERSION= 2.9.0
-PORTREVISION= 1
-CATEGORIES= devel python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION}
-
-MAINTAINER= dbaio@FreeBSD.org
-COMMENT= Pytest plugin for measuring coverage (legacy version for pytest 4)
-WWW= https://github.com/pytest-dev/pytest-cov
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expiring devel/py-pytest4
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-cov
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=4.4:devel/py-coverage@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pytest4>=3.6:devel/py-pytest4@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= autoplist concurrent distutils
-PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//}
-
-NO_ARCH= yes
-
-.include <bsd.port.mk>
diff --git a/devel/py-pytest4-cov/distinfo b/devel/py-pytest4-cov/distinfo
deleted file mode 100644
index dfe93af0583b..000000000000
--- a/devel/py-pytest4-cov/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1590933452
-SHA256 (pytest-cov-2.9.0.tar.gz) = b6a814b8ed6247bd81ff47f038511b57fe1ce7f4cc25b9106f1a4b106f1d9322
-SIZE (pytest-cov-2.9.0.tar.gz) = 54269
diff --git a/devel/py-pytest4-cov/pkg-descr b/devel/py-pytest4-cov/pkg-descr
deleted file mode 100644
index 412f3e2ca2c5..000000000000
--- a/devel/py-pytest4-cov/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-This plugin produces coverage reports. It supports centralised testing and
-distributed testing in both load and each modes. It also supports coverage of
-subprocesses.
-
-All features offered by the coverage package should be available, either through
-pytest-cov or through coverage's config file.
diff --git a/devel/py-pytest4-flakes/Makefile b/devel/py-pytest4-flakes/Makefile
deleted file mode 100644
index 008caa9a9d69..000000000000
--- a/devel/py-pytest4-flakes/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-PORTNAME= pytest4-flakes
-PORTVERSION= 4.0.5
-PORTREVISION= 1
-CATEGORIES= devel python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME:C/4//}-${PORTVERSION}
-
-MAINTAINER= yuri@FreeBSD.org
-COMMENT= Pytest plugin for efficiently checking python source with pyflakes (legacy version for pytest4)
-WWW= https://github.com/fschulze/pytest-flakes
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expiring devel/py-pytest4
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest-flakes
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>=2.8.0:devel/py-pytest4@${PY_FLAVOR}
-
-USES= python
-USE_PYTHON= distutils autoplist
-NO_ARCH= yes
-PYDISTUTILS_PKGNAME= ${PORTNAME:C/4//}
-
-.include <bsd.port.mk>
diff --git a/devel/py-pytest4-flakes/distinfo b/devel/py-pytest4-flakes/distinfo
deleted file mode 100644
index d82fb3f8aed0..000000000000
--- a/devel/py-pytest4-flakes/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1714112551
-SHA256 (pytest-flakes-4.0.5.tar.gz) = 953134e97215ae31f6879fbd7368c18d43f709dc2fab5b7777db2bb2bac3a924
-SIZE (pytest-flakes-4.0.5.tar.gz) = 7313
diff --git a/devel/py-pytest4-flakes/pkg-descr b/devel/py-pytest4-flakes/pkg-descr
deleted file mode 100644
index 07e6f78cd414..000000000000
--- a/devel/py-pytest4-flakes/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-pytest plugin to check source code with pyflakes.
diff --git a/devel/py-pytest4/Makefile b/devel/py-pytest4/Makefile
deleted file mode 100644
index 3aaa97dcacbc..000000000000
--- a/devel/py-pytest4/Makefile
+++ /dev/null
@@ -1,62 +0,0 @@
-PORTNAME= pytest
-PORTVERSION= 4.6.11
-PORTREVISION= 2
-PORTEPOCH= 1
-CATEGORIES= devel python
-MASTER_SITES= PYPI
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX= 4
-
-MAINTAINER= python@FreeBSD.org
-COMMENT= Simple powerful testing with Python (legacy version 4)
-WWW= https://docs.pytest.org/en/latest/
-
-LICENSE= MIT
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Depends on expired devel/py-atomicwrites
-EXPIRATION_DATE=2025-06-21
-
-CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}pytest
-
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=40.0:devel/py-setuptools@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${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}pluggy0>=0.12<1.0:devel/py-pluggy0@${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
-USE_PYTHON= autoplist concurrent pep517
-
-NO_ARCH= yes
-
-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.mk>
diff --git a/devel/py-pytest4/distinfo b/devel/py-pytest4/distinfo
deleted file mode 100644
index db173fdad5c5..000000000000
--- a/devel/py-pytest4/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1620405525
-SHA256 (pytest-4.6.11.tar.gz) = 50fa82392f2120cc3ec2ca0a75ee615be4c479e66669789771f1758332be4353
-SIZE (pytest-4.6.11.tar.gz) = 952305
diff --git a/devel/py-pytest4/files/patch-testing-test_parseopt.py b/devel/py-pytest4/files/patch-testing-test_parseopt.py
deleted file mode 100644
index 22683ffee3af..000000000000
--- a/devel/py-pytest4/files/patch-testing-test_parseopt.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- testing/test_parseopt.py.orig 2020-06-05 12:09:03 UTC
-+++ testing/test_parseopt.py
-@@ -305,7 +305,7 @@ def test_argcomplete(testdir, monkeypatch):
- # redirect output from argcomplete to stdin and stderr is not trivial
- # http://stackoverflow.com/q/12589419/1307905
- # so we use bash
-- fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" python -m pytest 8>&1 9>&2')
-+ fp.write('COMP_WORDBREAKS="$COMP_WORDBREAKS" %%PYTHON_CMD%% -m pytest 8>&1 9>&2')
- # alternative would be exteneded Testdir.{run(),_run(),popen()} to be able
- # to handle a keyword argument env that replaces os.environ in popen or
- # extends the copy, advantage: could not forget to restore
diff --git a/devel/py-pytest4/pkg-descr b/devel/py-pytest4/pkg-descr
deleted file mode 100644
index 7dc46df7aed8..000000000000
--- a/devel/py-pytest4/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-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