commit:     34bf7b6af8ca51d45b8696665c0823511d067211
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  1 08:25:55 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  1 09:26:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34bf7b6a

dev-python/meson-python: add 0.9.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/meson-python/Manifest                  |  1 +
 dev-python/meson-python/meson-python-0.9.0.ebuild | 46 +++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest
index 1e3d198dbc6f..99fa752022e0 100644
--- a/dev-python/meson-python/Manifest
+++ b/dev-python/meson-python/Manifest
@@ -2,3 +2,4 @@ DIST meson-python-0.6.0.gh.tar.gz 26783 BLAKE2B 
d5c5b95d5d609487a0efee1ce05b1337
 DIST meson-python-0.7.0.gh.tar.gz 28959 BLAKE2B 
6b60855d19c7dbbc4c8aca474ad55d4ce2a5db553ba86d2831adea7138d540433733d3b8e4077bf7314a6e6b68cd15b538b336afecaff3b262ae6d2157d8d5f0
 SHA512 
df529a3d31c67199cf72700734ea62b0de4f8eb03b437af9b53968e37c0350cbe60ba7385f8c3026d66fe2050df4c59912bf65e4a6e62ce19bace52fdcfef2e7
 DIST meson-python-0.8.0.gh.tar.gz 29367 BLAKE2B 
bf501ef73baa5481f5367b642cefca5a8b8655b4d74776aea21f0be4608c3e42d765f17ffdd037f39e7fc9c48d162293f93af61a30533e1823a66de5151ec1f9
 SHA512 
1709cdf3b357970566b25958cead88be2062e35ee8576275d0ca2571eca1f6a0211986b2693af0944026f2693511729b9d5cb30279952c65a287fa510c19186d
 DIST meson-python-0.8.1.gh.tar.gz 29353 BLAKE2B 
13d6ab25da404301bddb2fb7eaaeb5af256efb5ce6d09581e4a8fa90d21c3a45cc8f455b09dc99b454e8457b55eb41261743c6ffd612c6c674ac9a28bcb98f51
 SHA512 
e46f6dbbcc2b5f89b17c7ea3f00e8ff9d68cad458bcbfe462e09de8e0074316c15f71fd88304ccf65cc42d98b193bcc0b3547be3ec2519e8c25d31556beb1468
+DIST meson-python-0.9.0.gh.tar.gz 37253 BLAKE2B 
29aa875dfc1c275ee4edab48bd2d46c783969fc0ab58f108be1a6443d5519028a2d36f666dc57c45d68ba77334cca2d11a0d4bfb8abb3822b537252c71b77286
 SHA512 
ae0927876533af65c5b1d8278ff6db3726f0551c160bfedcc602189fcad44c9412faa589738718aac2f10cf9497db8c632d89ccf1fb8519e6e7f4add78d8e52d

diff --git a/dev-python/meson-python/meson-python-0.9.0.ebuild 
b/dev-python/meson-python/meson-python-0.9.0.ebuild
new file mode 100644
index 000000000000..5ca1c9027a37
--- /dev/null
+++ b/dev-python/meson-python/meson-python-0.9.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=standalone
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Meson PEP 517 Python build backend"
+HOMEPAGE="
+       https://pypi.org/project/meson-python/
+       https://github.com/FFY00/meson-python/
+"
+SRC_URI="
+       https://github.com/FFY00/meson-python/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+
+RDEPEND="
+       >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}]
+       >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
+       >=dev-util/meson-0.63.0[${PYTHON_USEDEP}]
+       dev-util/patchelf
+"
+BDEPEND="
+       dev-python/cython[${PYTHON_USEDEP}]
+       test? (
+               dev-python/GitPython[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.7.0-defaults.patch
+)
+
+distutils_enable_sphinx docs \
+       dev-python/furo \
+       dev-python/sphinx-autodoc-typehints
+distutils_enable_tests pytest

Reply via email to