summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-12-22 20:48:43 +0100
committerMichał Górny <mgorny@gentoo.org>2020-12-22 21:06:03 +0100
commitdca7d557fea59235f738d55369686ce3a1bc577f (patch)
tree303e89810b75c3add154e8b202fb448145388550 /x11-misc
parentpackage.deprecated: Add dev-python/pycryptodomex (diff)
downloadgentoo-dca7d557fea59235f738d55369686ce3a1bc577f.tar.gz
gentoo-dca7d557fea59235f738d55369686ce3a1bc577f.tar.bz2
gentoo-dca7d557fea59235f738d55369686ce3a1bc577f.zip
x11-misc/revelation: Use dev-python/pycryptodome
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/revelation/revelation-0.5.4-r1.ebuild (renamed from x11-misc/revelation/revelation-0.5.4.ebuild)8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-misc/revelation/revelation-0.5.4.ebuild b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
index 0f47118e8de8..e7a9a4ea2c77 100644
--- a/x11-misc/revelation/revelation-0.5.4.ebuild
+++ b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
@@ -22,7 +22,7 @@ RESTRICT="test"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
- dev-python/pycryptodomex[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-libs/libpwquality[python,${PYTHON_USEDEP}]
')
@@ -33,6 +33,12 @@ RDEPEND="${PYTHON_DEPS}
DEPEND="${RDEPEND}"
+src_prepare() {
+ find -name '*.py' -exec \
+ sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die
+ xdg_src_prepare
+}
+
src_install() {
meson_src_install
python_fix_shebang "${ED}"