Move dev-python/{ml_dtypes → ml-dtypes}

Signed-off-by: Jason Zaman <perfinion@gentoo.org>
This commit is contained in:
Jason Zaman
2024-02-04 11:39:01 -08:00
parent a70e79661f
commit 9f5e70d044
7 changed files with 8 additions and 5 deletions

View File

@@ -7,6 +7,6 @@
</maintainer>
<upstream>
<remote-id type="github">jax-ml/ml_dtypes</remote-id>
<remote-id type="pypi">ml_dtypes</remote-id>
<remote-id type="pypi">ml-dtypes</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -3,6 +3,7 @@
EAPI=8
PNGH="${PN/-/_}" # pypi is ml-dtypes, github is ml_dtypes
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
@@ -13,7 +14,7 @@ EIGEN_CommitId="7bf2968fed5f246c0589e1111004cb420fcd7c71"
DESCRIPTION="A stand-alone implementation of several NumPy dtype extensions"
HOMEPAGE="https://github.com/jax-ml/ml_dtypes"
SRC_URI="
https://github.com/jax-ml/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/jax-ml/${PNGH}/archive/refs/tags/v${PV}.tar.gz -> ${PNGH}-${PV}.gh.tar.gz
https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_CommitId}/eigen-${EIGEN_CommitId}.tar.bz2
"

View File

@@ -3,6 +3,7 @@
EAPI=8
PNGH="${PN/-/_}" # pypi is ml-dtypes, github is ml_dtypes
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
@@ -13,7 +14,7 @@ EIGEN_CommitId="7bf2968fed5f246c0589e1111004cb420fcd7c71"
DESCRIPTION="A stand-alone implementation of several NumPy dtype extensions"
HOMEPAGE="https://github.com/jax-ml/ml_dtypes"
SRC_URI="
https://github.com/jax-ml/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://github.com/jax-ml/${PNGH}/archive/refs/tags/v${PV}.tar.gz -> ${PNGH}-${PV}.gh.tar.gz
https://gitlab.com/libeigen/eigen/-/archive/${EIGEN_CommitId}/eigen-${EIGEN_CommitId}.tar.bz2
"

View File

@@ -71,3 +71,4 @@ move dev-util/scap-driver dev-debug/scap-driver
move dev-util/icmake dev-build/icmake
move sci-libs/scikit-image dev-python/scikit-image
move dev-python/confusable_homoglyphs dev-python/confusable-homoglyphs
move dev-python/ml_dtypes dev-python/ml-dtypes

View File

@@ -123,7 +123,7 @@ RDEPEND="
~dev-python/flatbuffers-23.5.26[${PYTHON_USEDEP}]
>=dev-python/gast-0.3.3[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
<dev-python/ml_dtypes-0.3.0[${PYTHON_USEDEP}]
<dev-python/ml-dtypes-0.3.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19[${PYTHON_USEDEP}]
>=dev-python/google-pasta-0.1.8[${PYTHON_USEDEP}]
>=dev-python/opt-einsum-3.3.0[${PYTHON_USEDEP}]

View File

@@ -128,7 +128,7 @@ RDEPEND="
~dev-python/flatbuffers-23.5.26[${PYTHON_USEDEP}]
>=dev-python/gast-0.3.3[${PYTHON_USEDEP}]
dev-python/h5py[${PYTHON_USEDEP}]
>=dev-python/ml_dtypes-0.2.0[${PYTHON_USEDEP}]
>=dev-python/ml-dtypes-0.2.0[${PYTHON_USEDEP}]
>=dev-python/numpy-1.19[${PYTHON_USEDEP}]
>=dev-python/google-pasta-0.1.8[${PYTHON_USEDEP}]
>=dev-python/opt-einsum-3.3.0[${PYTHON_USEDEP}]