Date: Tue, 10 Mar 2026 14:16:41 +0000 From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7aa728c7f2e1 - main - devel/py-binaryornot: Update to 0.6.0 Message-ID: <69b027c9.335da.b11ffa4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=7aa728c7f2e19b74ce0ffd9d12473d4ff31fe5fc commit 7aa728c7f2e19b74ce0ffd9d12473d4ff31fe5fc Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2026-03-10 14:15:58 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2026-03-10 14:15:58 +0000 devel/py-binaryornot: Update to 0.6.0 * Switch to the PEP517 build framework. * Make the port concurrent safe as it installs a script outside of Python's site-lib directory. * Update WWW to point to renamed upstream repository. * Modernize the test suite as well. Changelogs since 0.4.4: https://github.com/binaryornot/binaryornot/releases/tag/v0.5.0 https://github.com/binaryornot/binaryornot/releases/tag/v0.6.0 --- devel/py-binaryornot/Makefile | 20 +++++++++++--------- devel/py-binaryornot/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 12 deletions(-) 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 <bsd.port.mk> 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) = 478718home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b027c9.335da.b11ffa4>
