1 |
commit: d8892a6d4be2c9c3a5b5d178179c204e392101d8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 31 13:13:51 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 31 13:13:51 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8892a6d |
7 |
|
8 |
dev-python/meson-python: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/meson-python/Manifest | 1 - |
13 |
dev-python/meson-python/meson-python-0.11.0.ebuild | 71 ---------------------- |
14 |
2 files changed, 72 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest |
17 |
index bd8453343e32..bf2de6fcf360 100644 |
18 |
--- a/dev-python/meson-python/Manifest |
19 |
+++ b/dev-python/meson-python/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST meson-python-0.11.0.gh.tar.gz 43192 BLAKE2B c12a18698f270b36685bbd4ad7ff5f2a718bab28f834cad89be724457704cd56966247e13ed6ba7dd201c5397ccfc78ab9202e7435f0672d63d544f67323b7b3 SHA512 fb894d0db6d18febd6388b7e686d0c7c1e3308f6ebf926c7300e2f376b1d2a803adcf5925c80d05982805e3ce4a59676c9ef829eacdab4696dabec3cb93e4192 |
22 |
DIST meson-python-0.12.0.gh.tar.gz 43801 BLAKE2B fa4f5b73d490fce64da5c9f79c590e32af5b39790c0ffddc694a6b11a9274760a4e92a3d45abdefdbec1e6c5235ae799ee6c3e1b99685028b3bc007d5322683d SHA512 f2e416027bb6fb6cf6ad0fd84c6b65ddc83b497ff96b5a144dfcdd1addee44972eaa7422c8d9a8092431b6df1b052f970e9e7bd7dc57b28fbf42d2ea3a8d9231 |
23 |
|
24 |
diff --git a/dev-python/meson-python/meson-python-0.11.0.ebuild b/dev-python/meson-python/meson-python-0.11.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index bb975c33cc6d..000000000000 |
27 |
--- a/dev-python/meson-python/meson-python-0.11.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,71 +0,0 @@ |
30 |
-# Copyright 2022-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=standalone |
36 |
-PYTHON_COMPAT=( python3_{9..11} ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="Meson PEP 517 Python build backend" |
41 |
-HOMEPAGE=" |
42 |
- https://pypi.org/project/meson-python/ |
43 |
- https://github.com/mesonbuild/meson-python/ |
44 |
-" |
45 |
-SRC_URI=" |
46 |
- https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz |
47 |
- -> ${P}.gh.tar.gz |
48 |
-" |
49 |
- |
50 |
-LICENSE="MIT" |
51 |
-SLOT="0" |
52 |
-KEYWORDS="amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}] |
56 |
- >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] |
57 |
- dev-util/patchelf |
58 |
- $(python_gen_cond_dep ' |
59 |
- >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] |
60 |
- ' 3.8 3.9 3.10) |
61 |
-" |
62 |
-BDEPEND=" |
63 |
- dev-python/cython[${PYTHON_USEDEP}] |
64 |
- test? ( |
65 |
- dev-python/GitPython[${PYTHON_USEDEP}] |
66 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
67 |
- ) |
68 |
-" |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}"/${PN}-0.11.0-defaults.patch |
72 |
-) |
73 |
- |
74 |
-distutils_enable_sphinx docs \ |
75 |
- dev-python/furo \ |
76 |
- dev-python/sphinx-autodoc-typehints |
77 |
-distutils_enable_tests pytest |
78 |
- |
79 |
-EPYTEST_DESELECT=( |
80 |
- # requires network access |
81 |
- tests/test_pep518.py::test_pep518 |
82 |
-) |
83 |
- |
84 |
-src_prepare() { |
85 |
- # strip dependency on ninja -- we provide ninja via Gentoo package |
86 |
- # rather than the Python wheel, so we don't have .dist-info there |
87 |
- sed -i -e '/ninja/d' pyproject.toml || die |
88 |
- distutils-r1_src_prepare |
89 |
-} |
90 |
- |
91 |
-python_test() { |
92 |
- local EPYTEST_DESELECT=( |
93 |
- # requires network access |
94 |
- tests/test_pep518.py::test_pep518 |
95 |
- ) |
96 |
- |
97 |
- epytest |
98 |
- |
99 |
- rm -rf docs/examples/spam/build/ || die # remove artifacts |
100 |
-} |