1 |
commit: 01dc369fb94b70e88ab0feb97a5ca87cc49d9231 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 3 19:04:14 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 3 19:16:35 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01dc369f |
7 |
|
8 |
dev-python/pybind11: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pybind11/Manifest | 1 - |
13 |
dev-python/pybind11/pybind11-2.10.1.ebuild | 67 ------------------------------ |
14 |
2 files changed, 68 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest |
17 |
index 284ef9961f20..62b1e9ba2955 100644 |
18 |
--- a/dev-python/pybind11/Manifest |
19 |
+++ b/dev-python/pybind11/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST pybind11-2.10.1.gh.tar.gz 727880 BLAKE2B d051220f33ce44ea6d174d64a2ecfad4f7452b0f5152035cfd36950875dc451e11e8352eb80c9c01b200176c0b09fa5274504ece524e699590deac64c44d57c6 SHA512 040f109ec870516acdaebc5133ccbba9e3ed7ff93214a66997cf4b8366c209322f3c902c283040826c7e585c3ea2259caf62d90d0b475bfa33d21e459dd54df1 |
22 |
DIST pybind11-2.10.3.gh.tar.gz 740214 BLAKE2B 967b93cbf7d1f8faad25db9a4d3e84fd33b48429cdf527c167e65faad5c01df83a5634021cf99f07adf443855d9f6bb076f0cc67b0e6555e189b794a845b533a SHA512 3894400f04cd08e2dbb14b3d696339f0364434f1d6f8bb057338ac88157ec7491b2df1e1e46ebd5abccdcd5775c5e9238de6404f0db87f64f5a1802db3a5b18c |
23 |
|
24 |
diff --git a/dev-python/pybind11/pybind11-2.10.1.ebuild b/dev-python/pybind11/pybind11-2.10.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index ff9914bc8f53..000000000000 |
27 |
--- a/dev-python/pybind11/pybind11-2.10.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,67 +0,0 @@ |
30 |
-# Copyright 1999-2023 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{9..11} ) |
37 |
- |
38 |
-inherit cmake distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="AST-based Python refactoring library" |
41 |
-HOMEPAGE=" |
42 |
- https://pybind11.readthedocs.io/en/stable/ |
43 |
- https://github.com/pybind/pybind11/ |
44 |
- https://pypi.org/project/pybind11/ |
45 |
-" |
46 |
-SRC_URI=" |
47 |
- https://github.com/pybind/pybind11/archive/v${PV}.tar.gz |
48 |
- -> ${P}.gh.tar.gz |
49 |
-" |
50 |
- |
51 |
-LICENSE="BSD" |
52 |
-SLOT="0" |
53 |
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc ~x86" |
54 |
- |
55 |
-RDEPEND=" |
56 |
- dev-cpp/eigen:3 |
57 |
-" |
58 |
-BDEPEND=" |
59 |
- test? ( |
60 |
- >=dev-cpp/catch-2.13.5 |
61 |
- dev-libs/boost |
62 |
- ) |
63 |
-" |
64 |
- |
65 |
-distutils_enable_tests pytest |
66 |
- |
67 |
-python_prepare_all() { |
68 |
- export PYBIND11_USE_CMAKE=1 |
69 |
- cmake_src_prepare |
70 |
- distutils-r1_python_prepare_all |
71 |
-} |
72 |
- |
73 |
-python_configure() { |
74 |
- local mycmakeargs=( |
75 |
- # disable forced lto |
76 |
- -DPYBIND11_LTO_CXX_FLAGS= |
77 |
- -DPYBIND11_INSTALL=ON |
78 |
- -DPYBIND11_TEST=$(usex test) |
79 |
- ) |
80 |
- cmake_src_configure |
81 |
-} |
82 |
- |
83 |
-python_compile() { |
84 |
- distutils-r1_python_compile |
85 |
- # Compilation only does anything for tests |
86 |
- use test && cmake_src_compile |
87 |
-} |
88 |
- |
89 |
-python_test() { |
90 |
- cmake_build check |
91 |
-} |
92 |
- |
93 |
-python_install() { |
94 |
- distutils-r1_python_install |
95 |
- cmake_src_install |
96 |
-} |