Skip to content

Commit

Permalink
py-hamcrest: update to 2.1.0.
Browse files Browse the repository at this point in the history
Hamcrest 2.1.0 (2023-10-22)
===========================

Features
--------

- Add a matcher for exceptions in asyncio future (`#171 <https://github.com/hamcrest/PyHamcrest/issues/171>`_)


Bugfixes
--------

- Use the correct generic type in the internal ``describe_keyvalue`` method (`#182 <https://github.com/hamcrest/PyHamcrest/issues/182>`_)
  • Loading branch information
0-wiz-0 committed Nov 5, 2023
1 parent e2d144b commit b6f9615
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
10 changes: 2 additions & 8 deletions devel/py-hamcrest/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.6 2023/10/28 19:57:00 wiz Exp $
# $NetBSD: Makefile,v 1.7 2023/11/05 00:43:09 wiz Exp $

DISTNAME= pyhamcrest-2.0.4
DISTNAME= pyhamcrest-2.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^pyh/h/}
PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=P/PyHamcrest/}

Expand All @@ -14,16 +13,11 @@ LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
TOOL_DEPENDS+= ${PYPKGPREFIX}-hatch-vcs-[0-9]*:../../devel/py-hatch-vcs
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=5.0:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist

USE_LANGUAGES= # none

PYTHON_VERSIONS_INCOMPATIBLE= 27

# only works after installation
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
5 changes: 4 additions & 1 deletion devel/py-hamcrest/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2023/10/28 19:57:00 wiz Exp $
@comment $NetBSD: PLIST,v 1.4 2023/11/05 00:43:09 wiz Exp $
${PYSITELIB}/hamcrest/__init__.py
${PYSITELIB}/hamcrest/__init__.pyc
${PYSITELIB}/hamcrest/__init__.pyo
Expand Down Expand Up @@ -29,6 +29,9 @@ ${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/future.py
${PYSITELIB}/hamcrest/core/core/future.pyc
${PYSITELIB}/hamcrest/core/core/future.pyo
${PYSITELIB}/hamcrest/core/core/is_.py
${PYSITELIB}/hamcrest/core/core/is_.pyc
${PYSITELIB}/hamcrest/core/core/is_.pyo
Expand Down
8 changes: 4 additions & 4 deletions devel/py-hamcrest/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.4 2022/11/27 10:41:35 adam Exp $
$NetBSD: distinfo,v 1.5 2023/11/05 00:43:09 wiz Exp $

BLAKE2s (pyhamcrest-2.0.4.tar.gz) = 46d1a3ec8d6829885fde38799f3f235b690380158987695123e380445347e436
SHA512 (pyhamcrest-2.0.4.tar.gz) = 0baec352a1a31d660dda99b77d95f3ed8281c32180984fedf44f77b3acc60176eff1abc674905eccee06a9a449497c82686a3256939bbc482595384da11c4abf
Size (pyhamcrest-2.0.4.tar.gz) = 57649 bytes
BLAKE2s (pyhamcrest-2.1.0.tar.gz) = a0612018330a6175982a689417d38f63cc7ccb4ba434ff96fecdc59ba64a7a64
SHA512 (pyhamcrest-2.1.0.tar.gz) = 63f25a5d8c989a33842e54b58d72ee248bdcd63d35309a7922d66fda824a0006922ebc6b7a01ee152a0b431de021ccf096e30dc4bb9ecb48cc2a70ac6ccd25aa
Size (pyhamcrest-2.1.0.tar.gz) = 60538 bytes

0 comments on commit b6f9615

Please sign in to comment.