diff options
Diffstat (limited to 'dev-python/meson-python')
-rw-r--r-- | dev-python/meson-python/Manifest | 2 | ||||
-rw-r--r-- | dev-python/meson-python/meson-python-0.13.0.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest index f4b47d9bd303..89a6d30534de 100644 --- a/dev-python/meson-python/Manifest +++ b/dev-python/meson-python/Manifest @@ -1,4 +1,6 @@ AUX meson-python-0.11.0-defaults.patch 608 BLAKE2B b4c8d87a766495ee644830dd98903e512e052ccb0c31b75ef755b2b33cc7b912ea3b232b66c539ec3da8d8d77ae90b04a87cac8d0c55cde4c00c0f32ca4cb001 SHA512 f814d2c93bdb14e245b83eb4a94329875ccaed2f9a78fb31ae5c5bc5b778bd25b22b097bbc5dbd810029b9613a2532d1ab971c8bb6c60cda41ad6d1351c9e93a DIST meson-python-0.12.1.gh.tar.gz 43855 BLAKE2B 96b9ff5ef628bb471f7f79ce30ec6f3f851ce0006327e8b3a6003fdcb768f3280c0ee882d1c0c8ea183b0f2319d7c977c3fbb62742e3127bafb73e9732b3a1a9 SHA512 6f8e840da0155f2dd0e7139387f875cfad79eb042abcfa69b3043f51cbae3222fc2986e13798389909a0b4719513c93af381ec00a69fdfedf14bbe4e100b2f08 +DIST meson-python-0.13.0.gh.tar.gz 69373 BLAKE2B 439ec0fcffa5398ec400c492bc7719030981605c885158fd477e293b62c6e0eeaf3eba0327937817c20b7d23141749ff4bc71d12a67dbf3473168555cef97918 SHA512 2d319090f77daf5c1bd2a922e50e960fb416008ec60f3e8956ba4d2a29c31129e0a0d864982e9e1c0d6b7659d107e5d90d4a540d84f56cb2a8f79f013d4f14ae EBUILD meson-python-0.12.1.ebuild 1448 BLAKE2B 595ca91b469122beed8c6e2d488e633600e7a6129396743caea311a40bf4e07d49c35f0a22627ffa342181e6b720f3746cb9e7d3e22935added38e5e7969cc04 SHA512 4884d03dc8284c9aae58b64f6e54a1bbbb57ef561d85d8be009b26371c3bdf08a29698d1feb749fbdbdf3e23ab621eb7b1f8182bc7cc2c4c870be3ae28259665 +EBUILD meson-python-0.13.0.ebuild 1360 BLAKE2B 76a9f4f74aa12d77efddf86148d14f867154b7903acef0b47cd603a45f44ec7ea675b056e55a7b2da40460d1736ef139951ae5637625db30912c3180d29eec9b SHA512 e5b966caeede89663dd63dbc9bffebfa53cda6dd105d237d40e248f51fca6b7e1527d8243c64baff4f1e38942458410123545c98ced0731b50ded181f52c1ff6 MISC metadata.xml 357 BLAKE2B c2b5fd8c6ad39e92970a5e6c1db8950b4850660c9a95a84063504ab75e5dd69e3ab844fcef23cb51f33493b7e522a6d26227ff48dd893c92c422badc70f3c962 SHA512 1402ace4da543de7320a1d97f44177593807d5be9f1891d8a53190581877569508c46fe6b4ce63516c7fee2d2165d59d39f44343dde18438570883da3f4ad28c diff --git a/dev-python/meson-python/meson-python-0.13.0.ebuild b/dev-python/meson-python/meson-python-0.13.0.ebuild new file mode 100644 index 000000000000..4ac32a433449 --- /dev/null +++ b/dev-python/meson-python/meson-python-0.13.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Meson PEP 517 Python build backend" +HOMEPAGE=" + https://pypi.org/project/meson-python/ + https://github.com/mesonbuild/meson-python/ +" +SRC_URI=" + https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + >=dev-python/pyproject-metadata-0.7.1[${PYTHON_USEDEP}] + >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] + dev-util/patchelf + $(python_gen_cond_dep ' + >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] + ' 3.9 3.10) +" +BDEPEND=" + >=dev-python/cython-0.29.34[${PYTHON_USEDEP}] + test? ( + dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}] + ' 3.9) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # requires network access + tests/test_pep518.py::test_pep518 + # requires git repo + # https://github.com/mesonbuild/meson-python/issues/397 + tests/test_project.py::test_user_args + ) + unset NINJA + + epytest + + rm -rf docs/examples/spam/build/ || die # remove artifacts +} |