pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-hamcrest: added version 1.9.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fd4786dc258d
branches:  trunk
changeset: 383179:fd4786dc258d
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jul 24 15:08:19 2018 +0000

description:
py-hamcrest: added version 1.9.0

PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used.

When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
controlled level of precision, helps greatly in writing tests that are "just
right." Such tests fail when the behavior of the aspect under test deviates
from the expected behavior, yet continue to pass when minor, unrelated changes
to the behaviour are made.

diffstat:

 devel/Makefile             |    3 +-
 devel/py-hamcrest/DESCR    |   14 +++
 devel/py-hamcrest/Makefile |   18 ++++
 devel/py-hamcrest/PLIST    |  175 +++++++++++++++++++++++++++++++++++++++++++++
 devel/py-hamcrest/distinfo |    6 +
 5 files changed, 215 insertions(+), 1 deletions(-)

diffs (246 lines):

diff -r 6d3c6d24c570 -r fd4786dc258d devel/Makefile
--- a/devel/Makefile    Tue Jul 24 14:52:59 2018 +0000
+++ b/devel/Makefile    Tue Jul 24 15:08:19 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2705 2018/07/22 22:42:53 minskim Exp $
+# $NetBSD: Makefile,v 1.2706 2018/07/24 15:08:19 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2017,6 +2017,7 @@
 SUBDIR+=       py-grako
 SUBDIR+=       py-greenlet
 SUBDIR+=       py-h5py
+SUBDIR+=       py-hamcrest
 SUBDIR+=       py-hash
 SUBDIR+=       py-hg-evolve
 SUBDIR+=       py-hg-fastimport
