summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2020-10-13 19:23:04 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-10-14 12:21:13 +0300
commiteeb57aa4ecf417009befcbe09a4ded2b38162810 (patch)
tree7c2403267dfdcf2e035a1c2e4c8632783de8308f /dev-libs/voikko-fi
parentapp-crypt/openpgp-keys-voikko: new keys used by voikko packages (diff)
downloadgentoo-eeb57aa4ecf417009befcbe09a4ded2b38162810.tar.gz
gentoo-eeb57aa4ecf417009befcbe09a4ded2b38162810.tar.bz2
gentoo-eeb57aa4ecf417009befcbe09a4ded2b38162810.zip
dev-libs/voikko-fi: use verify-sig
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/voikko-fi')
-rw-r--r--dev-libs/voikko-fi/Manifest1
-rw-r--r--dev-libs/voikko-fi/voikko-fi-2.3.ebuild10
2 files changed, 8 insertions, 3 deletions
diff --git a/dev-libs/voikko-fi/Manifest b/dev-libs/voikko-fi/Manifest
index bae52fdfa2cc..7eccce0b88c9 100644
--- a/dev-libs/voikko-fi/Manifest
+++ b/dev-libs/voikko-fi/Manifest
@@ -1 +1,2 @@
DIST voikko-fi-2.3.tar.gz 694602 BLAKE2B 454afaa76be00645b8640f84c2c91ed0b31be5b46c98d31bba0f4967dce27919eee6a6c452941b3878b498c7f913a413a3d143d658bc38da2a07b32d876ac317 SHA512 b3478cbb6aecebcc25e1c4bce0881a657d664c11190a22c1c2c4ca7e7c62b4c4fd5d396718fbadc8c5ab3c9db5d4349d6cd81440a1394cf4c2f77c52ae608018
+DIST voikko-fi-2.3.tar.gz.asc 833 BLAKE2B 4d960595ac948ec59499448219c5c84fe17060f80bdddaf358d222db63b1c2d167713ff9feec04fa9cbf35072a6cc153486078851319cf6631b7f18b346cd034 SHA512 1990f737673931580236e1765aabc2e47766f0bc1f6fef150fd2fb63dd459244ceb0fef99cea9ba1f1295a75daab0336400b7c6b367f694038849759e000adbc
diff --git a/dev-libs/voikko-fi/voikko-fi-2.3.ebuild b/dev-libs/voikko-fi/voikko-fi-2.3.ebuild
index a03999c04843..6fb107e5147f 100644
--- a/dev-libs/voikko-fi/voikko-fi-2.3.ebuild
+++ b/dev-libs/voikko-fi/voikko-fi-2.3.ebuild
@@ -5,11 +5,12 @@ EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
-inherit python-any-r1
+inherit python-any-r1 verify-sig
DESCRIPTION="Finnish dictionary for libvoikko based spell checkers (vvfst format)"
HOMEPAGE="https://voikko.puimula.org/"
-SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
+SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz
+ verify-sig? ( https://www.puimula.org/voikko-sources/voikko-fi/${P}.tar.gz.asc )"
LICENSE="GPL-2+"
SLOT="0"
@@ -19,7 +20,10 @@ DEPEND="dev-libs/foma
dev-libs/libvoikko"
RDEPEND="${DEPEND}"
BDEPEND="${PYTHON_DEPS}
- dev-libs/libvoikko"
+ dev-libs/libvoikko
+ verify-sig? ( app-crypt/openpgp-keys-voikko )"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
src_compile() {
emake vvfst