diff options
author | wiz <wiz@pkgsrc.org> | 2017-03-05 14:11:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2017-03-05 14:11:13 +0000 |
commit | 68c59d5b0491e51ae5e6d5d5d76ef40ce8d1398f (patch) | |
tree | 29d324c73286709f9231f5bd1f5f9e7d279a1a11 /devel | |
parent | 24dff9be5f75efa398f89df2da1754ab88165b4a (diff) | |
download | pkgsrc-68c59d5b0491e51ae5e6d5d5d76ef40ce8d1398f.tar.gz |
Import py-testresources-2.0.1 as devel/py-testresources.
testresources extends unittest with a clean and simple api to provide
test optimisation where expensive common resources are needed for
test cases - for example sample working trees for VCS systems,
reference databases for enterprise applications, or web servers ...
let your imagination run wild.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-testresources/DESCR | 5 | ||||
-rw-r--r-- | devel/py-testresources/Makefile | 25 | ||||
-rw-r--r-- | devel/py-testresources/PLIST | 32 | ||||
-rw-r--r-- | devel/py-testresources/distinfo | 6 |
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/py-testresources/DESCR b/devel/py-testresources/DESCR new file mode 100644 index 00000000000..bd2b5c83988 --- /dev/null +++ b/devel/py-testresources/DESCR @@ -0,0 +1,5 @@ +testresources extends unittest with a clean and simple api to provide +test optimisation where expensive common resources are needed for +test cases - for example sample working trees for VCS systems, +reference databases for enterprise applications, or web servers ... +let your imagination run wild. diff --git a/devel/py-testresources/Makefile b/devel/py-testresources/Makefile new file mode 100644 index 00000000000..416df73aec5 --- /dev/null +++ b/devel/py-testresources/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2017/03/05 14:11:13 wiz Exp $ + +DISTNAME= testresources-2.0.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_PYPI:=t/testresources/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://pypi.python.org/pypi/testresources +COMMENT= Pyunit extension for managing expensive test resources +LICENSE= apache-2.0 OR modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr +DEPENDS+= ${PYPKGPREFIX}-fixtures-[0-9]*:../../devel/py-fixtures +DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools +# TEST_DEPENDS +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +# circular dependency +#BUILD_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools + +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-testresources/PLIST b/devel/py-testresources/PLIST new file mode 100644 index 00000000000..2774e4bbc14 --- /dev/null +++ b/devel/py-testresources/PLIST @@ -0,0 +1,32 @@ +@comment $NetBSD: PLIST,v 1.1 2017/03/05 14:11:13 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/pbr.json +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/testresources/__init__.py +${PYSITELIB}/testresources/__init__.pyc +${PYSITELIB}/testresources/__init__.pyo +${PYSITELIB}/testresources/tests/TestUtil.py +${PYSITELIB}/testresources/tests/TestUtil.pyc +${PYSITELIB}/testresources/tests/TestUtil.pyo +${PYSITELIB}/testresources/tests/__init__.py +${PYSITELIB}/testresources/tests/__init__.pyc +${PYSITELIB}/testresources/tests/__init__.pyo +${PYSITELIB}/testresources/tests/test_optimising_test_suite.py +${PYSITELIB}/testresources/tests/test_optimising_test_suite.pyc +${PYSITELIB}/testresources/tests/test_optimising_test_suite.pyo +${PYSITELIB}/testresources/tests/test_resource_graph.py +${PYSITELIB}/testresources/tests/test_resource_graph.pyc +${PYSITELIB}/testresources/tests/test_resource_graph.pyo +${PYSITELIB}/testresources/tests/test_resourced_test_case.py +${PYSITELIB}/testresources/tests/test_resourced_test_case.pyc +${PYSITELIB}/testresources/tests/test_resourced_test_case.pyo +${PYSITELIB}/testresources/tests/test_test_loader.py +${PYSITELIB}/testresources/tests/test_test_loader.pyc +${PYSITELIB}/testresources/tests/test_test_loader.pyo +${PYSITELIB}/testresources/tests/test_test_resource.py +${PYSITELIB}/testresources/tests/test_test_resource.pyc +${PYSITELIB}/testresources/tests/test_test_resource.pyo diff --git a/devel/py-testresources/distinfo b/devel/py-testresources/distinfo new file mode 100644 index 00000000000..638383290f9 --- /dev/null +++ b/devel/py-testresources/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/03/05 14:11:13 wiz Exp $ + +SHA1 (testresources-2.0.1.tar.gz) = 85733befc541e472cab4e2291bf9d07de25aa203 +RMD160 (testresources-2.0.1.tar.gz) = a64ae41e10701844010f906e1c9c2f2c267b422b +SHA512 (testresources-2.0.1.tar.gz) = 0b23432b019400fe378e957d14a91083eef7fe1130a494b567a5274d69e4e8e09ab75861e5453c3f217507e144cf179c908f84dd1a807992d4bee0b8d32cb0f4 +Size (testresources-2.0.1.tar.gz) = 41948 bytes |