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
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')
-rw-r--r--dev-python/meson-python/Manifest1
-rw-r--r--dev-python/meson-python/meson-python-0.5.0.ebuild40
-rw-r--r--dev-python/meson-python/metadata.xml11
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest
new file mode 100644
index 000000000000..025ab8316f45
--- /dev/null
+++ b/dev-python/meson-python/Manifest
@@ -0,0 +1 @@
+DIST meson-python-0.5.0.gh.tar.gz 30525 BLAKE2B f9afcb0edfdb06ce001b5185bf8c09de18a35d0f2d12f8fd69ed35cf17cc5e987c73724403fe1d6c44c80f1fad41b4b66b07b26e050b551673b3860a3d453a29 SHA512 e3941d258c5d16d0355752aff2f6458705a6af7d83850f679c5304d61699c393e186b9da2fe1a6405cb616a319250351e02ad81ddc8abf042f64c6b42b0be1cf
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
diff --git a/dev-python/meson-python/metadata.xml b/dev-python/meson-python/metadata.xml
new file mode 100644
index 000000000000..e2b414a5e2c6
--- /dev/null
+++ b/dev-python/meson-python/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">FFY00/meson-python</remote-id>
+ <remote-id type="pypi">meson-python</remote-id>
+ </upstream>
+</pkgmetadata>