Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsavitar/
Date: Mon, 09 May 2022 07:01:02
Message-Id: 1652079652.075338fbbc65bb8a8168ff42858cacbf7983698d.mgorny@gentoo
1 commit: 075338fbbc65bb8a8168ff42858cacbf7983698d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 9 06:59:13 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 9 07:00:52 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=075338fb
7
8 dev-libs/libsavitar: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-libs/libsavitar/Manifest | 2 -
13 dev-libs/libsavitar/libsavitar-4.12.1.ebuild | 76 ----------------------------
14 dev-libs/libsavitar/libsavitar-4.9.1.ebuild | 76 ----------------------------
15 3 files changed, 154 deletions(-)
16
17 diff --git a/dev-libs/libsavitar/Manifest b/dev-libs/libsavitar/Manifest
18 index 6555c1203b66..0d74511ddfbb 100644
19 --- a/dev-libs/libsavitar/Manifest
20 +++ b/dev-libs/libsavitar/Manifest
21 @@ -1,3 +1 @@
22 -DIST libsavitar-4.12.1.tar.gz 100730 BLAKE2B cb9dd3ed6802e88235769f70092dbd50113d107b3d2ec17851120338ad6b6ee809c1243f406ee0c96358e5e618d883640e2c3ff9c7f3b41fa6e3a4993939c044 SHA512 c848730cca44b942cd0aba343880a68b23f1bfe95b3348cf1d9d490d9a99be3db9d1940ae473a74ad695823404fab86b728327783c8cc3cfb04ebff8cc6a1b3c
23 DIST libsavitar-4.13.0.tar.gz 100723 BLAKE2B d631c572e20fcf92cb2053959fad7c806b18981eaad7a0ad1efb52870a7f5874459d4012a7583be8bcdd7cbfad863dea9c4f8c13579269db3ea3a3cf92383b4f SHA512 a446131c0bbcc34e55c093032af823b9750797f06297bea9fd4d64838e793811e71679a1f6ae99be9fc9382a23e8763140147c7a6eea0a310f6f2d40b53be3bf
24 -DIST libsavitar-4.9.1.tar.gz 100496 BLAKE2B 7700f110522298905c1e4cf42529e83c06c337ac826007db2fca8abf462abcb8dd9245d2d81773ba3e6663d9afa093685bf955a1cc7e27d48fc904913e56d62f SHA512 2b291a17603922a4a06292282392015cf381a813b5f9a374e8cb35da6c0701ead72cbf76f17e763793225885a4209b49e73114f462b40d6999f95db6de887a44
25
26 diff --git a/dev-libs/libsavitar/libsavitar-4.12.1.ebuild b/dev-libs/libsavitar/libsavitar-4.12.1.ebuild
27 deleted file mode 100644
28 index dc295a503afe..000000000000
29 --- a/dev-libs/libsavitar/libsavitar-4.12.1.ebuild
30 +++ /dev/null
31 @@ -1,76 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -
39 -inherit cmake python-single-r1
40 -
41 -MY_PN="libSavitar"
42 -
43 -DESCRIPTION="C++ implementation of 3mf loading with SIP python bindings"
44 -HOMEPAGE="https://github.com/Ultimaker/libSavitar"
45 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="LGPL-3"
48 -SLOT="0/3"
49 -KEYWORDS="amd64 ~arm64 ~x86"
50 -
51 -IUSE="+python static-libs test"
52 -RESTRICT="!test? ( test )"
53 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
54 -
55 -RDEPEND="${PYTHON_DEPS}
56 - dev-libs/pugixml
57 - $(python_gen_cond_dep '
58 - <dev-python/sip-5[${PYTHON_USEDEP}]
59 - ')"
60 -
61 -DEPEND="${RDEPEND}
62 - test? (
63 - dev-cpp/gtest
64 - dev-cpp/tbb
65 - )"
66 -
67 -S="${WORKDIR}/${MY_PN}-${PV}"
68 -BUILD_DIR="${S}/build"
69 -
70 -PATCHES=( "${FILESDIR}/${PN}-4.7.0-use-system-pugixml.patch" )
71 -
72 -pkg_setup() {
73 - use python && python-single-r1_pkg_setup
74 -}
75 -
76 -src_prepare() {
77 - # remove bundled pugixml
78 - rm -r "${S}"/pugixml || die
79 -
80 - find "${S}"/src -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
81 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
82 -
83 - if use test; then
84 - find "${S}"/tests -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
85 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
86 - fi
87 -
88 - # find SIP for current python version, not the latest installed
89 - sed -i -e "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
90 - CMakeLists.txt cmake/FindSIP.cmake || die
91 -
92 - cmake_src_prepare
93 -}
94 -
95 -src_configure() {
96 - local mycmakeargs=(
97 - -DBUILD_PYTHON=$(usex python ON OFF)
98 - -DBUILD_STATIC=$(usex static-libs ON OFF)
99 - -DBUILD_TESTS=$(usex test ON OFF)
100 - )
101 -
102 - cmake_src_configure
103 -}
104 -
105 -src_test() {
106 - cmake_src_test
107 -}
108
109 diff --git a/dev-libs/libsavitar/libsavitar-4.9.1.ebuild b/dev-libs/libsavitar/libsavitar-4.9.1.ebuild
110 deleted file mode 100644
111 index 263cdd5d1947..000000000000
112 --- a/dev-libs/libsavitar/libsavitar-4.9.1.ebuild
113 +++ /dev/null
114 @@ -1,76 +0,0 @@
115 -# Copyright 1999-2021 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI=7
119 -
120 -PYTHON_COMPAT=( python3_{8..10} )
121 -
122 -inherit cmake python-single-r1
123 -
124 -MY_PN="libSavitar"
125 -
126 -DESCRIPTION="C++ implementation of 3mf loading with SIP python bindings"
127 -HOMEPAGE="https://github.com/Ultimaker/libSavitar"
128 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
129 -
130 -LICENSE="LGPL-3"
131 -SLOT="0/3"
132 -KEYWORDS="~amd64 ~arm64 ~x86"
133 -
134 -IUSE="+python static-libs test"
135 -RESTRICT="!test? ( test )"
136 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
137 -
138 -RDEPEND="${PYTHON_DEPS}
139 - dev-libs/pugixml
140 - $(python_gen_cond_dep '
141 - <dev-python/sip-5[${PYTHON_USEDEP}]
142 - ')"
143 -
144 -DEPEND="${RDEPEND}
145 - test? (
146 - dev-cpp/gtest
147 - dev-cpp/tbb
148 - )"
149 -
150 -S="${WORKDIR}/${MY_PN}-${PV}"
151 -BUILD_DIR="${S}/build"
152 -
153 -PATCHES=( "${FILESDIR}/${PN}-4.7.0-use-system-pugixml.patch" )
154 -
155 -pkg_setup() {
156 - use python && python-single-r1_pkg_setup
157 -}
158 -
159 -src_prepare() {
160 - # remove bundled pugixml
161 - rm -r "${S}"/pugixml || die
162 -
163 - find "${S}"/src -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
164 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
165 -
166 - if use test; then
167 - find "${S}"/tests -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
168 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
169 - fi
170 -
171 - # find SIP for current python version, not the latest installed
172 - sed -i -e "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
173 - CMakeLists.txt cmake/FindSIP.cmake || die
174 -
175 - cmake_src_prepare
176 -}
177 -
178 -src_configure() {
179 - local mycmakeargs=(
180 - -DBUILD_PYTHON=$(usex python ON OFF)
181 - -DBUILD_STATIC=$(usex static-libs ON OFF)
182 - -DBUILD_TESTS=$(usex test ON OFF)
183 - )
184 -
185 - cmake_src_configure
186 -}
187 -
188 -src_test() {
189 - cmake_src_test
190 -}