Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/meson-python/
Date: Sat, 01 Oct 2022 09:26:49
Message-Id: 1664616393.34bf7b6af8ca51d45b8696665c0823511d067211.arthurzam@gentoo
1 commit: 34bf7b6af8ca51d45b8696665c0823511d067211
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 08:25:55 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 09:26:33 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34bf7b6a
7
8 dev-python/meson-python: add 0.9.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/meson-python/Manifest | 1 +
13 dev-python/meson-python/meson-python-0.9.0.ebuild | 46 +++++++++++++++++++++++
14 2 files changed, 47 insertions(+)
15
16 diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest
17 index 1e3d198dbc6f..99fa752022e0 100644
18 --- a/dev-python/meson-python/Manifest
19 +++ b/dev-python/meson-python/Manifest
20 @@ -2,3 +2,4 @@ DIST meson-python-0.6.0.gh.tar.gz 26783 BLAKE2B d5c5b95d5d609487a0efee1ce05b1337
21 DIST meson-python-0.7.0.gh.tar.gz 28959 BLAKE2B 6b60855d19c7dbbc4c8aca474ad55d4ce2a5db553ba86d2831adea7138d540433733d3b8e4077bf7314a6e6b68cd15b538b336afecaff3b262ae6d2157d8d5f0 SHA512 df529a3d31c67199cf72700734ea62b0de4f8eb03b437af9b53968e37c0350cbe60ba7385f8c3026d66fe2050df4c59912bf65e4a6e62ce19bace52fdcfef2e7
22 DIST meson-python-0.8.0.gh.tar.gz 29367 BLAKE2B bf501ef73baa5481f5367b642cefca5a8b8655b4d74776aea21f0be4608c3e42d765f17ffdd037f39e7fc9c48d162293f93af61a30533e1823a66de5151ec1f9 SHA512 1709cdf3b357970566b25958cead88be2062e35ee8576275d0ca2571eca1f6a0211986b2693af0944026f2693511729b9d5cb30279952c65a287fa510c19186d
23 DIST meson-python-0.8.1.gh.tar.gz 29353 BLAKE2B 13d6ab25da404301bddb2fb7eaaeb5af256efb5ce6d09581e4a8fa90d21c3a45cc8f455b09dc99b454e8457b55eb41261743c6ffd612c6c674ac9a28bcb98f51 SHA512 e46f6dbbcc2b5f89b17c7ea3f00e8ff9d68cad458bcbfe462e09de8e0074316c15f71fd88304ccf65cc42d98b193bcc0b3547be3ec2519e8c25d31556beb1468
24 +DIST meson-python-0.9.0.gh.tar.gz 37253 BLAKE2B 29aa875dfc1c275ee4edab48bd2d46c783969fc0ab58f108be1a6443d5519028a2d36f666dc57c45d68ba77334cca2d11a0d4bfb8abb3822b537252c71b77286 SHA512 ae0927876533af65c5b1d8278ff6db3726f0551c160bfedcc602189fcad44c9412faa589738718aac2f10cf9497db8c632d89ccf1fb8519e6e7f4add78d8e52d
25
26 diff --git a/dev-python/meson-python/meson-python-0.9.0.ebuild b/dev-python/meson-python/meson-python-0.9.0.ebuild
27 new file mode 100644
28 index 000000000000..5ca1c9027a37
29 --- /dev/null
30 +++ b/dev-python/meson-python/meson-python-0.9.0.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=standalone
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="Meson PEP 517 Python build backend"
43 +HOMEPAGE="
44 + https://pypi.org/project/meson-python/
45 + https://github.com/FFY00/meson-python/
46 +"
47 +SRC_URI="
48 + https://github.com/FFY00/meson-python/archive/${PV}.tar.gz
49 + -> ${P}.gh.tar.gz
50 +"
51 +
52 +LICENSE="MIT"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
55 +
56 +RDEPEND="
57 + >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}]
58 + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
59 + >=dev-util/meson-0.63.0[${PYTHON_USEDEP}]
60 + dev-util/patchelf
61 +"
62 +BDEPEND="
63 + dev-python/cython[${PYTHON_USEDEP}]
64 + test? (
65 + dev-python/GitPython[${PYTHON_USEDEP}]
66 + dev-python/pytest-mock[${PYTHON_USEDEP}]
67 + )
68 +"
69 +
70 +PATCHES=(
71 + "${FILESDIR}"/${PN}-0.7.0-defaults.patch
72 +)
73 +
74 +distutils_enable_sphinx docs \
75 + dev-python/furo \
76 + dev-python/sphinx-autodoc-typehints
77 +distutils_enable_tests pytest