1 |
commit: 0c4e65e46a971f857e938f8857629a2795abe98c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 06:58:57 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 07:00:51 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c4e65e4 |
7 |
|
8 |
dev-libs/libcharon: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libcharon/Manifest | 2 - |
13 |
dev-libs/libcharon/libcharon-4.12.1.ebuild | 72 ---------------------------- |
14 |
dev-libs/libcharon/libcharon-4.9.1-r1.ebuild | 72 ---------------------------- |
15 |
3 files changed, 146 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/libcharon/Manifest b/dev-libs/libcharon/Manifest |
18 |
index a7ff2bd4a809..f42c09a959e1 100644 |
19 |
--- a/dev-libs/libcharon/Manifest |
20 |
+++ b/dev-libs/libcharon/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST libcharon-4.12.1.tar.gz 151783 BLAKE2B 54cac090a924ee086e15fddc0cd2acc8dfbc3dfd2dc91b27ffb1d81a64dcf30a46bf62e2c443d8de46a6f2a02e6d06dc1ea454d19f57f7dd93d5f81a44477dba SHA512 dcc0b89703e36e8f3d508bbda91b6fcc8313ac09c4d5e09cc6f0770ccdde18e421daa7e6b52958c5705dbb6987961635e3e31a61810ba54bf8b842af7afba94d |
23 |
DIST libcharon-4.13.0.tar.gz 151775 BLAKE2B f8a8b59b361ffc9b54e0047e0cc3824e2a92cf341aa9664712d020e07e5f2facda6f2d1827998c4af0958a3b05070738a20d93d7723a2f3708e601b70474653c SHA512 cd6e4cd696bcbebe5aa6a53f5222fbb8f982ff21d165adcd8854769b19df2d15ea6287100ba09ddd85ac80d3f86dbfae9ac050ee50f082223bf0acb542413d8c |
24 |
-DIST libcharon-4.9.1.tar.gz 151243 BLAKE2B 8557efe4667a83297a4bcfc8307e2322a379e52d50ad1648d873a923e182b3be1651a13c7402ac041fd134036a75a42e825adf2cc27271af218db44af7e48473 SHA512 41d611f8d3bf0f762a38a00c159104df04b73cd5c4f7e9ebcfe3ac9cdd0c8e31e505c4fd4ef8f8a6f1c02bf882bb3e14ea4e92c8b15169a91cbd1815e36310fa |
25 |
|
26 |
diff --git a/dev-libs/libcharon/libcharon-4.12.1.ebuild b/dev-libs/libcharon/libcharon-4.12.1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 9d4e30e9bfc3..000000000000 |
29 |
--- a/dev-libs/libcharon/libcharon-4.12.1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,72 +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="libCharon" |
42 |
- |
43 |
-DESCRIPTION="This library facilitates communication between Cura and its backend" |
44 |
-HOMEPAGE="https://github.com/Ultimaker/libCharon" |
45 |
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
- |
47 |
-LICENSE="LGPL-3" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 ~arm64 ~x86" |
50 |
- |
51 |
-IUSE="+client +dbus test" |
52 |
-RESTRICT="!test? ( test )" |
53 |
- |
54 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
55 |
-RDEPEND=" |
56 |
- ${PYTHON_DEPS} |
57 |
- dbus? ( |
58 |
- acct-group/ultimaker |
59 |
- acct-user/ultimaker |
60 |
- sys-apps/dbus |
61 |
- )" |
62 |
- |
63 |
-DEPEND="${PYTHON_DEPS} |
64 |
- test? ( |
65 |
- $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') |
66 |
- )" |
67 |
- |
68 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
69 |
- |
70 |
-src_prepare() { |
71 |
- # use current python version, not the latest installed |
72 |
- # fix python install location |
73 |
- sed -i \ |
74 |
- -e "s:find_package(Python3 3.4 REQUIRED:find_package(Python3 ${EPYTHON##python} EXACT REQUIRED:g" \ |
75 |
- -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}\.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" \ |
76 |
- CMakeLists.txt || die |
77 |
- |
78 |
- 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 |
79 |
- |
80 |
- cmake_src_prepare |
81 |
-} |
82 |
- |
83 |
-src_configure() { |
84 |
- local mycmakeargs=( |
85 |
- -DINSTALL_CLIENT=$(usex client ON OFF) |
86 |
- -DINSTALL_SERVICE=$(usex dbus ON OFF) |
87 |
- -DPython3_EXECUTABLE="${PYTHON}" |
88 |
- ) |
89 |
- |
90 |
- cmake_src_configure |
91 |
-} |
92 |
- |
93 |
-src_install() { |
94 |
- cmake_src_install |
95 |
- python_optimize |
96 |
-} |
97 |
- |
98 |
-pkg_postinst() { |
99 |
- if use dbus ; then |
100 |
- elog "To start the Charon File Metadata service at boot, add it to the default runlevel with:" |
101 |
- elog " systemctl enable charon" |
102 |
- fi |
103 |
-} |
104 |
|
105 |
diff --git a/dev-libs/libcharon/libcharon-4.9.1-r1.ebuild b/dev-libs/libcharon/libcharon-4.9.1-r1.ebuild |
106 |
deleted file mode 100644 |
107 |
index 6ba209c25452..000000000000 |
108 |
--- a/dev-libs/libcharon/libcharon-4.9.1-r1.ebuild |
109 |
+++ /dev/null |
110 |
@@ -1,72 +0,0 @@ |
111 |
-# Copyright 1999-2021 Gentoo Authors |
112 |
-# Distributed under the terms of the GNU General Public License v2 |
113 |
- |
114 |
-EAPI=7 |
115 |
- |
116 |
-PYTHON_COMPAT=( python3_{8..10} ) |
117 |
- |
118 |
-inherit cmake python-single-r1 |
119 |
- |
120 |
-MY_PN="libCharon" |
121 |
- |
122 |
-DESCRIPTION="This library facilitates communication between Cura and its backend" |
123 |
-HOMEPAGE="https://github.com/Ultimaker/libCharon" |
124 |
-SRC_URI="https://github.com/Ultimaker/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
125 |
- |
126 |
-LICENSE="LGPL-3" |
127 |
-SLOT="0" |
128 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
129 |
- |
130 |
-IUSE="+client +dbus test" |
131 |
-RESTRICT="!test? ( test )" |
132 |
- |
133 |
-REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
134 |
-RDEPEND=" |
135 |
- ${PYTHON_DEPS} |
136 |
- dbus? ( |
137 |
- acct-group/ultimaker |
138 |
- acct-user/ultimaker |
139 |
- sys-apps/dbus |
140 |
- )" |
141 |
- |
142 |
-DEPEND="${PYTHON_DEPS} |
143 |
- test? ( |
144 |
- $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') |
145 |
- )" |
146 |
- |
147 |
-S="${WORKDIR}/${MY_PN}-${PV}" |
148 |
- |
149 |
-src_prepare() { |
150 |
- # use current python version, not the latest installed |
151 |
- # fix python install location |
152 |
- sed -i \ |
153 |
- -e "s:find_package(Python3 3.4 REQUIRED:find_package(Python3 ${EPYTHON##python} EXACT REQUIRED:g" \ |
154 |
- -e "s:lib\${LIB_SUFFIX}/python\${Python3_VERSION_MAJOR}\.\${Python3_VERSION_MINOR}/site-packages:$(python_get_sitedir):g" \ |
155 |
- CMakeLists.txt || die |
156 |
- |
157 |
- 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 |
158 |
- |
159 |
- cmake_src_prepare |
160 |
-} |
161 |
- |
162 |
-src_configure() { |
163 |
- local mycmakeargs=( |
164 |
- -DINSTALL_CLIENT=$(usex client ON OFF) |
165 |
- -DINSTALL_SERVICE=$(usex dbus ON OFF) |
166 |
- -DPython3_EXECUTABLE="${PYTHON}" |
167 |
- ) |
168 |
- |
169 |
- cmake_src_configure |
170 |
-} |
171 |
- |
172 |
-src_install() { |
173 |
- cmake_src_install |
174 |
- python_optimize |
175 |
-} |
176 |
- |
177 |
-pkg_postinst() { |
178 |
- if use dbus ; then |
179 |
- elog "To start the Charon File Metadata service at boot, add it to the default runlevel with:" |
180 |
- elog " systemctl enable charon" |
181 |
- fi |
182 |
-} |