1 |
commit: 08a7a14351dea6d8e1c87fa1ec44f601af672f1a |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 3 02:39:04 2020 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 3 02:41:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=08a7a143 |
7 |
|
8 |
sci-lib/symengine: remove package; in main tree |
9 |
|
10 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
11 |
|
12 |
sci-libs/symengine/metadata.xml | 18 ---------- |
13 |
sci-libs/symengine/symengine-0.1.0.ebuild | 59 ------------------------------- |
14 |
sci-libs/symengine/symengine-9999.ebuild | 51 -------------------------- |
15 |
3 files changed, 128 deletions(-) |
16 |
|
17 |
diff --git a/sci-libs/symengine/metadata.xml b/sci-libs/symengine/metadata.xml |
18 |
deleted file mode 100644 |
19 |
index 5f5840260..000000000 |
20 |
--- a/sci-libs/symengine/metadata.xml |
21 |
+++ /dev/null |
22 |
@@ -1,18 +0,0 @@ |
23 |
-<?xml version="1.0" encoding="UTF-8"?> |
24 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
25 |
-<pkgmetadata> |
26 |
- <maintainer type="person"> |
27 |
- <email>mschu.dev@×××××.com</email> |
28 |
- <name>Michael Schubert</name> |
29 |
- </maintainer> |
30 |
- <maintainer type="project"> |
31 |
- <email>sci-mathematics@g.o</email> |
32 |
- <name>Gentoo Mathematics Project</name> |
33 |
- </maintainer> |
34 |
- <upstream> |
35 |
- <remote-id type="github">sympy/symengine</remote-id> |
36 |
- </upstream> |
37 |
- <use> |
38 |
- <flag name="boost">Add support for boost (<pkg>dev-libs/boost</pkg>)</flag> |
39 |
- </use> |
40 |
-</pkgmetadata> |
41 |
|
42 |
diff --git a/sci-libs/symengine/symengine-0.1.0.ebuild b/sci-libs/symengine/symengine-0.1.0.ebuild |
43 |
deleted file mode 100644 |
44 |
index 658f6700a..000000000 |
45 |
--- a/sci-libs/symengine/symengine-0.1.0.ebuild |
46 |
+++ /dev/null |
47 |
@@ -1,59 +0,0 @@ |
48 |
-# Copyright 1999-2015 Gentoo Foundation |
49 |
-# Distributed under the terms of the GNU General Public License v2 |
50 |
- |
51 |
-EAPI=5 |
52 |
- |
53 |
-PYTHON_COMPAT=( python2_7 ) |
54 |
- |
55 |
-inherit cmake-utils python-single-r1 |
56 |
- |
57 |
-DESCRIPTION="Fast symbolic manipulation library, written in C++" |
58 |
-HOMEPAGE="https://github.com/sympy/symengine" |
59 |
-SRC_URI="https://github.com/sympy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
60 |
- |
61 |
-LICENSE="MIT" |
62 |
-SLOT="0" |
63 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
64 |
-IUSE="boost openmp python threads" |
65 |
-REQUIRED_USE=" |
66 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
67 |
- ?? ( openmp threads )" |
68 |
- |
69 |
-RDEPEND=" |
70 |
- dev-libs/jemalloc |
71 |
- boost? ( dev-libs/boost ) |
72 |
- python? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
73 |
-DEPEND="${RDEPEND} |
74 |
- python? ( |
75 |
- dev-python/cython[${PYTHON_USEDEP}] |
76 |
- dev-python/setuptools[${PYTHON_USEDEP}] )" |
77 |
- |
78 |
-CMAKE_BUILD_TYPE=Release |
79 |
- |
80 |
-pkg_pretend() { |
81 |
- if use openmp && [[ ${MERGE_TYPE} != binary ]]; then |
82 |
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then |
83 |
- ewarn "OpenMP is not available in your current selected gcc" |
84 |
- die "need openmp capable gcc" |
85 |
- fi |
86 |
- fi |
87 |
-} |
88 |
- |
89 |
-src_configure() { |
90 |
- local mycmakeargs=( |
91 |
- -DCMAKE_INSTALL_PREFIX:PATH="${EPREFIX}"/usr |
92 |
- $(cmake-utils_use_with boost) |
93 |
- $(cmake-utils_use_with openmp) |
94 |
- $(cmake-utils_use_with python) |
95 |
- ) |
96 |
- |
97 |
- if use threads; then |
98 |
- mycmakeargs+=( |
99 |
- -DWITH_TCMALLOC:BOOL=ON |
100 |
- -DWITH_PTHREAD:BOOL=ON |
101 |
- -DWITH_SYMENGINE_THREAD_SAFE:BOOL=ON |
102 |
- ) |
103 |
- fi |
104 |
- |
105 |
- cmake-utils_src_configure |
106 |
-} |
107 |
|
108 |
diff --git a/sci-libs/symengine/symengine-9999.ebuild b/sci-libs/symengine/symengine-9999.ebuild |
109 |
deleted file mode 100644 |
110 |
index 3448694d2..000000000 |
111 |
--- a/sci-libs/symengine/symengine-9999.ebuild |
112 |
+++ /dev/null |
113 |
@@ -1,51 +0,0 @@ |
114 |
-# Copyright 1999-2015 Gentoo Foundation |
115 |
-# Distributed under the terms of the GNU General Public License v2 |
116 |
- |
117 |
-EAPI=5 |
118 |
- |
119 |
-inherit git-r3 cmake-utils |
120 |
- |
121 |
-DESCRIPTION="Fast symbolic manipulation library, written in C++" |
122 |
-HOMEPAGE="https://github.com/sympy/symengine" |
123 |
-SRC_URI="" |
124 |
-EGIT_REPO_URI="https://github.com/sympy/symengine.git" |
125 |
- |
126 |
-LICENSE="MIT" |
127 |
-SLOT="0" |
128 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
129 |
-IUSE="boost openmp threads" |
130 |
-REQUIRED_USE="?? ( openmp threads )" |
131 |
- |
132 |
-RDEPEND=" |
133 |
- dev-libs/jemalloc |
134 |
- boost? ( dev-libs/boost )" |
135 |
-DEPEND="${RDEPEND}" |
136 |
- |
137 |
-CMAKE_BUILD_TYPE=Release |
138 |
- |
139 |
-pkg_pretend() { |
140 |
- if use openmp && [[ ${MERGE_TYPE} != binary ]]; then |
141 |
- if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then |
142 |
- ewarn "OpenMP is not available in your current selected gcc" |
143 |
- die "need openmp capable gcc" |
144 |
- fi |
145 |
- fi |
146 |
-} |
147 |
- |
148 |
-src_configure() { |
149 |
- local mycmakeargs=( |
150 |
- -DCMAKE_INSTALL_PREFIX:PATH="${EPREFIX}"/usr |
151 |
- $(cmake-utils_use_with boost) |
152 |
- $(cmake-utils_use_with openmp) |
153 |
- ) |
154 |
- |
155 |
- if use threads; then |
156 |
- mycmakeargs+=( |
157 |
- -DWITH_TCMALLOC:BOOL=ON |
158 |
- -DWITH_PTHREAD:BOOL=ON |
159 |
- -DWITH_SYMENGINE_THREAD_SAFE:BOOL=ON |
160 |
- ) |
161 |
- fi |
162 |
- |
163 |
- cmake-utils_src_configure |
164 |
-} |