pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-parameterized py-parameterized: updated to 0.8.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/7cab890ac6a4
branches: trunk
changeset: 453204:7cab890ac6a4
user: adam <adam%pkgsrc.org@localhost>
date: Tue May 25 10:31:48 2021 +0000
description:
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:
devel/py-parameterized/Makefile | 13 +++++++++++--
devel/py-parameterized/distinfo | 10 +++++-----
2 files changed, 16 insertions(+), 7 deletions(-)
diffs (44 lines):
diff -r 545b9cc1209a -r 7cab890ac6a4 devel/py-parameterized/Makefile
--- a/devel/py-parameterized/Makefile Tue May 25 10:21:26 2021 +0000
+++ b/devel/py-parameterized/Makefile Tue May 25 10:31:48 2021 +0000
@@ -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 @@
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 -r 545b9cc1209a -r 7cab890ac6a4 devel/py-parameterized/distinfo
--- a/devel/py-parameterized/distinfo Tue May 25 10:21:26 2021 +0000
+++ b/devel/py-parameterized/distinfo Tue May 25 10:31:48 2021 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index