summaryrefslogtreecommitdiff
path: root/dev-python/pythran
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-17 01:13:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-17 01:13:38 +0000
commit0e82736d0df44565875b055019ded1be0ac5c319 (patch)
treebd9daea4309088c78f6b358305ab15849d97d159 /dev-python/pythran
parent79be8f00e2aa293669b8e22e1ef02d2d5c5f9e25 (diff)
gentoo auto-resync : 17:01:2023 - 01:13:38
Diffstat (limited to 'dev-python/pythran')
-rw-r--r--dev-python/pythran/Manifest2
-rw-r--r--dev-python/pythran/pythran-0.12.1.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest
index ccf9aafda6f2..514271979394 100644
--- a/dev-python/pythran/Manifest
+++ b/dev-python/pythran/Manifest
@@ -2,7 +2,9 @@ AUX pythran-0.10.0-tests-werror.patch 480 BLAKE2B ac7b6fe2cd4b4aeed3be4baf2a433f
AUX pythran-0.12.0-gcc13.patch 1472 BLAKE2B f385cfd607a77a72fd5815502416b267342dc6d9307b5d6974ea4a5188233b19efaf389fa90051b9435130a63aa892870a9d573d3c7f50a5cdf83b034a15d3d1 SHA512 b42398b068da7fbe35e9f8fdf76579102347f63f63b94ed2db1966b15e3ff53c26a1a015a8a5a53a36d4e0cd1ed4689f9f4fae120741dd6804fc9a3adc78404a
DIST pythran-0.11.0.gh.tar.gz 3582011 BLAKE2B 532afe9edd84d2699254bcad330dc03fcda4defce73997ec9feecf1a9e0c8f4fd407a5c4ebae7e10f96463a43453137953dc3e4df010ae7fb63d540d41b79f53 SHA512 bd703148f26a0511f5a21e691e62f4e9b7bf5a92548f8ac837b2d24135917b71b052941180c9801f29c457018eb57e5f5107a509d6815d8dd8ddab1b8626b1a1
DIST pythran-0.12.0.gh.tar.gz 3589256 BLAKE2B 5eeba4b7d73e56cc2b696098edb085e11d406485960614b50426e3df7c425ad22537ae72a2931a9ec318ab23153660da543ec1890f03379981eee10a34b82cea SHA512 8f698cb2efc8e53005a6a18b81b9119796d56e638c4634d3a9268bc8d4ac340c7ff1a26212f17210ad7200eb8a3e0f9dd20702d9d9c51f24a76dadc7d0877693
+DIST pythran-0.12.1.gh.tar.gz 3631063 BLAKE2B c680639a88cd63398f88ee6f5325da288c06549bfef2ee649e27dd92114a2690f54fb3da730c4eb30ff9b7ef297c219bafa5f7f7153b7710d348859a04716e84 SHA512 05c4e1d03de3eebccbb915e13c70a36de293152aece58066f2d91d483d3ac920d61c7a76adcb2337f60e637734451775f0fc61341b0ef9fc4f074a752e39de9d
EBUILD pythran-0.11.0.ebuild 1216 BLAKE2B a52ebc760871fe23a5c742cd7b33c65999ddf17026c32812cdacdffec35ea92554ea58006bc88ad69d803545e9e4ca18327a2317294872727c1d0a2d8e991bba SHA512 4aee5e367450d8e37c1362196b6775b93278c8c6fc81858e31637cd92b87121e0fc131c6fe2bf3579f6b51e3565b1e695788a68326f2d03cd1e93d73b8a4405b
EBUILD pythran-0.12.0-r2.ebuild 1493 BLAKE2B fcb8190747e56f4a839b97ed359050b576df5afa3b77b2b15e67827605ea8bd7ec703435abd2856f99695c4d6a5dac0d0d2eee922e19a9fdbf3b700e5ba3163e SHA512 efecabc6d32a28048ba7b77a5b1a9bd57c9e5418157f2eff42631f54ae67d547af270c91c333a0f78971bc344c2333893437b74147978a598a7d3c41a518908e
EBUILD pythran-0.12.0.ebuild 1190 BLAKE2B f58ca94bc60ec7bec52df971326730a6e10e827e46a3163c8ba952f4d2455f906f5a69b97ffac4aadf964546ff538d0117ef6f116cfa75d3eb5b0ce5f436b91b SHA512 72983201aa746848dbf0705cfe0e73b67b892cf6142fd7e0a3bcbf60a33662f301dbfd2889317772a91043c218bba295da03ae5c0a1cba4852e82b39552d674f
+EBUILD pythran-0.12.1.ebuild 1538 BLAKE2B f9d150049a3d6b4067d78ff939b304d7ee35558de22f2ae8dbe1325c7f4e4d21a86ba98293ce68c5bdd23f578a4e32a2bc105ab742283b0b599c0ded6e1cba6f SHA512 c176edb63eb2aada6cd25961c0bccd9ff28394db271e4866ea73f8ba91f067e1a27552c128552519a4cb644e01fbba3d158c42da0e95624c87f231ab4b25a985
MISC metadata.xml 354 BLAKE2B e7ec71fae294f6f697b0fd99b0ccef24049af7999866344e8da2ebc40bc2988a21f2cb0374b52b781a5f8b55f26ebca364dc93f4e69d957a3ff6bd3c32cd988d SHA512 9008d270ea6757557482edb55c5848aea9a29abfbbad65d93000660a1e51ad2456a2b7ccfcacb80da23b3dd38cee2c4da9645aed48a35edb4a497bbe3a80dd7f
diff --git a/dev-python/pythran/pythran-0.12.1.ebuild b/dev-python/pythran/pythran-0.12.1.ebuild
new file mode 100644
index 000000000000..dc2e38c346cc
--- /dev/null
+++ b/dev-python/pythran/pythran-0.12.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_TESTED=( python3_{9..11} )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
+
+inherit distutils-r1 multiprocessing
+
+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 ~ia64 ~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}]
+"
+BDEPEND="
+ test? (
+ $(python_gen_cond_dep '
+ dev-python/ipython[${PYTHON_USEDEP}]
+ ' "${PYTHON_TESTED[@]}")
+ dev-python/pytest-xdist[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+ virtual/cblas
+ !!dev-python/setuptools-declarative-requirements
+ )
+"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ # TODO: package xsimd then set no_xsimd = True
+ cat >> setup.cfg <<-EOF
+ [build_py]
+ no_boost = True
+ EOF
+}
+
+python_test() {
+ local EPYTEST_DESELECT=(
+ # TODO
+ pythran/tests/test_xdoc.py::TestDoctest::test_cli
+ pythran/tests/test_xdoc.py::TestDoctest::test_toolchain
+ )
+
+ local -x COLUMNS=80
+ epytest -n "$(makeopts_jobs)"
+}