summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-06-02 23:25:03 +0100
committerSam James <sam@gentoo.org>2022-06-05 08:30:58 +0100
commitb4902f4c84ecf26c9a4b183ef26184c02a7aa711 (patch)
treedf0ac704b26ede75ead85b4b7ba8003e01403024 /dev-python/meson-python/meson-python-0.5.0.ebuild
parentdev-python/pep621: new package, add 0.4.0 (diff)
downloadgentoo-b4902f4c84ecf26c9a4b183ef26184c02a7aa711.tar.gz
gentoo-b4902f4c84ecf26c9a4b183ef26184c02a7aa711.tar.bz2
gentoo-b4902f4c84ecf26c9a4b183ef26184c02a7aa711.zip
dev-python/meson-python: new package, add 0.5.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/meson-python/meson-python-0.5.0.ebuild')
-rw-r--r--dev-python/meson-python/meson-python-0.5.0.ebuild40
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-python/meson-python/meson-python-0.5.0.ebuild b/dev-python/meson-python/meson-python-0.5.0.ebuild
new file mode 100644
index 000000000000..f46eb4512157
--- /dev/null
+++ b/dev-python/meson-python/meson-python-0.5.0.ebuild
@@ -0,0 +1,40 @@
+# 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/pep621-0.3.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-util/patchelf
+ )
+"
+
+distutils_enable_sphinx docs \
+ dev-python/furo \
+ dev-python/sphinx-autodoc-typehints
+distutils_enable_tests pytest