commit:     82204fa19a8580ae3cd1d2511ace1aa28e55bf17
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 22 05:11:25 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 22 05:48:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82204fa1

dev-python/meson-python: Bump to 0.6.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/meson-python/Manifest                  |  1 +
 dev-python/meson-python/meson-python-0.6.0.ebuild | 50 +++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest
index 025ab8316f45..25059d789196 100644
--- a/dev-python/meson-python/Manifest
+++ b/dev-python/meson-python/Manifest
@@ -1 +1,2 @@
 DIST meson-python-0.5.0.gh.tar.gz 30525 BLAKE2B 
f9afcb0edfdb06ce001b5185bf8c09de18a35d0f2d12f8fd69ed35cf17cc5e987c73724403fe1d6c44c80f1fad41b4b66b07b26e050b551673b3860a3d453a29
 SHA512 
e3941d258c5d16d0355752aff2f6458705a6af7d83850f679c5304d61699c393e186b9da2fe1a6405cb616a319250351e02ad81ddc8abf042f64c6b42b0be1cf
+DIST meson-python-0.6.0.gh.tar.gz 26783 BLAKE2B 
d5c5b95d5d609487a0efee1ce05b133794705cdb16f2d05d6e08b9201541e31f61a832c7770b4b5ad675f8dd91860c30c67769ce8fc0af2c48e65b0aad187ddb
 SHA512 
25042ea030d2ad323c67daa0a520db936a4a4efa0de1c9f631c47fac22d797e01d1f1707ed407e2931164a35b3916e19a774ee16ab1d45fc91e41c75add57fa1

diff --git a/dev-python/meson-python/meson-python-0.6.0.ebuild 
b/dev-python/meson-python/meson-python-0.6.0.ebuild
new file mode 100644
index 000000000000..a7e350955b2d
--- /dev/null
+++ b/dev-python/meson-python/meson-python-0.6.0.ebuild
@@ -0,0 +1,50 @@
+# 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="EUPL-1.2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=dev-python/pyproject-metadata-0.5.0[${PYTHON_USEDEP}]
+       >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}]
+       >=dev-util/meson-0.60.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? (
+               dev-python/GitPython[${PYTHON_USEDEP}]
+               dev-python/pytest-mock[${PYTHON_USEDEP}]
+               dev-util/patchelf
+       )
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.5.0-defaults.patch
+)
+
+distutils_enable_sphinx docs \
+       dev-python/furo \
+       dev-python/sphinx-autodoc-typehints
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+       # https://github.com/FFY00/meson-python/issues/86
+       tests/test_sdist.py::test_contents_unstaged
+)

Reply via email to