commit:     a22d37240f6b170b275e92d99e10d5d8a62073e5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  7 15:30:36 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 15:37:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22d3724

dev-python/binaryornot: Bump to 0.5.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/binaryornot/Manifest                 |  2 ++
 dev-python/binaryornot/binaryornot-0.5.0.ebuild | 40 +++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest
index e37ca0fcbdb4..c9ceb7bd86b7 100644
--- a/dev-python/binaryornot/Manifest
+++ b/dev-python/binaryornot/Manifest
@@ -1 +1,3 @@
 DIST binaryornot-0.4.4.tar.gz 371054 BLAKE2B 
4a70e22eba51a266987308e8d1b4571ace5760f945920194a1a61f4336f33dcb655c4f0b1f760aa3502834d29a1a64ac62657e5d73eac8f1d7d02edf71db8af9
 SHA512 
379e71b41824b9389ea02c64223e26c57694d07b749c197e3a6b9f10558c8d502e9b93a13ae6c3a4bca49064ffc650ce822073dc312fb06e50e06b8a3f04f419
+DIST binaryornot-0.5.0.tar.gz 428528 BLAKE2B 
34e54a341c33610da95833244c26a973d271222fd5152716c758dcb2fe77b877455add559c5fc3e951f57a045a4c2281bd2187e5a4ed54fea12085606c749355
 SHA512 
c68ef23b8ff18167d3e08df5e3fee89f5a28c2193bc01e831785feb158627ac2582ce85c570081459ed6cab48587eddede52a3ac1d1ca173e93197e8806d5b88
+DIST binaryornot-0.5.0.tar.gz.provenance 9901 BLAKE2B 
80478d187a027a6f5a05650d2ad83825ea7a52264bf5e6505b27fa00b9340ae1708011d6a40ff2a149e14f4ec2cf26ddb8dd2ee97bd353abca1a248e75301737
 SHA512 
62c6a845e3e68aa587113cdeabe02011b037dfb8ba7eb1fd5d84b88816b53e7caf0919fc9f5ab16397d1aef3cf2875212e580b5e23f3653a6a3708627909a363

diff --git a/dev-python/binaryornot/binaryornot-0.5.0.ebuild 
b/dev-python/binaryornot/binaryornot-0.5.0.ebuild
new file mode 100644
index 000000000000..2077ca64db23
--- /dev/null
+++ b/dev-python/binaryornot/binaryornot-0.5.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYPI_VERIFY_REPO=https://github.com/binaryornot/binaryornot
+PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is 
binary or text"
+HOMEPAGE="
+       https://github.com/binaryornot/binaryornot/
+       https://pypi.org/project/binaryornot/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+       test? (
+               dev-python/hypothesis[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # missing data files
+       # https://github.com/binaryornot/binaryornot/issues/641
+       tests/test_check.py::TestIsBinary::test_ds_store
+       tests/test_check.py::TestProgrammingArtifacts::test_binary_empty_pyc
+       tests/test_check.py::TestProgrammingArtifacts::test_binary_pyc
+       
tests/test_check.py::TestProgrammingArtifacts::test_binary_troublesome_pyc
+)

Reply via email to