pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-parameterized



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May 25 10:31:48 UTC 2021

Modified Files:
        pkgsrc/devel/py-parameterized: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-parameterized/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-parameterized/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-parameterized/Makefile
diff -u pkgsrc/devel/py-parameterized/Makefile:1.5 pkgsrc/devel/py-parameterized/Makefile:1.6
--- pkgsrc/devel/py-parameterized/Makefile:1.5  Wed Apr 15 09:51:27 2020
+++ pkgsrc/devel/py-parameterized/Makefile      Tue May 25 10:31:48 2021
@@ -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/par
 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"

Index: pkgsrc/devel/py-parameterized/distinfo
diff -u pkgsrc/devel/py-parameterized/distinfo:1.6 pkgsrc/devel/py-parameterized/distinfo:1.7
--- pkgsrc/devel/py-parameterized/distinfo:1.6  Wed Apr 15 09:51:27 2020
+++ pkgsrc/devel/py-parameterized/distinfo      Tue May 25 10:31:48 2021
@@ -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