commit: 9b98fbb809bac40b5d3c043fc0321135e19900c7 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Nov 3 03:30:03 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Nov 3 03:36:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b98fbb8
dev-python/gfloat: Bump to 0.4 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/gfloat/Manifest | 1 + dev-python/gfloat/gfloat-0.4.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/gfloat/Manifest b/dev-python/gfloat/Manifest index d4627844d126..233be47aa270 100644 --- a/dev-python/gfloat/Manifest +++ b/dev-python/gfloat/Manifest @@ -1 +1,2 @@ DIST gfloat-0.3.tar.gz 43790 BLAKE2B 3b6628dd6410090a684bc253965e167297f4105e3690b9ac38c0192c202fbc7e02026103723721494d4826d835b70a217114335201ab1c329d6bac02412f9e7f SHA512 2df65a3a188e99d1aa3da1b067aa3eaa9aabc22f42414b773c312d9c8dae9baf34d797f947a1646ea89e1db8f2bdb5f97a9672c292e2e0a2a8312e0e6f2fc496 +DIST gfloat-0.4.tar.gz 590165 BLAKE2B 18545cf02f301839599171552b8a031f4c0c20bdf9be4263f8b2b43d6fa9316e10370421d96476dc538a5a751b4e00abf08261a898846459d6d38bce5778bfa7 SHA512 7a9ae161d25ba4349966a04bb6fa29e6c703d7e0303bfbf9702ec93613e03b4d83c85c27766adb171da3b8ea6059371fbb2815c21ad91dd1ba9c97ee088ea1a3 diff --git a/dev-python/gfloat/gfloat-0.4.ebuild b/dev-python/gfloat/gfloat-0.4.ebuild new file mode 100644 index 000000000000..073c3dceaa00 --- /dev/null +++ b/dev-python/gfloat/gfloat-0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Generic floating-point types in Python" +HOMEPAGE=" + https://github.com/graphcore-research/gfloat/ + https://pypi.org/project/gfloat/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +RDEPEND=" + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/ml-dtypes[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # require jax + docs/source/03-value-tables.ipynb + docs/source/04-benchmark.ipynb + test/test_jax.py + # requires mx (possibly git version), torch + test/test_microxcaling.py +)