Gentoo Archives: gentoo-commits

From: Bernd Waibel <waebbl@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/pybind11/
Date: Tue, 21 Jan 2020 22:15:22
Message-Id: 1579644857.01535b6ba6a74c18144e88e4109c0024b0642240.waebbl@gentoo
1 commit: 01535b6ba6a74c18144e88e4109c0024b0642240
2 Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
3 AuthorDate: Tue Jan 21 22:14:17 2020 +0000
4 Commit: Bernd Waibel <waebbl <AT> gmail <DOT> com>
5 CommitDate: Tue Jan 21 22:14:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01535b6b
7
8 dev-util/pybind11: drop package
9
10 Has been added to portage tree as dev-python/pybind11.
11
12 Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
13
14 dev-util/pybind11/Manifest | 1 -
15 dev-util/pybind11/metadata.xml | 12 -----
16 dev-util/pybind11/pybind11-2.3.0.ebuild | 94 ---------------------------------
17 3 files changed, 107 deletions(-)
18
19 diff --git a/dev-util/pybind11/Manifest b/dev-util/pybind11/Manifest
20 deleted file mode 100644
21 index 9d4bbe0..0000000
22 --- a/dev-util/pybind11/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST pybind11-2.3.0.tar.gz 564520 BLAKE2B a7c1485aa8f63a00eccd3103cf9f531a080b049be02e6182b30503ae6dd6c55fc517684ed9d92aaec244efd5f77336c68d1ea546833f7f0ae2fd7b090c19a02d SHA512 04542fe9dca2ffdb86c15698a4bbc041446a9f11970092e89a482ae0ff64c932f62fff8f437b98bdaa006c1fccabddd79f0c7e376f27daed2150b1d2f988e8aa
26
27 diff --git a/dev-util/pybind11/metadata.xml b/dev-util/pybind11/metadata.xml
28 deleted file mode 100644
29 index e757cfb..0000000
30 --- a/dev-util/pybind11/metadata.xml
31 +++ /dev/null
32 @@ -1,12 +0,0 @@
33 -<?xml version="1.0" encoding="UTF-8"?>
34 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 -<pkgmetadata>
36 -<maintainer type="person">
37 - <email>waebbl@×××××.com</email>
38 - <name>Bernd Waibel</name>
39 -</maintainer>
40 -<longdescription>
41 - Lightweight header-only library that exposes C++ types in Python and
42 - vice versa, mainly to create Python bindings of existing C++ code.
43 -</longdescription>
44 -</pkgmetadata>
45
46 diff --git a/dev-util/pybind11/pybind11-2.3.0.ebuild b/dev-util/pybind11/pybind11-2.3.0.ebuild
47 deleted file mode 100644
48 index 94f7413..0000000
49 --- a/dev-util/pybind11/pybind11-2.3.0.ebuild
50 +++ /dev/null
51 @@ -1,94 +0,0 @@
52 -# Copyright 1999-2019 Gentoo Authors
53 -# Distributed under the terms of the GNU General Public License v2
54 -
55 -EAPI=7
56 -
57 -# According to upstream is compatible with 2.7 and 3.x
58 -# However support for python3_7 needs boost with python3_7
59 -PYTHON_COMPAT=( python{2_7,3_{5,6}} )
60 -
61 -inherit cmake-utils python-single-r1
62 -
63 -DESCRIPTION="Seamless operability between C++11 and Python"
64 -HOMEPAGE="https://pybind11.readthedocs.io/en/stable/"
65 -SRC_URI="https://github.com/pybind/pybind11/archive/v${PV}.tar.gz -> ${P}.tar.gz"
66 -LICENSE="BSD"
67 -
68 -SLOT="0"
69 -KEYWORDS="~amd64 ~x86"
70 -
71 -IUSE="doc test"
72 -
73 -RESTRICT="!test? ( test )"
74 -
75 -DEPEND="
76 - ${PYTHON_DEPS}
77 - doc? (
78 - dev-python/breathe[${PYTHON_USEDEP}]
79 - dev-python/sphinx[${PYTHON_USEDEP}]
80 - )
81 - test? (
82 - dev-cpp/catch:0
83 - dev-libs/boost:=[python,${PYTHON_USEDEP}]
84 - dev-python/numpy[${PYTHON_USEDEP}]
85 - dev-python/pytest[${PYTHON_USEDEP}]
86 - sci-libs/scipy[${PYTHON_USEDEP}]
87 - )
88 -"
89 -
90 -RDEPEND="
91 - ${PYTHON_DEPS}
92 - dev-cpp/eigen:3
93 - sys-apps/texinfo
94 - sys-devel/gettext[cxx]
95 - virtual/man
96 -"
97 -
98 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
99 -
100 -DOCS=( README.md CONTRIBUTING.md ISSUE_TEMPLATE.md )
101 -
102 -pkg_setup() {
103 - python-single-r1_pkg_setup
104 -}
105 -
106 -src_configure() {
107 - mycmakeargs=(
108 - -DPYBIND11_INSTALL=ON
109 - -DPYBIND11_TEST=$(usex test)
110 - )
111 -
112 - cmake-utils_src_configure
113 -}
114 -
115 -src_compile() {
116 - cmake-utils_src_compile
117 -
118 - # documentation is not covered by cmake, but has it's own makefile
119 - # using sphinx
120 - if use doc; then
121 - pushd "${S}"/docs || die
122 - emake info man html
123 - popd || die
124 - fi
125 -}
126 -
127 -src_test() {
128 - cmake-utils_src_test
129 - pushd "${BUILD_DIR}" || die
130 - eninja check
131 - popd || die
132 -}
133 -
134 -src_install() {
135 - cmake-utils_src_install
136 -
137 - if use doc; then
138 - local HTML_DOCS=( "${S}"/docs/.build/html/. )
139 - einstalldocs
140 -
141 - # install man and info pages
142 - doman "${S}"/docs/.build/man/pybind11.1
143 - doinfo "${S}"/docs/.build/texinfo/pybind11.info
144 - fi
145 -}