summaryrefslogtreecommitdiff
path: root/dev-python/pythran
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-01 23:15:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-01 23:15:56 +0100
commit85a2a2153ef8027c2ba1be45143cd91914be0ad0 (patch)
treead0163abb9755ef7f76a919d9225f26559a27076 /dev-python/pythran
parent4de024ca2423b3aa77a91dd34ef0b70aff64f768 (diff)
gentoo auto-resync : 01:04:2023 - 23:15:55
Diffstat (limited to 'dev-python/pythran')
-rw-r--r--dev-python/pythran/Manifest8
-rw-r--r--dev-python/pythran/files/pythran-0.10.0-tests-werror.patch11
-rw-r--r--dev-python/pythran/files/pythran-0.12.0-gcc13.patch36
-rw-r--r--dev-python/pythran/pythran-0.11.0.ebuild51
-rw-r--r--dev-python/pythran/pythran-0.12.0-r2.ebuild66
-rw-r--r--dev-python/pythran/pythran-0.12.1.ebuild2
6 files changed, 2 insertions, 172 deletions
diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest
index 78f51f3cd2ca..ba8bc68c7df5 100644
--- a/dev-python/pythran/Manifest
+++ b/dev-python/pythran/Manifest
@@ -1,9 +1,3 @@
-AUX pythran-0.10.0-tests-werror.patch 480 BLAKE2B ac7b6fe2cd4b4aeed3be4baf2a433ff48ae9e2bedc7be70c04122bf097906480e57d077ed485e0e47c6414d390e64fdef47d5ef77a890af99403defcc43b0bc8 SHA512 e699298e03b5d0e868aa2704100f47368baf2477c4f3632d97f1c65af0ff6babbbecab3c083f09f09353194dedc3b77b653b1b8ae9ac7967ebc65c8932bf8bdf
-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.1.ebuild 1534 BLAKE2B 435cac5467ff2e6c904da6985cd0cfa8b9a8e1b7f8913f4c99da88e41c23c0ab8a2157da1665cd0c24c17abcc257519d9f962e4b915cffe7aa34f2d45f3cbeb2 SHA512 f1aeb807ffc241f37bdaf5a61adc482a642fb5114ea334a12ce0371d31e9f539af05875434de03c797c32d2e534e7733ab442e6c9de285997539e88b0f62b32c
+EBUILD pythran-0.12.1.ebuild 1532 BLAKE2B 4fea6f91b125cf3f8d679d0887ce007d3dcd911dbfab69174fe708bafdc1baeeee0ef68d33e10ef498b5d60446ccfca262bf5b1213127fca19aaba8d6a977be1 SHA512 78ea63912cc58f004870050b817e70c2b6105ecb5757bcb57ece8ec58873b33f92f355d9035c8e5f62446113ded274e16011a19d95eb46408f888d07364b911c
MISC metadata.xml 354 BLAKE2B e7ec71fae294f6f697b0fd99b0ccef24049af7999866344e8da2ebc40bc2988a21f2cb0374b52b781a5f8b55f26ebca364dc93f4e69d957a3ff6bd3c32cd988d SHA512 9008d270ea6757557482edb55c5848aea9a29abfbbad65d93000660a1e51ad2456a2b7ccfcacb80da23b3dd38cee2c4da9645aed48a35edb4a497bbe3a80dd7f
diff --git a/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch b/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch
deleted file mode 100644
index 17c0630a5d1e..000000000000
--- a/dev-python/pythran/files/pythran-0.10.0-tests-werror.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/pythran/tests/__init__.py
-+++ b/pythran/tests/__init__.py
-@@ -71,7 +71,7 @@ class TestEnv(unittest.TestCase):
-
- module = pytest.mark.module
- # default options used for the c++ compiler
-- PYTHRAN_CXX_FLAGS = ['-O0', '-Wall', '-Werror', '-UNDEBUG',
-+ PYTHRAN_CXX_FLAGS = ['-O0', '-Wall', '-UNDEBUG',
- '-Wno-unused-function',
- '-Wno-int-in-bool-context',
- '-Wno-unknown-warning-option',
diff --git a/dev-python/pythran/files/pythran-0.12.0-gcc13.patch b/dev-python/pythran/files/pythran-0.12.0-gcc13.patch
deleted file mode 100644
index d7b9f28f0f45..000000000000
--- a/dev-python/pythran/files/pythran-0.12.0-gcc13.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-https://github.com/serge-sans-paille/pythran/pull/2029
-
-From 13a89edad477077331ae8071eadf239e88adea0c Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 28 Oct 2022 12:47:35 +0100
-Subject: [PATCH] Fix build with GCC 13 (missing <cstdint> include)
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-When building scipy, one gets:
-```
-/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:304:17: error: ‘uint8_t’ was not declared in this scope
- 304 | SCALAR_COMBINER(uint8_t)
- | ^~~~~~~
-/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:300:21: note: in definition of macro ‘SCALAR_COMBINER’
- 300 | struct __combined<Type, Type> { \
- | ^~~~
-/usr/lib/python3.10/site-packages/pythran/pythonic/include/types/combined.hpp:5:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
- 4 | #include "pythonic/include/types/traits.hpp"
- +++ |+#include <cstdint>
-```
-
-Bug: https://bugs.gentoo.org/878527
---- a/pythran/pythonic/include/types/combined.hpp
-+++ b/pythran/pythonic/include/types/combined.hpp
-@@ -1,6 +1,8 @@
- #ifndef PYTHONIC_INCLUDE_TYPES_COMBINED_HPP
- #define PYTHONIC_INCLUDE_TYPES_COMBINED_HPP
-
-+#include <cstdint>
-+
- #include "pythonic/include/types/traits.hpp"
- PYTHONIC_NS_BEGIN
- namespace types
-
diff --git a/dev-python/pythran/pythran-0.11.0.ebuild b/dev-python/pythran/pythran-0.11.0.ebuild
deleted file mode 100644
index 05448449ad1d..000000000000
--- a/dev-python/pythran/pythran-0.11.0.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 2021-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-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 ppc ppc64 ~riscv ~sparc x86"
-
-RDEPEND="
- =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? (
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- virtual/cblas
- )"
-
-distutils_enable_tests pytest
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.10.0-tests-werror.patch
-)
-
-src_prepare() {
- sed -i -e '/pytest-runner/d' setup.py || die
- distutils-r1_src_prepare
-}
-
-python_test() {
- local -x COLUMNS=80
- epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
-}
diff --git a/dev-python/pythran/pythran-0.12.0-r2.ebuild b/dev-python/pythran/pythran-0.12.0-r2.ebuild
deleted file mode 100644
index 9f44a7f1d5d7..000000000000
--- a/dev-python/pythran/pythran-0.12.0-r2.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# 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..10} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 )
-
-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
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.10.0-tests-werror.patch
- "${FILESDIR}"/${PN}-0.12.0-gcc13.patch
-)
-
-src_configure() {
- # TODO: package xsimd then set no_xsimd = True
- cat >> setup.cfg <<-EOF
- [build_py]
- no_boost = True
- EOF
-}
-
-python_test() {
- local -x COLUMNS=80
- epytest -n "$(makeopts_jobs)"
-}
diff --git a/dev-python/pythran/pythran-0.12.1.ebuild b/dev-python/pythran/pythran-0.12.1.ebuild
index 8633f5f0b86b..6b30dfcf7a7f 100644
--- a/dev-python/pythran/pythran-0.12.1.ebuild
+++ b/dev-python/pythran/pythran-0.12.1.ebuild
@@ -23,7 +23,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86"
+KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
dev-libs/boost