diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 18:59:30 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-08 18:59:30 +0000 |
commit | 1e1e7636b59380beebd325e8d256875e4f824230 (patch) | |
tree | cac3706b236cea47f66f8d45afc943890cd4375e /dev-python/pythran | |
parent | 5cbf14acf23c82626389931f64cfe3ef12a1c29f (diff) |
gentoo auto-resync : 08:01:2024 - 18:59:30
Diffstat (limited to 'dev-python/pythran')
-rw-r--r-- | dev-python/pythran/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pythran/pythran-0.15.0.ebuild | 72 |
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest index 6ca5cc25ee3c..ce5cf4fd97ce 100644 --- a/dev-python/pythran/Manifest +++ b/dev-python/pythran/Manifest @@ -1,5 +1,7 @@ DIST pythran-0.13.1.gh.tar.gz 3639196 BLAKE2B 8aba73c68542d69dd2287d7081226161ecade9e49fe6ea69d034f9116becbc148614212cbcff0056291809d2994caf43ee374393939e44635c6bed69220b29b8 SHA512 2497fa49d78ff64e577816f4b48bd424c03f04b7605c92d359f0f8514aaa67b30b7e68248db475c215deafaf7e55f7b4b74ab37c9dbef2a27e813878bf350e77 DIST pythran-0.14.0.gh.tar.gz 3642431 BLAKE2B cd5eeca0c52b0c3d17862b38c176b435a63a1f399e66979b8ac2682625cd0b0e074265e79bfdb6e57db989633954266132752e9b50c601ff43ae5c17c3e34bf5 SHA512 2a485c00b015abafc9ded28bfea8d8a7ae3ce87b5b654c318d5514fe12fd9374b599c05e3c4a2ff911fbae84df2efaa3cec2019c91e82ac1f36e0cc5ddeb2d8e +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 2087 BLAKE2B 6c477a732d93f18084d131cc20076d60733d5ce609ac0dd46a274da01546ef6045e1a89e2ccb092d72e1d2cb5a1a195a2cca99c4bbf432098219da3bb93329b1 SHA512 7075a10ea5c65ee9e3b9d932a40bba7a0ea74e6c870216c4dd459a0e6666fd9f3184a00a02a0a579f31725e36de2b92c5e4b21ca12b8f28d9cfd378189132db5 +EBUILD pythran-0.15.0.ebuild 1554 BLAKE2B e700d37523964c86d395a96d91c568b7bceca7ca780eafe9998346f1ee871e4f78dd849e21c74bca3f62c729015d30d2caa7de65290c88c42e01811435899864 SHA512 a3f3d7acbfd7fb209109a6b9704ac841fb4542b85bddde895c77fba4b15d4f9e2902ea0c5c5e05edbe249fe347a773d80383b3e82aad33586a0ef502d6ff2f4f MISC metadata.xml 354 BLAKE2B e7ec71fae294f6f697b0fd99b0ccef24049af7999866344e8da2ebc40bc2988a21f2cb0374b52b781a5f8b55f26ebca364dc93f4e69d957a3ff6bd3c32cd988d SHA512 9008d270ea6757557482edb55c5848aea9a29abfbbad65d93000660a1e51ad2456a2b7ccfcacb80da23b3dd38cee2c4da9645aed48a35edb4a497bbe3a80dd7f diff --git a/dev-python/pythran/pythran-0.15.0.ebuild b/dev-python/pythran/pythran-0.15.0.ebuild new file mode 100644 index 000000000000..fcab910cab02 --- /dev/null +++ b/dev-python/pythran/pythran-0.15.0.ebuild @@ -0,0 +1,72 @@ +# 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 +} |