diff options
author | adam <adam@pkgsrc.org> | 2021-05-25 10:31:48 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-05-25 10:31:48 +0000 |
commit | 219a304ad55e6e7f4e460c6df9ea1e00624a29c2 (patch) | |
tree | 8166f0e9c909d934afe1cd7cf21ce127ae7e3624 /devel | |
parent | 21009f27c20b01ea2e2c8fd45f8c64b42b07a657 (diff) | |
download | pkgsrc-219a304ad55e6e7f4e460c6df9ea1e00624a29c2.tar.gz |
py-parameterized: updated to 0.8.1
0.8.1 (2021-01-09)
* Add README and LICENSE to pypi sdist package
0.8.0 (2021-01-04)
* Handle camelCase test names. This is an ever-so-slightly backwards
incompatible change, as the method for determining which methods are
test methods has changed from ``method_name.startswith("test_")`` to
``method_name.startswith("test")``. The latter is the behavior of
the ``unittest`` module.
* Fix arguments to skip_on_empty helper
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-parameterized/Makefile | 13 | ||||
-rw-r--r-- | devel/py-parameterized/distinfo | 10 |
2 files changed, 16 insertions, 7 deletions
diff --git a/devel/py-parameterized/Makefile b/devel/py-parameterized/Makefile index 08d7c5e1169..9beae39ca33 100644 --- a/devel/py-parameterized/Makefile +++ b/devel/py-parameterized/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.5 2020/04/15 09:51:27 adam Exp $ +# $NetBSD: Makefile,v 1.6 2021/05/25 10:31:48 adam Exp $ -DISTNAME= parameterized-0.7.4 +DISTNAME= parameterized-0.8.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/parameterized/} @@ -10,7 +10,16 @@ HOMEPAGE= https://github.com/wolever/parameterized COMMENT= Parameterized testing with any Python test framework LICENSE= modified-bsd +TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock +TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose + USE_LANGUAGES= # none +PYTHON_VERSIONED_DEPENDENCIES= test:test + +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} parameterized/test.py + .include "../../lang/python/egg.mk" +.include "../../lang/python/versioned_dependencies.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-parameterized/distinfo b/devel/py-parameterized/distinfo index 165d7107d12..95e73513b4f 100644 --- a/devel/py-parameterized/distinfo +++ b/devel/py-parameterized/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.6 2020/04/15 09:51:27 adam Exp $ +$NetBSD: distinfo,v 1.7 2021/05/25 10:31:48 adam Exp $ -SHA1 (parameterized-0.7.4.tar.gz) = 0c1cdcd4bf6f2892f71fbd8fd387af4d0c1b00f5 -RMD160 (parameterized-0.7.4.tar.gz) = 6c2073cd992119c6878aad3982dd6cb1b8f885f6 -SHA512 (parameterized-0.7.4.tar.gz) = 71c51ad57900f5b1b6f4866c60ba4d23649df7740e7f7e735a2e0faf4810bc8dc552a1647da8c174f8a0b80db7de5727ce24dabc9fee6b4cfe12ee98c18945d7 -Size (parameterized-0.7.4.tar.gz) = 23389 bytes +SHA1 (parameterized-0.8.1.tar.gz) = 144f58915cf77222f6463003c426643520f9ec9c +RMD160 (parameterized-0.8.1.tar.gz) = a9038d08e8c26a89085c4b308bafe884e647982c +SHA512 (parameterized-0.8.1.tar.gz) = ad6e31b2bb27623bf070ee5c30686a5bd6a531bc71602f77ca6aa01a77fc246caaacca121098dcbe13b1a174cdcfafa6545bf6e62f6a5337a647821c02fac64a +Size (parameterized-0.8.1.tar.gz) = 23936 bytes |