Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pybind11/
Date: Sat, 26 Mar 2022 18:14:57
Message-Id: 1648317931.a2c7a88ecab1484b2e58e69cabb42d3339fa1c9c.arthurzam@gentoo
1 commit: a2c7a88ecab1484b2e58e69cabb42d3339fa1c9c
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 18:05:31 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 18:05:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2c7a88e
7
8 dev-python/pybind11: drop 2.9.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pybind11/Manifest | 1 -
13 dev-python/pybind11/pybind11-2.9.0.ebuild | 53 -------------------------------
14 2 files changed, 54 deletions(-)
15
16 diff --git a/dev-python/pybind11/Manifest b/dev-python/pybind11/Manifest
17 index 042de689a969..7d84a59cbea8 100644
18 --- a/dev-python/pybind11/Manifest
19 +++ b/dev-python/pybind11/Manifest
20 @@ -1,2 +1 @@
21 -DIST pybind11-2.9.0.tar.gz 698784 BLAKE2B bfbe173d580131e445d759bd9b1a8929ceb9fc357a1ed8873aa8024fb9226a37bb97293dc0189a67ae61a232f3790ca6f635a30d0a0401c867cde98f1010438c SHA512 87184c9e09e1340f2d34786a66560fe77684a3629b517f78321073a1f0dfdb766365d3698dcf6f08e5141b1f4da50ec917e61b36538e5a1ec9fd1b68f29cd396
22 DIST pybind11-2.9.1.tar.gz 703882 BLAKE2B cc162332b637f81ea5d3098a2e9882f16a9c889e83e6ccd36d2a2da2f90361d8d188abd559f2313b45ff1de7d9ee56ee198c1193b47829d1fdf6d8871ce35b0c SHA512 1f268cc6df1f572658bfc3e60f7f010bec9b9444d6a6d6c95f7b26f7b4b7dd42846e65ae5a611c01c0341335fdfa84b01272b5c1b2cc11a418f64fecabfa0588
23
24 diff --git a/dev-python/pybind11/pybind11-2.9.0.ebuild b/dev-python/pybind11/pybind11-2.9.0.ebuild
25 deleted file mode 100644
26 index 6dbfed6ba055..000000000000
27 --- a/dev-python/pybind11/pybind11-2.9.0.ebuild
28 +++ /dev/null
29 @@ -1,53 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -PYTHON_COMPAT=( python3_{8..10} )
36 -inherit cmake distutils-r1
37 -
38 -DESCRIPTION="AST-based Python refactoring library"
39 -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/"
40 -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="BSD"
43 -SLOT="0"
44 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
45 -
46 -RDEPEND="
47 - dev-cpp/eigen:3
48 -"
49 -
50 -distutils_enable_tests pytest
51 -
52 -python_prepare_all() {
53 - export PYBIND11_USE_CMAKE=1
54 -
55 - cmake_src_prepare
56 - distutils-r1_python_prepare_all
57 -}
58 -
59 -python_configure() {
60 - local mycmakeargs=(
61 - # disable forced lto
62 - -DPYBIND11_LTO_CXX_FLAGS=
63 - -DPYBIND11_INSTALL=ON
64 - -DPYBIND11_TEST=$(usex test)
65 - )
66 - cmake_src_configure
67 -}
68 -
69 -python_compile() {
70 - distutils-r1_python_compile
71 - # Compilation only does anything for tests
72 - use test && cmake_src_compile
73 -}
74 -
75 -python_test() {
76 - cmake_build check
77 -}
78 -
79 -python_install() {
80 - distutils-r1_python_install
81 - cmake_src_install
82 -}