commit: 8dfa3d8ae0052b6ac00b17d78aac4b144af10044 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Mar 9 02:12:31 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Mar 9 03:04:04 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfa3d8a
dev-python/binaryornot: Bump to 0.6.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/binaryornot/Manifest | 2 ++ dev-python/binaryornot/binaryornot-0.6.0.ebuild | 39 +++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest index c9ceb7bd86b7..76c13b4f65e5 100644 --- a/dev-python/binaryornot/Manifest +++ b/dev-python/binaryornot/Manifest @@ -1,3 +1,5 @@ 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 +DIST binaryornot-0.6.0.tar.gz 478718 BLAKE2B 2c26bbdbf9ab852eaa0369b68cb55ea0af1d23ffd7925471e4335abbefbc0fce0b693156f964f0a168089409ca763449a312d46c335934e8facf056dcaa806eb SHA512 df92e603c2b8ebb751c61a9c9aaf4d7849c07490e9541c1fde7f8bb7c90e54a88d09b5ac4abc43764ddeeb7847d0c7dee1f66cd8e63005d047657be4fb86d499 +DIST binaryornot-0.6.0.tar.gz.provenance 9717 BLAKE2B c9530d86b77ed4798b75244647db7609301f452d77326c556e08d0c6b6738f1f4a7b060ca87091053033bc7fbdc073c9732d434c9600bc1f01f7e527843ecca1 SHA512 9a80bb572d72c7a3a735f3a8e70dd960e4aedc00dce501f3ea5fd0f8c861243c30140372034be522498ee33fe0c25420410e0cf8fe249ccd0c7782e2ed2528ce diff --git a/dev-python/binaryornot/binaryornot-0.6.0.ebuild b/dev-python/binaryornot/binaryornot-0.6.0.ebuild new file mode 100644 index 000000000000..d580b329f77e --- /dev/null +++ b/dev-python/binaryornot/binaryornot-0.6.0.ebuild @@ -0,0 +1,39 @@ +# 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_negative_binary + # sdist test, requires Internet + tests/test_sdist.py::TestSdistContents::test_sdist_includes_pyc_fixtures +)
