summaryrefslogtreecommitdiff
path: root/dev-python/meson-python/meson-python-0.6.0-r1.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-25 11:46:25 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-06-25 11:46:25 +0000
commit21c267a69fbf5e9a9062258336ab50dfaafdb7e8 (patch)
treeec1133f4f21eb4c07502bce35164898759412bf9 /dev-python/meson-python/meson-python-0.6.0-r1.ebuild
parent251a0cf3a4ba7209ab5574f1989420eac448ef1a (diff)
downloadbaldeagleos-repo-21c267a69fbf5e9a9062258336ab50dfaafdb7e8.tar.gz
baldeagleos-repo-21c267a69fbf5e9a9062258336ab50dfaafdb7e8.tar.xz
baldeagleos-repo-21c267a69fbf5e9a9062258336ab50dfaafdb7e8.zip
Adding metadata
Diffstat (limited to 'dev-python/meson-python/meson-python-0.6.0-r1.ebuild')
-rw-r--r--dev-python/meson-python/meson-python-0.6.0-r1.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/meson-python/meson-python-0.6.0-r1.ebuild b/dev-python/meson-python/meson-python-0.6.0-r1.ebuild
new file mode 100644
index 000000000000..9cde3cc82ecd
--- /dev/null
+++ b/dev-python/meson-python/meson-python-0.6.0-r1.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_{7,8,9,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"
+
+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}]
+ dev-util/patchelf
+"
+BDEPEND="
+ test? (
+ dev-python/GitPython[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+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
+)