From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 998BE138334 for ; Fri, 1 Nov 2019 12:41:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D2BAE0843; Fri, 1 Nov 2019 12:41:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54D22E0843 for ; Fri, 1 Nov 2019 12:41:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 292F134C64A for ; Fri, 1 Nov 2019 12:41:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7A138A1 for ; Fri, 1 Nov 2019 12:41:07 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1572612054.1a3e247a338aa50fcbd509d4b472d214e123e403.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libvoikko/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libvoikko/Manifest dev-libs/libvoikko/libvoikko-4.3.ebuild X-VCS-Directories: dev-libs/libvoikko/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 1a3e247a338aa50fcbd509d4b472d214e123e403 X-VCS-Branch: master Date: Fri, 1 Nov 2019 12:41:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dd177fd0-9935-4f3b-a556-471a074dfee1 X-Archives-Hash: 318b244580c327a8f92e4cff3a9d74b8 commit: 1a3e247a338aa50fcbd509d4b472d214e123e403 Author: Joonas Niilola gentoo org> AuthorDate: Fri Nov 1 12:40:54 2019 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Nov 1 12:40:54 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a3e247a dev-libs/libvoikko: bump to 4.3 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/libvoikko/Manifest | 1 + dev-libs/libvoikko/libvoikko-4.3.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-libs/libvoikko/Manifest b/dev-libs/libvoikko/Manifest index af1e1f9445f..25b636a3aed 100644 --- a/dev-libs/libvoikko/Manifest +++ b/dev-libs/libvoikko/Manifest @@ -1 +1,2 @@ DIST libvoikko-4.2.tar.gz 653769 BLAKE2B 6c0e665d7b5eca394b49dbebf38a0815b1fe1ea328efa305e9d1574b551c633be6b2326b5b402bbc454557a559a821a28c668a1845b21a71c378d0e97103ca53 SHA512 483d3c259a52ae772d52f708789c3df39a4857188c7b9035ce5db8b16bfa4ef144e2ffd557dd6a0655e4c9a6984529784e4098bc949a1bc8a0a50529fee49656 +DIST libvoikko-4.3.tar.gz 655465 BLAKE2B a5c0cfd420d51f873bbd707dfddf2e20ea3df8285a88a13fd6a2af947183be42137aefd1ae088b7b01e938864b3fc9402b110cc8a577efb8331a7ea24f795c2e SHA512 804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988 diff --git a/dev-libs/libvoikko/libvoikko-4.3.ebuild b/dev-libs/libvoikko/libvoikko-4.3.ebuild new file mode 100644 index 00000000000..7bdff963650 --- /dev/null +++ b/dev-libs/libvoikko/libvoikko-4.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5..7}} ) + +inherit python-r1 + +DESCRIPTION="Spell checking, hyphenation and morphological analysis tool for Finnish language" +HOMEPAGE="https://voikko.puimula.org/" +SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz" +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="+expvfst +hfst" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RESTRICT="test" + +DEPEND="${PYTHON_DEPS} + hfst? ( >=dev-util/hfstospell-0.5.0 )" +RDEPEND="${DEPEND}" + +src_configure() { + local myconf=( + --prefix=/usr + --with-dictionary-path=/usr/share/voikko + $(use_enable expvfst) + ) + + if ! use hfst ; then + myconf+=( --disable-hfst ) + fi + + econf "${myconf[@]}" +} + +src_install() { + python_setup + default + + python_foreach_impl python_domodule python/libvoikko.py +}