Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pythran/
Date: Tue, 14 Sep 2021 08:59:16
Message-Id: 1631609942.39dbbe72446fea22e42be0b7d91f8917c59fd076.mgorny@gentoo
1 commit: 39dbbe72446fea22e42be0b7d91f8917c59fd076
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 14 06:20:31 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 14 08:59:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39dbbe72
7
8 dev-python/pythran: Bump to 0.10.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pythran/Manifest | 1 +
13 dev-python/pythran/pythran-0.10.0.ebuild | 47 ++++++++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/dev-python/pythran/Manifest b/dev-python/pythran/Manifest
17 index 5bfcf999394..c271acb35dc 100644
18 --- a/dev-python/pythran/Manifest
19 +++ b/dev-python/pythran/Manifest
20 @@ -1 +1,2 @@
21 +DIST pythran-0.10.0.gh.tar.gz 3614984 BLAKE2B 82686479d475c6814392eb6c34e2d765ba36c88f9de3119f38c81b3f09d07acce8f5ab11b31114c13a1aa3bebd3699c540edcc6203401a007caf02c960a4733b SHA512 3d48d6f12fcd0317cb756eee18ad359057e4daee1a496023253b26febd2acf0fd22c3b4976bc8552a137d25052e4feaacf1917c5dc84414e9fbed66dff5c1614
22 DIST pythran-0.9.12.post1.gh.tar.gz 3612135 BLAKE2B 1c0650d249a0834a488aba6f48d1130b8897b4b220523d3aaa0f7557609f9cfcc208563980b6855132199fd394b45404c4c15c961380ea2089121c5c9eea65b2 SHA512 71a9dec2ca9eca85a2b3e52022e262135b4f1642d646bfc66323bd8b7545a11351d70aaec0fd90d82dc0ba23ec6733a30c8d807e5d90ff5c208d2995a6ac6f83
23
24 diff --git a/dev-python/pythran/pythran-0.10.0.ebuild b/dev-python/pythran/pythran-0.10.0.ebuild
25 new file mode 100644
26 index 00000000000..6cf9f49801e
27 --- /dev/null
28 +++ b/dev-python/pythran/pythran-0.10.0.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +inherit distutils-r1 multiprocessing
37 +
38 +MY_P=${P/_p/.post}
39 +DESCRIPTION="Ahead of Time compiler for numeric kernels"
40 +HOMEPAGE="
41 + https://pypi.org/project/pythran/
42 + https://github.com/serge-sans-paille/pythran/"
43 +SRC_URI="
44 + https://github.com/serge-sans-paille/pythran/archive/${PV/_p/.post}.tar.gz
45 + -> ${MY_P}.gh.tar.gz"
46 +S=${WORKDIR}/${MY_P}
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +RDEPEND="
53 + =dev-python/beniget-0.4*[${PYTHON_USEDEP}]
54 + =dev-python/gast-0.5*[${PYTHON_USEDEP}]
55 + dev-python/numpy[${PYTHON_USEDEP}]
56 + >=dev-python/ply-3.4[${PYTHON_USEDEP}]"
57 +BDEPEND="
58 + test? (
59 + dev-python/ipython[${PYTHON_USEDEP}]
60 + dev-python/pytest-xdist[${PYTHON_USEDEP}]
61 + dev-python/scipy[${PYTHON_USEDEP}]
62 + dev-python/wheel[${PYTHON_USEDEP}]
63 + virtual/cblas
64 + )"
65 +
66 +distutils_enable_tests pytest
67 +
68 +src_prepare() {
69 + sed -i -e '/pytest-runner/d' setup.py || die
70 + distutils-r1_src_prepare
71 +}
72 +
73 +python_test() {
74 + local -x COLUMNS=80
75 + epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
76 +}