1 |
commit: dca7d557fea59235f738d55369686ce3a1bc577f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 22 19:48:43 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 22 20:06:03 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dca7d557 |
7 |
|
8 |
x11-misc/revelation: Use dev-python/pycryptodome |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../{revelation-0.5.4.ebuild => revelation-0.5.4-r1.ebuild} | 8 +++++++- |
13 |
1 file changed, 7 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/x11-misc/revelation/revelation-0.5.4.ebuild b/x11-misc/revelation/revelation-0.5.4-r1.ebuild |
16 |
similarity index 85% |
17 |
rename from x11-misc/revelation/revelation-0.5.4.ebuild |
18 |
rename to x11-misc/revelation/revelation-0.5.4-r1.ebuild |
19 |
index 0f47118e8de..e7a9a4ea2c7 100644 |
20 |
--- a/x11-misc/revelation/revelation-0.5.4.ebuild |
21 |
+++ b/x11-misc/revelation/revelation-0.5.4-r1.ebuild |
22 |
@@ -22,7 +22,7 @@ RESTRICT="test" |
23 |
|
24 |
RDEPEND="${PYTHON_DEPS} |
25 |
$(python_gen_cond_dep ' |
26 |
- dev-python/pycryptodomex[${PYTHON_USEDEP}] |
27 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}] |
28 |
dev-python/pygobject[${PYTHON_USEDEP}] |
29 |
dev-libs/libpwquality[python,${PYTHON_USEDEP}] |
30 |
') |
31 |
@@ -33,6 +33,12 @@ RDEPEND="${PYTHON_DEPS} |
32 |
|
33 |
DEPEND="${RDEPEND}" |
34 |
|
35 |
+src_prepare() { |
36 |
+ find -name '*.py' -exec \ |
37 |
+ sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die |
38 |
+ xdg_src_prepare |
39 |
+} |
40 |
+ |
41 |
src_install() { |
42 |
meson_src_install |
43 |
python_fix_shebang "${ED}" |