SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
31
devel/py-test-arraydiff/Makefile
Normal file
31
devel/py-test-arraydiff/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
|||
COMMENT = pytest plugin to generate/compare data arrays
|
||||
|
||||
MODPY_EGG_VERSION = 0.5.0
|
||||
|
||||
DISTNAME = pytest-arraydiff-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME:S/py//}
|
||||
REVISION = 1
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://github.com/astropy/pytest-arraydiff
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools_scm
|
||||
|
||||
FLAVOR = python3
|
||||
FLAVORS = python3
|
||||
|
||||
RUN_DEPENDS = devel/py-test${MODPY_FLAVOR} \
|
||||
math/py-numpy${MODPY_FLAVOR}
|
||||
TEST_DEPENDS = astro/py-astropy${MODPY_FLAVOR}
|
||||
|
||||
pre-test:
|
||||
ln -fs ${LOCALBASE}/bin/py.test ${WRKDIR}/bin/pytest
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-test-arraydiff/distinfo
Normal file
2
devel/py-test-arraydiff/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (pytest-arraydiff-0.5.0.tar.gz) = cUFJvv/Q36CFR3xleRwRObYZYCsElTY1POGpE5f7O9I=
|
||||
SIZE (pytest-arraydiff-0.5.0.tar.gz) = 12355
|
11
devel/py-test-arraydiff/pkg/DESCR
Normal file
11
devel/py-test-arraydiff/pkg/DESCR
Normal file
|
@ -0,0 +1,11 @@
|
|||
This is a py.test plugin to facilitate the generation and comparison
|
||||
of data arrays produced during tests, in particular in cases where the
|
||||
arrays are too large to conveniently hard-code them in the tests (e.g.
|
||||
np.testing.assert_allclose(x, [1, 2, 3])).
|
||||
|
||||
The basic idea is that you can write a test that generates a Numpy
|
||||
array (or other related objects depending on the format, e.g. pandas
|
||||
DataFrame). You can then either run the tests in a mode to generate
|
||||
reference files from the arrays, or you can run the tests in comparison
|
||||
mode, which will compare the results of the tests to the reference ones
|
||||
within some tolerance.
|
18
devel/py-test-arraydiff/pkg/PLIST
Normal file
18
devel/py-test-arraydiff/pkg/PLIST
Normal file
|
@ -0,0 +1,18 @@
|
|||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/LICENSE
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/METADATA
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/RECORD
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/WHEEL
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/entry_points.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff-${MODPY_EGG_VERSION}.dist-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}plugin.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}plugin.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/plugin.py
|
||||
lib/python${MODPY_VERSION}/site-packages/pytest_arraydiff/version.py
|
Loading…
Add table
Add a link
Reference in a new issue