1 |
commit: c81c6f1abb046f12801e0f753669ffc849824575 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 03:06:38 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 03:09:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81c6f1a |
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 |
.../files/meson-python-0.7.0-defaults.patch | 14 ------ |
14 |
.../meson-python/meson-python-0.10.0-r1.ebuild | 53 ---------------------- |
15 |
3 files changed, 68 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/meson-python/Manifest b/dev-python/meson-python/Manifest |
18 |
index 1a826662967f..6bcfab8c89b7 100644 |
19 |
--- a/dev-python/meson-python/Manifest |
20 |
+++ b/dev-python/meson-python/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST meson-python-0.10.0.gh.tar.gz 37739 BLAKE2B 028cbb191076b49946576b02d26a84079f412a178d9829bf85d579b8d3624e192e9394ade31524faf972ef4d105b7bf703e750529a7fafcbadf9a52d3c4876c6 SHA512 50d4d0bbf810948b4f218f25815058778b2a3ac8ff811d4d7cc699d1cfbcb75612d28789080b4e5ec3a47be03636389b7bf313366273abb733f77644758747cb |
23 |
DIST meson-python-0.11.0.gh.tar.gz 43192 BLAKE2B c12a18698f270b36685bbd4ad7ff5f2a718bab28f834cad89be724457704cd56966247e13ed6ba7dd201c5397ccfc78ab9202e7435f0672d63d544f67323b7b3 SHA512 fb894d0db6d18febd6388b7e686d0c7c1e3308f6ebf926c7300e2f376b1d2a803adcf5925c80d05982805e3ce4a59676c9ef829eacdab4696dabec3cb93e4192 |
24 |
|
25 |
diff --git a/dev-python/meson-python/files/meson-python-0.7.0-defaults.patch b/dev-python/meson-python/files/meson-python-0.7.0-defaults.patch |
26 |
deleted file mode 100644 |
27 |
index 8a9b4fc21d5a..000000000000 |
28 |
--- a/dev-python/meson-python/files/meson-python-0.7.0-defaults.patch |
29 |
+++ /dev/null |
30 |
@@ -1,14 +0,0 @@ |
31 |
-See https://github.com/FFY00/meson-python/blob/main/mesonpy/__init__.py#L452. |
32 |
- |
33 |
-(Also: https://github.com/FFY00/meson-python/issues/54) |
34 |
---- a/mesonpy/__init__.py |
35 |
-+++ b/mesonpy/__init__.py |
36 |
-@@ -532,7 +532,7 @@ class Project(): |
37 |
- @functools.lru_cache(maxsize=None) |
38 |
- def build(self) -> None: |
39 |
- """Trigger the Meson build.""" |
40 |
-- self._meson('compile') |
41 |
-+ self._meson('compile', '--verbose') |
42 |
- self._meson('install', '--destdir', os.fspath(self._install_dir)) |
43 |
- |
44 |
- @classmethod |
45 |
|
46 |
diff --git a/dev-python/meson-python/meson-python-0.10.0-r1.ebuild b/dev-python/meson-python/meson-python-0.10.0-r1.ebuild |
47 |
deleted file mode 100644 |
48 |
index 9ea40c9a74b3..000000000000 |
49 |
--- a/dev-python/meson-python/meson-python-0.10.0-r1.ebuild |
50 |
+++ /dev/null |
51 |
@@ -1,53 +0,0 @@ |
52 |
-# Copyright 2022 Gentoo Authors |
53 |
-# Distributed under the terms of the GNU General Public License v2 |
54 |
- |
55 |
-EAPI=8 |
56 |
- |
57 |
-DISTUTILS_USE_PEP517=standalone |
58 |
-PYTHON_COMPAT=( python3_{8..11} ) |
59 |
- |
60 |
-inherit distutils-r1 |
61 |
- |
62 |
-DESCRIPTION="Meson PEP 517 Python build backend" |
63 |
-HOMEPAGE=" |
64 |
- https://pypi.org/project/meson-python/ |
65 |
- https://github.com/mesonbuild/meson-python/ |
66 |
-" |
67 |
-SRC_URI=" |
68 |
- https://github.com/mesonbuild/meson-python/archive/${PV}.tar.gz |
69 |
- -> ${P}.gh.tar.gz |
70 |
-" |
71 |
- |
72 |
-LICENSE="MIT" |
73 |
-SLOT="0" |
74 |
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86" |
75 |
- |
76 |
-RDEPEND=" |
77 |
- >=dev-python/pyproject-metadata-0.6.1[${PYTHON_USEDEP}] |
78 |
- >=dev-python/tomli-1.0.0[${PYTHON_USEDEP}] |
79 |
- >=dev-util/meson-0.63.0[${PYTHON_USEDEP}] |
80 |
- dev-util/patchelf |
81 |
-" |
82 |
-BDEPEND=" |
83 |
- dev-python/cython[${PYTHON_USEDEP}] |
84 |
- test? ( |
85 |
- dev-python/GitPython[${PYTHON_USEDEP}] |
86 |
- dev-python/pytest-mock[${PYTHON_USEDEP}] |
87 |
- ) |
88 |
-" |
89 |
- |
90 |
-PATCHES=( |
91 |
- "${FILESDIR}"/${PN}-0.7.0-defaults.patch |
92 |
-) |
93 |
- |
94 |
-distutils_enable_sphinx docs \ |
95 |
- dev-python/furo \ |
96 |
- dev-python/sphinx-autodoc-typehints |
97 |
-distutils_enable_tests pytest |
98 |
- |
99 |
-src_prepare() { |
100 |
- # strip dependency on ninja -- we provide ninja via Gentoo package |
101 |
- # rather than the Python wheel, so we don't have .dist-info there |
102 |
- sed -i -e '/ninja/d' pyproject.toml || die |
103 |
- distutils-r1_src_prepare |
104 |
-} |