commit:     c9563b2ee37fa58df631b20535ce366e966c0558
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  5 04:27:10 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov  5 04:59:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9563b2e

dev-python/statsmodels: Enable py3.11

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/statsmodels/statsmodels-0.13.5.ebuild | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/dev-python/statsmodels/statsmodels-0.13.5.ebuild 
b/dev-python/statsmodels/statsmodels-0.13.5.ebuild
index 5caea8067c6e..ee45e827714e 100644
--- a/dev-python/statsmodels/statsmodels-0.13.5.ebuild
+++ b/dev-python/statsmodels/statsmodels-0.13.5.ebuild
@@ -4,29 +4,37 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
+
 inherit distutils-r1 multiprocessing optfeature
 
 DESCRIPTION="Statistical computations and models for use with SciPy"
-HOMEPAGE="https://www.statsmodels.org/stable/index.html";
+HOMEPAGE="
+       https://www.statsmodels.org/stable/index.html
+       https://github.com/statsmodels/statsmodels/
+       https://pypi.org/project/statsmodels/
+"
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~x86 ~amd64-linux 
~x86-linux"
 IUSE="examples"
 
 DEPEND="
        >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
-       >=dev-python/scipy-1.3[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}
+       >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
+"
+RDEPEND="
+       ${DEPEND}
        >=dev-python/numpy-1.17[${PYTHON_USEDEP}]
        >=dev-python/packaging-21.3[${PYTHON_USEDEP}]
        >=dev-python/pandas-0.25[${PYTHON_USEDEP}]
        >=dev-python/patsy-0.5.2[${PYTHON_USEDEP}]
        >=dev-python/scipy-1.3[${PYTHON_USEDEP}]
 "
-BDEPEND="${DEPEND}
+BDEPEND="
+       ${DEPEND}
        dev-python/cython[${PYTHON_USEDEP}]
        test? (
                dev-python/pytest-xdist[${PYTHON_USEDEP}]
@@ -62,8 +70,7 @@ python_test() {
        )
 
        cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-       epytest ${PN} -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
-       rm -r ${PN}/.pytest_cache || die
+       epytest ${PN} -n "$(makeopts_jobs)"
 }
 
 python_install_all() {

Reply via email to