diff options
author | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-25 15:29:34 +0500 |
---|---|---|
committer | Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> | 2024-08-25 15:38:48 +0500 |
commit | 7ec8859d33f7df2101030f9b23946c95bccac5ea (patch) | |
tree | 9bafa1da8481e987014b6f9d32f68d856d4009cf /app-crypt | |
parent | media-video/stremio: update SRC_URI and dependencies (diff) | |
download | guru-7ec8859d33f7df2101030f9b23946c95bccac5ea.tar.gz guru-7ec8859d33f7df2101030f9b23946c95bccac5ea.tar.bz2 guru-7ec8859d33f7df2101030f9b23946c95bccac5ea.zip |
app-crypt/firefox-decrypt: new package, add 1.1.1
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/firefox-decrypt/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild | 41 | ||||
-rw-r--r-- | app-crypt/firefox-decrypt/metadata.xml | 14 |
3 files changed, 56 insertions, 0 deletions
diff --git a/app-crypt/firefox-decrypt/Manifest b/app-crypt/firefox-decrypt/Manifest new file mode 100644 index 000000000..16f0a3ad6 --- /dev/null +++ b/app-crypt/firefox-decrypt/Manifest @@ -0,0 +1 @@ +DIST firefox-decrypt-1.1.1.tar.gz 95537 BLAKE2B 778cef025b9a84e751bd1331b89d51a98b674aef82d768f789c8ae5ebbaf1c528a192e8d20111259e2eb33ef07de25da5e0126629ac2b65c2d5455610d7f4e7d SHA512 2604cd27d88520c8397524b2b6d12e02a2f9fe14211754f3111aec5d9f112c528b749f6c2a032c1a01fc5038edede01c45d54a4ba0ed2ee40fd411085c3e0052 diff --git a/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild b/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild new file mode 100644 index 000000000..5031a8636 --- /dev/null +++ b/app-crypt/firefox-decrypt/firefox-decrypt-1.1.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_IN_SOURCE_BUILD= +inherit distutils-r1 + +DESCRIPTION="Tool to extract passwords from Mozilla (Firefox, Thunderbird, etc.) profiles" +HOMEPAGE="https://github.com/Unode/firefox_decrypt" +SRC_URI="https://github.com/unode/${PN/-/_}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN/-/_}-${PV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-libs/nss" +BDEPEND=" + $(python_gen_cond_dep 'dev-python/setuptools-scm[${PYTHON_USEDEP}]') +" + +distutils_enable_tests setup.py + +src_prepare() { + rm tests/version.t || die + distutils-r1_src_prepare +} + +python_prepare() { + python_fix_shebang "${S}"/tests +} + +python_test() { + cd "${S}"/tests || die + ${EPYTHON} run_all -v || die +} diff --git a/app-crypt/firefox-decrypt/metadata.xml b/app-crypt/firefox-decrypt/metadata.xml new file mode 100644 index 000000000..f9b0f39a3 --- /dev/null +++ b/app-crypt/firefox-decrypt/metadata.xml @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cyber+gentoo@sysrq.in</email> + <name>Anna</name> + </maintainer> + <upstream> + <maintainer> + <name>Renato Alves</name> + </maintainer> + <remote-id type="github">Unode/firefox_decrypt</remote-id> + </upstream> +</pkgmetadata> |