Install this version:
emerge -a =sci-chemistry/MDAnalysis-2.10.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-chemistry/MDAnalysis-2.10.0
Or alternatively:
emerge --autounmask-write -a =sci-chemistry/MDAnalysis-2.10.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 2.10.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
PYPI_NO_NORMALIZE=1
inherit distutils-r1
DESCRIPTION="A python library to analyze and manipulate molecular dynamics trajectories"
HOMEPAGE="https://www.mdanalysis.org https://github.com/MDAnalysis/mdanalysis"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/package-${PV}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/mdanalysis-package-${PV}/package"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
# TODO: fix this
# ImportError: MDAnalysis not installed properly. This can happen if your C extensions have not been built.
RESTRICT="test"
RDEPEND="
>=dev-python/numpy-1.16.0[${PYTHON_USEDEP}]
>=dev-python/scipy-1.0.0[${PYTHON_USEDEP}]
>=sci-biology/biopython-1.71[${PYTHON_USEDEP}]
>=dev-python/networkx-1.0[${PYTHON_USEDEP}]
>=dev-python/griddataformats-0.4.0[${PYTHON_USEDEP}]
>=dev-python/joblib-0.12[${PYTHON_USEDEP}]
>=dev-python/matplotlib-1.5.1[${PYTHON_USEDEP}]
>=dev-python/mmtf-python-1.0.0[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.43.0[${PYTHON_USEDEP}]
>=dev-python/gsd-1.9.3[${PYTHON_USEDEP}]
dev-python/threadpoolctl[${PYTHON_USEDEP}]
"
BDEPEND="${RDEPEND}
dev-python/cython[${PYTHON_USEDEP}]
"
distutils_enable_tests pytest
src_prepare() {
# fix deprecated NPY API
sed \
-e "s:NPY_IN_ARRAY:NPY_ARRAY_IN_ARRAY:g" \
-e "s:NPY_ALIGNED:NPY_ARRAY_ALIGNED:g" \
-e "s:NPY_ENSURECOPY:NPY_ARRAY_ENSURECOPY:g" \
-i MDAnalysis/lib/src/transformations/transformations.c || die
distutils-r1_src_prepare
}
>=dev-python/numpy-1.16.0[] >=dev-python/scipy-1.0.0[] >=sci-biology/biopython-1.71[] >=dev-python/networkx-1.0[] >=dev-python/griddataformats-0.4.0[] >=dev-python/joblib-0.12[] >=dev-python/matplotlib-1.5.1[] >=dev-python/mmtf-python-1.0.0[] >=dev-python/tqdm-4.43.0[] >=dev-python/gsd-1.9.3[] dev-python/threadpoolctl[]
>=dev-python/numpy-1.16.0[] >=dev-python/scipy-1.0.0[] >=sci-biology/biopython-1.71[] >=dev-python/networkx-1.0[] >=dev-python/griddataformats-0.4.0[] >=dev-python/joblib-0.12[] >=dev-python/matplotlib-1.5.1[] >=dev-python/mmtf-python-1.0.0[] >=dev-python/tqdm-4.43.0[] >=dev-python/gsd-1.9.3[] dev-python/threadpoolctl[] dev-python/cython[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | MDAnalysis-2.10.0.gh.tar.gz | 63494206 bytes | https://github.com/MDAnalysis/MDAnalysis/archive/refs/tags/package-2.10.0.tar.gz |