1 |
commit: 5308d39cf35787e694d4ce39fe7de9e634a81e39 |
2 |
Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 7 19:01:48 2021 +0000 |
4 |
Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 7 21:30:44 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5308d39c |
7 |
|
8 |
dev-libs/libcharon: drop old |
9 |
|
10 |
Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libcharon/Manifest | 1 - |
13 |
dev-libs/libcharon/libcharon-4.7.0.ebuild | 73 ------------------------------- |
14 |
2 files changed, 74 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libcharon/Manifest b/dev-libs/libcharon/Manifest |
17 |
index d3b41bfd4d5..0e334c6a336 100644 |
18 |
--- a/dev-libs/libcharon/Manifest |
19 |
+++ b/dev-libs/libcharon/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST libcharon-4.7.0.tar.gz 151221 BLAKE2B af9fe83e07303e1ff296b878c9745a329531a9957ad16a9b39b36e53f3f2275f850806b6d1a51638013c7148f3ee68b92489a67629a6026056a8c4ed3f2338b1 SHA512 690ce086bf8bba3eee2ce087d02ce00c23a7ac4079b0a2961c05cf75d461b0d5dee0c1f86ed769b50f1cd9ef83d8570a54f4fac628e0c19a5a593138292bc64c |
22 |
DIST libcharon-4.8.0.tar.gz 151223 BLAKE2B fe4d2901908367569b45c466d31ac6e290979a8bd39c84f9c3ceb3ed91e9d9f1a789703fa5006706e21d77bd46b3185571df3f6157c7722e3e35244d27e0231c SHA512 33d3e9aa4e356fbf1d41555cfe2a5470d8f02b1d4f59d83e1ba89236b5e4489a93bdf24fad6f9bd2b0f843c053c485a082f5ee57437862ac40522aa61280b19c |
23 |
|
24 |
diff --git a/dev-libs/libcharon/libcharon-4.7.0.ebuild b/dev-libs/libcharon/libcharon-4.7.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 9cacf998c08..00000000000 |
27 |
--- a/dev-libs/libcharon/libcharon-4.7.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,73 +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..9} ) |
36 |
- |
37 |
-inherit cmake python-single-r1 |
38 |
- |
39 |
-MY_PN="libCharon" |
40 |
- |
41 |
-DESCRIPTION="This library facilitates communication between Cura and its backend" |
42 |
-HOMEPAGE="https://github.com/Ultimaker/libCharon" |
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="+client +dbus test" |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
53 |
-RDEPEND=" |
54 |
- ${PYTHON_DEPS} |
55 |
- dbus? ( |
56 |
- acct-group/ultimaker |
57 |
- acct-user/ultimaker |
58 |
- sys-apps/dbus |
59 |
- )" |
60 |
- |
61 |
-DEPEND="${PYTHON_DEPS} |
62 |
- test? ( |
63 |
- $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_MULTI_USEDEP}]') |
64 |
- )" |
65 |
- |
66 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
67 |
- |
68 |
-src_prepare() { |
69 |
- # use current python version, not the latest installed |
70 |
- # fix python install location |
71 |
- sed -i \ |
72 |
- -e "s:find_package(Python3 3.4 REQUIRED:find_package(Python3 ${EPYTHON##python} EXACT REQUIRED:g" \ |
73 |
- -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}\.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" \ |
74 |
- CMakeLists.txt || die |
75 |
- |
76 |
- sed -i -e "s:/usr/lib/python3/dist-packages/Charon/Service/main.py:$(python_get_sitedir)/Charon/Service/main.py:g" service/charon.service || die |
77 |
- |
78 |
- cmake_src_prepare |
79 |
-} |
80 |
- |
81 |
-src_configure() { |
82 |
- local mycmakeargs=( |
83 |
- -DINSTALL_CLIENT=$(usex client ON OFF) |
84 |
- -DINSTALL_SERVICE=$(usex dbus ON OFF) |
85 |
- -DPython3_EXECUTABLE="${PYTHON}" |
86 |
- ) |
87 |
- |
88 |
- cmake_src_configure |
89 |
-} |
90 |
- |
91 |
-src_install() { |
92 |
- cmake_src_install |
93 |
- |
94 |
- python_optimize "${D}/usr/$(get_libdir)" |
95 |
-} |
96 |
- |
97 |
-pkg_postinst() { |
98 |
- if use dbus ; then |
99 |
- elog "To start the Charon File Metadata service at boot, add it to the default runlevel with:" |
100 |
- elog " systemctl enable charon" |
101 |
- fi |
102 |
-} |