diff options
Diffstat (limited to 'dev-python/binaryornot')
| -rw-r--r-- | dev-python/binaryornot/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/binaryornot/binaryornot-0.6.0.ebuild | 39 | ||||
| -rw-r--r-- | dev-python/binaryornot/metadata.xml | 10 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/binaryornot/Manifest b/dev-python/binaryornot/Manifest new file mode 100644 index 000000000000..5026212adaee --- /dev/null +++ b/dev-python/binaryornot/Manifest @@ -0,0 +1,2 @@ +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..4ad34956f1cb --- /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_{13..14} ) + +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 +) diff --git a/dev-python/binaryornot/metadata.xml b/dev-python/binaryornot/metadata.xml new file mode 100644 index 000000000000..5e95859f915a --- /dev/null +++ b/dev-python/binaryornot/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
