Gentoo Archives: gentoo-commits

From: Dennis Lamm <expeditioneer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libsavitar/
Date: Sun, 07 Feb 2021 21:30:53
Message-Id: 1612733443.fb1d7ff481eee3d461fda1092db71e85f03f5c48.expeditioneer@gentoo
1 commit: fb1d7ff481eee3d461fda1092db71e85f03f5c48
2 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 7 18:58:48 2021 +0000
4 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 7 21:30:43 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb1d7ff4
7
8 dev-libs/libsavitar: drop old
9
10 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org>
11
12 dev-libs/libsavitar/Manifest | 1 -
13 dev-libs/libsavitar/libsavitar-4.7.0.ebuild | 76 -----------------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/dev-libs/libsavitar/Manifest b/dev-libs/libsavitar/Manifest
17 index bae2e51e170..fa69039eb88 100644
18 --- a/dev-libs/libsavitar/Manifest
19 +++ b/dev-libs/libsavitar/Manifest
20 @@ -1,2 +1 @@
21 -DIST libsavitar-4.7.0.tar.gz 99070 BLAKE2B 3e27624a62568b8d45ddf8fde60a0377faa81eb9e031e32e935d992304b7249d4f3fa7d9bc45b370882e203368a90ad48347faa600f339d096c67432e23d8ddc SHA512 bd19d3ee8be570791bf4f3d5be5eb44d5bba3181a693633d5703ba91c78d3725dbe051c888ec60cea057790a561beeb98b96c41e6584f630f2410bdb97e0cb4d
22 DIST libsavitar-4.8.0.tar.gz 99030 BLAKE2B a1c1e252aa942114a1d7112d2e661b5e63403502642826c6b92c408c8eabd3d9fb12b44dc286f9a0dce3d42f473adae2441d357f237c903c8a0df936c41f9f37 SHA512 65d31986b120c9e717b10d0bac420f2582d9f1b44051d88f89475408d1f7997e144001c61f180eac554de33f1f8c1ec9555a6c23bdd797315624f57030f7ec8c
23
24 diff --git a/dev-libs/libsavitar/libsavitar-4.7.0.ebuild b/dev-libs/libsavitar/libsavitar-4.7.0.ebuild
25 deleted file mode 100644
26 index e1b8a3b218f..00000000000
27 --- a/dev-libs/libsavitar/libsavitar-4.7.0.ebuild
28 +++ /dev/null
29 @@ -1,76 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{7..8} )
36 -
37 -inherit cmake python-single-r1
38 -
39 -MY_PN="libSavitar"
40 -
41 -DESCRIPTION="C++ implementation of 3mf loading with SIP python bindings"
42 -HOMEPAGE="https://github.com/Ultimaker/libSavitar"
43 -SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="LGPL-3"
46 -SLOT="0/3"
47 -KEYWORDS="~amd64 ~arm64 ~x86"
48 -
49 -IUSE="+python static-libs test"
50 -RESTRICT="!test? ( test )"
51 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
52 -
53 -RDEPEND="${PYTHON_DEPS}
54 - dev-libs/pugixml
55 - $(python_gen_cond_dep '
56 - dev-python/sip[${PYTHON_MULTI_USEDEP}]
57 - ')"
58 -
59 -DEPEND="${RDEPEND}
60 - test? (
61 - dev-cpp/gtest
62 - dev-cpp/tbb
63 - )"
64 -
65 -S="${WORKDIR}/${MY_PN}-${PV}"
66 -BUILD_DIR="${S}/build"
67 -
68 -PATCHES=( "${FILESDIR}/${PN}-4.7.0-use-system-pugixml.patch" )
69 -
70 -pkg_setup() {
71 - use python && python-single-r1_pkg_setup
72 -}
73 -
74 -src_prepare() {
75 - # remove bundled pugixml
76 - rm -r "${S}"/pugixml || die
77 -
78 - find "${S}"/src -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
79 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
80 -
81 - if use test; then
82 - find "${S}"/tests -type f -name '*.cpp' -o -name '*.h' | xargs sed -i \
83 - -e 's "../pugixml/src/pugixml.hpp" <pugixml.hpp> g' || die
84 - fi
85 -
86 - # find SIP for current python version, not the latest installed
87 - sed -i -e "s/find_package(Python3 3.4 REQUIRED/find_package(Python3 ${EPYTHON##python} EXACT REQUIRED/g" \
88 - CMakeLists.txt cmake/FindSIP.cmake || die
89 -
90 - cmake_src_prepare
91 -}
92 -
93 -src_configure() {
94 - local mycmakeargs=(
95 - -DBUILD_PYTHON=$(usex python ON OFF)
96 - -DBUILD_STATIC=$(usex static-libs ON OFF)
97 - -DBUILD_TESTS=$(usex test ON OFF)
98 - )
99 -
100 - cmake_src_configure
101 -}
102 -
103 -src_test() {
104 - cmake_src_test
105 -}