From cc5ddec0bbae3bf2151f62ef22d19b5e85cb8f35 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Feb 2024 23:39:38 +0000 Subject: gentoo auto-resync : 19:02:2024 - 23:39:38 --- dev-python/pythran/Manifest | 2 +- dev-python/pythran/pythran-0.15.0-r1.ebuild | 76 +++++++++++++++++++++++++++++ dev-python/pythran/pythran-0.15.0.ebuild | 72 --------------------------- 3 files changed, 77 insertions(+), 73 deletions(-) create mode 100644 dev-python/pythran/pythran-0.15.0-r1.ebuild delete mode 100644 dev-python/pythran/pythran-0.15.0.ebuild (limited to 'dev-python/pythran') diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest index 0d37dba50a7e..3c0d19fd3548 100644 --- a/dev-python/pythran/Manifest +++ b/dev-python/pythran/Manifest @@ -3,5 +3,5 @@ DIST pythran-0.14.0.gh.tar.gz 3642431 BLAKE2B cd5eeca0c52b0c3d17862b38c176b435a6 DIST pythran-0.15.0.gh.tar.gz 3676474 BLAKE2B 2b9c08d773f7848cf43c804ffa9a84eb19d20dbc40668657daea9698fb468e62ec86226f39aa3b8ff07b48a3120604b44a9d6a6c9e7f2b5f0f41ba2e9a201231 SHA512 2abba0ab5328e60d622512aa6c5442fcc28edb4da4209db50ede64961b58c91c2109b7bb90e5872c5c0d487542f669dc2ca3e721c28229e283f6e0130f95aee0 EBUILD pythran-0.13.1.ebuild 1710 BLAKE2B 8c6bafdd9cf45c2952e5f4ca7b5d6d1362350dbdefa46d4c8ac1dacbe3ace1c6890b27c741250765690a15cd90f639fc9bbb3ef7047d963f40be091f403a5795 SHA512 4e404e3068c6d57cf6c5e7167eb6402e41d2fac8ac5429ff03a260bafc99dafe406635f8bfad9210f1a9ceb1aacccf17e2f06ebb18f2be77ac01c743b6080c4e EBUILD pythran-0.14.0.ebuild 2084 BLAKE2B 1c471d24c7e08e51e9f986dce498328ee592331b3ad527fd185fb850320b87f680ede0d93496ad41cc8e879cb44a8ad95ed59c18f55bb74293cdda841b610907 SHA512 7921a242c4ab3b632eb1a11a24ed6fb9726a97b579e26f9f3a4ce5141e8c3976c2c4960845b11f8b7c229fd37e9b6430041cef99abc3e9af293120b58f599888 -EBUILD pythran-0.15.0.ebuild 1549 BLAKE2B 8f0c6c7bd7b506dd8298ae20ccacd8fcc5bbbb7f77bf86f49de3b65413e0c73b144dfcf7e853a940be9d73736ca8486897ca6f91ac736c66c90d0e02142cfacb SHA512 2b15e99d26fb77b42df064d88cd8f13d4b69350367f24e271ff3acdbc7145b43bd5cf66d5ce5e4e4b1f7d108df33ab4f4332e803dee5fcd99ea2919e436ca926 +EBUILD pythran-0.15.0-r1.ebuild 1650 BLAKE2B da5d97c5601109b4248da846678e8ffc87b43c234ff66acd213f292d87ab1877c71164328b149365429734a6b162cfabd1758a36a51d686caca07de7eade7a25 SHA512 63986971c15636d3759746837f6667c6a3f59521cb29602572c28ce179920f95be9c831e4dd0e23e8282d3b4b7eddb3527253d296b65d389507c90c572bd9fd6 MISC metadata.xml 354 BLAKE2B e7ec71fae294f6f697b0fd99b0ccef24049af7999866344e8da2ebc40bc2988a21f2cb0374b52b781a5f8b55f26ebca364dc93f4e69d957a3ff6bd3c32cd988d SHA512 9008d270ea6757557482edb55c5848aea9a29abfbbad65d93000660a1e51ad2456a2b7ccfcacb80da23b3dd38cee2c4da9645aed48a35edb4a497bbe3a80dd7f diff --git a/dev-python/pythran/pythran-0.15.0-r1.ebuild b/dev-python/pythran/pythran-0.15.0-r1.ebuild new file mode 100644 index 000000000000..dabf2bf2232e --- /dev/null +++ b/dev-python/pythran/pythran-0.15.0-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_TESTED=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) + +inherit distutils-r1 + +MY_P=${P/_p/.post} +DESCRIPTION="Ahead of Time compiler for numeric kernels" +HOMEPAGE=" + https://pypi.org/project/pythran/ + https://github.com/serge-sans-paille/pythran/ +" +SRC_URI=" + https://github.com/serge-sans-paille/pythran/archive/${PV/_p/.post}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND=" + dev-libs/boost + dev-cpp/xsimd + =dev-python/beniget-0.4*[${PYTHON_USEDEP}] + =dev-python/gast-0.5*[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + >=dev-python/ply-3.4[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-libs/boost + dev-cpp/xsimd + ) +" +BDEPEND=" + test? ( + $(python_gen_cond_dep ' + dev-python/ipython[${PYTHON_USEDEP}] + dev-python/pip[${PYTHON_USEDEP}] + dev-python/scipy[${PYTHON_USEDEP}] + ' "${PYTHON_TESTED[@]}") + dev-python/wheel[${PYTHON_USEDEP}] + virtual/cblas + !!dev-python/setuptools-declarative-requirements + ) +" + +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_configure() { + # vendored C++ headers -- use system copies + rm -r pythran/{boost,xsimd} || die + + if use test ; then + # https://bugs.gentoo.org/916461 + sed -i \ + -e 's|blas=blas|blas=cblas|' \ + -e 's|libs=|libs=cblas|' \ + pythran/pythran-*.cfg || die + fi +} + +python_test() { + local -x COLUMNS=80 + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} diff --git a/dev-python/pythran/pythran-0.15.0.ebuild b/dev-python/pythran/pythran-0.15.0.ebuild deleted file mode 100644 index f7dd12b222d8..000000000000 --- a/dev-python/pythran/pythran-0.15.0.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( pypy3 python3_{10..12} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" ) - -inherit distutils-r1 - -MY_P=${P/_p/.post} -DESCRIPTION="Ahead of Time compiler for numeric kernels" -HOMEPAGE=" - https://pypi.org/project/pythran/ - https://github.com/serge-sans-paille/pythran/ -" -SRC_URI=" - https://github.com/serge-sans-paille/pythran/archive/${PV/_p/.post}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" - -RDEPEND=" - dev-libs/boost - =dev-python/beniget-0.4*[${PYTHON_USEDEP}] - =dev-python/gast-0.5*[${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - >=dev-python/ply-3.4[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] -" -DEPEND=" - dev-libs/boost - dev-cpp/xsimd -" -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/ipython[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] - dev-python/scipy[${PYTHON_USEDEP}] - ' "${PYTHON_TESTED[@]}") - dev-python/wheel[${PYTHON_USEDEP}] - virtual/cblas - !!dev-python/setuptools-declarative-requirements - ) -" - -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_configure() { - # sigh - rm -r pythran/{boost,xsimd} || die - - if use test ; then - sed -i \ - -e 's|blas=blas|blas=cblas|' \ - -e 's|libs=|libs=cblas|' \ - pythran/pythran-*.cfg || die - fi -} - -python_test() { - local -x COLUMNS=80 - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -} -- cgit v1.2.3