diff --git a/devel/py-binaryornot/Makefile b/devel/py-binaryornot/Makefile index a921f304be00..b1c893dab21d 100644 --- a/devel/py-binaryornot/Makefile +++ b/devel/py-binaryornot/Makefile @@ -1,25 +1,27 @@ PORTNAME= binaryornot -DISTVERSION= 0.4.4 -PORTREVISION= 1 +DISTVERSION= 0.6.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org COMMENT= Lightweight pure Python package to check if a file is binary or text -WWW= https://github.com/audreyr/binaryornot +WWW= https://github.com/binaryornot/binaryornot LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=3.0.2:textproc/py-chardet@${PY_FLAVOR} -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}uv>0:devel/py-uv@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist -NO_ARCH= yes +USE_PYTHON= autoplist concurrent pep517 pytest +# Both tests depends on files that aren't included in the sdist tarball +PYTEST_BROKEN_TESTS= test_negative_binary test_unreadable_file_raises + +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test +NO_ARCH= yes .include diff --git a/devel/py-binaryornot/distinfo b/devel/py-binaryornot/distinfo index d74a9e7d3ccb..d348c77c9710 100644 --- a/devel/py-binaryornot/distinfo +++ b/devel/py-binaryornot/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1530180513 -SHA256 (binaryornot-0.4.4.tar.gz) = 359501dfc9d40632edc9fac890e19542db1a287bbcfa58175b66658392018061 -SIZE (binaryornot-0.4.4.tar.gz) = 371054 +TIMESTAMP = 1773048347 +SHA256 (binaryornot-0.6.0.tar.gz) = cc8d57cfa71d74ff8c28a7726734d53a851d02fad9e3a5581fb807f989f702f0 +SIZE (binaryornot-0.6.0.tar.gz) = 478718