diff -r 6d3c6d24c570 -r fd4786dc258d devel/py-hamcrest/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hamcrest/DESCR   Tue Jul 24 15:08:19 2018 +0000
@@ -0,0 +1,14 @@
+PyHamcrest is a framework for writing matcher objects, allowing you to
+declaratively define "match" rules. There are a number of situations where
+matchers are invaluable, such as UI validation, or data filtering, but it is in
+the area of writing flexible tests that matchers are most commonly used.
+
+When writing tests it is sometimes difficult to get the balance right between
+overspecifying the test (and making it brittle to changes), and not specifying
+enough (making the test less valuable since it continues to pass even when the
+thing being tested is broken). Having a tool that allows you to pick out
+precisely the aspect under test and describe the values it should have, to a
+controlled level of precision, helps greatly in writing tests that are "just
+right." Such tests fail when the behavior of the aspect under test deviates
+from the expected behavior, yet continue to pass when minor, unrelated changes
+to the behaviour are made.
diff -r 6d3c6d24c570 -r fd4786dc258d devel/py-hamcrest/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hamcrest/Makefile        Tue Jul 24 15:08:19 2018 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2018/07/24 15:08:19 adam Exp $
+
+DISTNAME=      PyHamcrest-1.9.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^PyH/h/}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=P/PyHamcrest/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/hamcrest/PyHamcrest
+COMMENT=       Framework for writing matcher objects
+LICENSE=       modified-bsd
+
+DEPENDS+=      ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6d3c6d24c570 -r fd4786dc258d devel/py-hamcrest/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hamcrest/PLIST   Tue Jul 24 15:08:19 2018 +0000
@@ -0,0 +1,175 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/24 15:08:19 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/pbr.json
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/hamcrest/__init__.py
+${PYSITELIB}/hamcrest/__init__.pyc
+${PYSITELIB}/hamcrest/__init__.pyo
+${PYSITELIB}/hamcrest/core/__init__.py
+${PYSITELIB}/hamcrest/core/__init__.pyc
+${PYSITELIB}/hamcrest/core/__init__.pyo
+${PYSITELIB}/hamcrest/core/assert_that.py
+${PYSITELIB}/hamcrest/core/assert_that.pyc
+${PYSITELIB}/hamcrest/core/assert_that.pyo
+${PYSITELIB}/hamcrest/core/base_description.py
+${PYSITELIB}/hamcrest/core/base_description.pyc
+${PYSITELIB}/hamcrest/core/base_description.pyo
+${PYSITELIB}/hamcrest/core/base_matcher.py
+${PYSITELIB}/hamcrest/core/base_matcher.pyc
+${PYSITELIB}/hamcrest/core/base_matcher.pyo
+${PYSITELIB}/hamcrest/core/compat.py
+${PYSITELIB}/hamcrest/core/compat.pyc
+${PYSITELIB}/hamcrest/core/compat.pyo
+${PYSITELIB}/hamcrest/core/core/__init__.py
+${PYSITELIB}/hamcrest/core/core/__init__.pyc
+${PYSITELIB}/hamcrest/core/core/__init__.pyo
+${PYSITELIB}/hamcrest/core/core/allof.py
+${PYSITELIB}/hamcrest/core/core/allof.pyc
+${PYSITELIB}/hamcrest/core/core/allof.pyo
+${PYSITELIB}/hamcrest/core/core/anyof.py
+${PYSITELIB}/hamcrest/core/core/anyof.pyc
+${PYSITELIB}/hamcrest/core/core/anyof.pyo
+${PYSITELIB}/hamcrest/core/core/described_as.py
+${PYSITELIB}/hamcrest/core/core/described_as.pyc
+${PYSITELIB}/hamcrest/core/core/described_as.pyo
+${PYSITELIB}/hamcrest/core/core/is_.py
+${PYSITELIB}/hamcrest/core/core/is_.pyc
+${PYSITELIB}/hamcrest/core/core/is_.pyo
+${PYSITELIB}/hamcrest/core/core/isanything.py
+${PYSITELIB}/hamcrest/core/core/isanything.pyc
+${PYSITELIB}/hamcrest/core/core/isanything.pyo
+${PYSITELIB}/hamcrest/core/core/isequal.py
+${PYSITELIB}/hamcrest/core/core/isequal.pyc
+${PYSITELIB}/hamcrest/core/core/isequal.pyo
+${PYSITELIB}/hamcrest/core/core/isinstanceof.py
+${PYSITELIB}/hamcrest/core/core/isinstanceof.pyc
+${PYSITELIB}/hamcrest/core/core/isinstanceof.pyo
+${PYSITELIB}/hamcrest/core/core/isnone.py
+${PYSITELIB}/hamcrest/core/core/isnone.pyc
+${PYSITELIB}/hamcrest/core/core/isnone.pyo
+${PYSITELIB}/hamcrest/core/core/isnot.py
+${PYSITELIB}/hamcrest/core/core/isnot.pyc
+${PYSITELIB}/hamcrest/core/core/isnot.pyo
+${PYSITELIB}/hamcrest/core/core/issame.py
+${PYSITELIB}/hamcrest/core/core/issame.pyc
+${PYSITELIB}/hamcrest/core/core/issame.pyo
+${PYSITELIB}/hamcrest/core/core/raises.py
+${PYSITELIB}/hamcrest/core/core/raises.pyc
+${PYSITELIB}/hamcrest/core/core/raises.pyo
+${PYSITELIB}/hamcrest/core/description.py
+${PYSITELIB}/hamcrest/core/description.pyc
+${PYSITELIB}/hamcrest/core/description.pyo
+${PYSITELIB}/hamcrest/core/helpers/__init__.py
+${PYSITELIB}/hamcrest/core/helpers/__init__.pyc
+${PYSITELIB}/hamcrest/core/helpers/__init__.pyo
+${PYSITELIB}/hamcrest/core/helpers/hasmethod.py
+${PYSITELIB}/hamcrest/core/helpers/hasmethod.pyc
+${PYSITELIB}/hamcrest/core/helpers/hasmethod.pyo
+${PYSITELIB}/hamcrest/core/helpers/wrap_matcher.py
+${PYSITELIB}/hamcrest/core/helpers/wrap_matcher.pyc
+${PYSITELIB}/hamcrest/core/helpers/wrap_matcher.pyo
+${PYSITELIB}/hamcrest/core/matcher.py
+${PYSITELIB}/hamcrest/core/matcher.pyc
+${PYSITELIB}/hamcrest/core/matcher.pyo
+${PYSITELIB}/hamcrest/core/selfdescribing.py
+${PYSITELIB}/hamcrest/core/selfdescribing.pyc
+${PYSITELIB}/hamcrest/core/selfdescribing.pyo
+${PYSITELIB}/hamcrest/core/selfdescribingvalue.py
+${PYSITELIB}/hamcrest/core/selfdescribingvalue.pyc
+${PYSITELIB}/hamcrest/core/selfdescribingvalue.pyo
+${PYSITELIB}/hamcrest/core/string_description.py
+${PYSITELIB}/hamcrest/core/string_description.pyc
+${PYSITELIB}/hamcrest/core/string_description.pyo
+${PYSITELIB}/hamcrest/library/__init__.py
+${PYSITELIB}/hamcrest/library/__init__.pyc
+${PYSITELIB}/hamcrest/library/__init__.pyo
+${PYSITELIB}/hamcrest/library/collection/__init__.py
+${PYSITELIB}/hamcrest/library/collection/__init__.pyc
+${PYSITELIB}/hamcrest/library/collection/__init__.pyo
+${PYSITELIB}/hamcrest/library/collection/is_empty.py
+${PYSITELIB}/hamcrest/library/collection/is_empty.pyc
+${PYSITELIB}/hamcrest/library/collection/is_empty.pyo
+${PYSITELIB}/hamcrest/library/collection/isdict_containing.py
+${PYSITELIB}/hamcrest/library/collection/isdict_containing.pyc
+${PYSITELIB}/hamcrest/library/collection/isdict_containing.pyo
+${PYSITELIB}/hamcrest/library/collection/isdict_containingentries.py
+${PYSITELIB}/hamcrest/library/collection/isdict_containingentries.pyc
+${PYSITELIB}/hamcrest/library/collection/isdict_containingentries.pyo
+${PYSITELIB}/hamcrest/library/collection/isdict_containingkey.py
+${PYSITELIB}/hamcrest/library/collection/isdict_containingkey.pyc
+${PYSITELIB}/hamcrest/library/collection/isdict_containingkey.pyo
+${PYSITELIB}/hamcrest/library/collection/isdict_containingvalue.py
+${PYSITELIB}/hamcrest/library/collection/isdict_containingvalue.pyc
+${PYSITELIB}/hamcrest/library/collection/isdict_containingvalue.pyo
+${PYSITELIB}/hamcrest/library/collection/isin.py
+${PYSITELIB}/hamcrest/library/collection/isin.pyc
+${PYSITELIB}/hamcrest/library/collection/isin.pyo
+${PYSITELIB}/hamcrest/library/collection/issequence_containing.py
+${PYSITELIB}/hamcrest/library/collection/issequence_containing.pyc
+${PYSITELIB}/hamcrest/library/collection/issequence_containing.pyo
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginanyorder.py
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginanyorder.pyc
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginanyorder.pyo
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginorder.py
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginorder.pyc
+${PYSITELIB}/hamcrest/library/collection/issequence_containinginorder.pyo
+${PYSITELIB}/hamcrest/library/collection/issequence_onlycontaining.py
+${PYSITELIB}/hamcrest/library/collection/issequence_onlycontaining.pyc
+${PYSITELIB}/hamcrest/library/collection/issequence_onlycontaining.pyo
+${PYSITELIB}/hamcrest/library/integration/__init__.py
+${PYSITELIB}/hamcrest/library/integration/__init__.pyc
+${PYSITELIB}/hamcrest/library/integration/__init__.pyo
+${PYSITELIB}/hamcrest/library/integration/match_equality.py
+${PYSITELIB}/hamcrest/library/integration/match_equality.pyc
+${PYSITELIB}/hamcrest/library/integration/match_equality.pyo
+${PYSITELIB}/hamcrest/library/number/__init__.py
+${PYSITELIB}/hamcrest/library/number/__init__.pyc
+${PYSITELIB}/hamcrest/library/number/__init__.pyo
+${PYSITELIB}/hamcrest/library/number/iscloseto.py
+${PYSITELIB}/hamcrest/library/number/iscloseto.pyc
+${PYSITELIB}/hamcrest/library/number/iscloseto.pyo
+${PYSITELIB}/hamcrest/library/number/ordering_comparison.py
+${PYSITELIB}/hamcrest/library/number/ordering_comparison.pyc
+${PYSITELIB}/hamcrest/library/number/ordering_comparison.pyo
+${PYSITELIB}/hamcrest/library/object/__init__.py
+${PYSITELIB}/hamcrest/library/object/__init__.pyc
+${PYSITELIB}/hamcrest/library/object/__init__.pyo
+${PYSITELIB}/hamcrest/library/object/haslength.py
+${PYSITELIB}/hamcrest/library/object/haslength.pyc
+${PYSITELIB}/hamcrest/library/object/haslength.pyo
+${PYSITELIB}/hamcrest/library/object/hasproperty.py
+${PYSITELIB}/hamcrest/library/object/hasproperty.pyc
+${PYSITELIB}/hamcrest/library/object/hasproperty.pyo
+${PYSITELIB}/hamcrest/library/object/hasstring.py
+${PYSITELIB}/hamcrest/library/object/hasstring.pyc
+${PYSITELIB}/hamcrest/library/object/hasstring.pyo
+${PYSITELIB}/hamcrest/library/text/__init__.py
+${PYSITELIB}/hamcrest/library/text/__init__.pyc
+${PYSITELIB}/hamcrest/library/text/__init__.pyo
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_case.py
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_case.pyc
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_case.pyo
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_whitespace.py
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_whitespace.pyc
+${PYSITELIB}/hamcrest/library/text/isequal_ignoring_whitespace.pyo
+${PYSITELIB}/hamcrest/library/text/stringcontains.py
+${PYSITELIB}/hamcrest/library/text/stringcontains.pyc
+${PYSITELIB}/hamcrest/library/text/stringcontains.pyo
+${PYSITELIB}/hamcrest/library/text/stringcontainsinorder.py
+${PYSITELIB}/hamcrest/library/text/stringcontainsinorder.pyc
+${PYSITELIB}/hamcrest/library/text/stringcontainsinorder.pyo
+${PYSITELIB}/hamcrest/library/text/stringendswith.py
+${PYSITELIB}/hamcrest/library/text/stringendswith.pyc
+${PYSITELIB}/hamcrest/library/text/stringendswith.pyo
+${PYSITELIB}/hamcrest/library/text/stringmatches.py
+${PYSITELIB}/hamcrest/library/text/stringmatches.pyc
+${PYSITELIB}/hamcrest/library/text/stringmatches.pyo
+${PYSITELIB}/hamcrest/library/text/stringstartswith.py
+${PYSITELIB}/hamcrest/library/text/stringstartswith.pyc
+${PYSITELIB}/hamcrest/library/text/stringstartswith.pyo
+${PYSITELIB}/hamcrest/library/text/substringmatcher.py
+${PYSITELIB}/hamcrest/library/text/substringmatcher.pyc
+${PYSITELIB}/hamcrest/library/text/substringmatcher.pyo
diff -r 6d3c6d24c570 -r fd4786dc258d devel/py-hamcrest/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-hamcrest/distinfo        Tue Jul 24 15:08:19 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/24 15:08:19 adam Exp $
+
+SHA1 (PyHamcrest-1.9.0.tar.gz) = e9edf0bd613f10540a92e403005fbdaccbc8c868
+RMD160 (PyHamcrest-1.9.0.tar.gz) = f5fa85ec3e29c3ec41e28ae8e690700fbf2025a1
+SHA512 (PyHamcrest-1.9.0.tar.gz) = 3b8393d0079b619b208ec7f06ed5133c4ff9d9dba050f818adf56347fc2225fd1c85d60f3dc262b7b9722061f0b8e4966180b6b96245a371e578d0d51633b4b0
+Size (PyHamcrest-1.9.0.tar.gz) = 376623 bytes



Home | Main Index | Thread Index | Old Index