Not used anymore
This commit is contained in:
parent
c120075bdf
commit
412870b6d2
@ -1,2 +0,0 @@
|
|||||||
DIST libvoikko-4.3.1.tar.gz 658079 BLAKE2B 4f52789b5d62991333ba9b979259a631ef2989bc70358b398a4281d56765046209657fd3e41afd47ee7ba1dbafeeb4a34ffd007e55037bca9958fb813e4b7202 SHA512 6677fac7c0cba1289dda23b0c0a4bbe44480ce747189d40634ac57811728c1942a795efd50270e933373fabab9c54e82a8f9fde06d936442820e3f8019574f08
|
|
||||||
DIST libvoikko-4.3.1.tar.gz.asc 833 BLAKE2B 4a69ae75da1973e383ab21cb557352be1344dc6e34fef13e28616fbd9e0003b93ef5e3488f1e776eb476a750980281463ee144edc5849ec7e3159badc160ceb7 SHA512 04a5e8899679e1503ec0d378903b8ff17e8065aa105ba61559b584eb4cde2a5a9b622fd39bd0126bb87915c7dcbac8495e874c3cdabf25232b1ae41491275ba0
|
|
@ -1,30 +0,0 @@
|
|||||||
diff -Naur a/configure b/configure
|
|
||||||
--- a/configure 2019-10-17 17:28:10.000000000 +0300
|
|
||||||
+++ b/configure 2021-02-19 11:32:45.084523937 +0200
|
|
||||||
@@ -17652,7 +17652,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
tmp_CXXFLAGS="$CXXFLAGS"
|
|
||||||
-CXXFLAGS="$CXXFLAGS -Wall -Werror -fvisibility=hidden"
|
|
||||||
+CXXFLAGS="$CXXFLAGS -fvisibility=hidden"
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports the visibility attribute" >&5
|
|
||||||
$as_echo_n "checking whether $CC supports the visibility attribute... " >&6; }
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
@@ -18413,7 +18413,7 @@
|
|
||||||
if test "x$ax_pthread_try" = "xunknown"; then :
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
- CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
|
|
||||||
+ CFLAGS="-Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
|
|
||||||
ac_link="$ax_pthread_save_ac_link"
|
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
||||||
/* end confdefs.h. */
|
|
||||||
@@ -19102,7 +19102,7 @@
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
-CXXFLAGS="$CXXFLAGS -Wall -Werror -pedantic"
|
|
||||||
+CXXFLAGS="$CXXFLAGS -pedantic"
|
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile java/Makefile test/Makefile cs/Makefile cl/Makefile src/libvoikko.pc"
|
|
||||||
|
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
|
|
||||||
inherit python-r1 verify-sig
|
|
||||||
|
|
||||||
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
|
|
||||||
verify-sig? ( https://www.puimula.org/voikko-sources/libvoikko/${P}.tar.gz.asc )"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
|
||||||
|
|
||||||
IUSE="+expvfst +hfst verify-sig"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}
|
|
||||||
hfst? ( >=dev-util/hfstospell-0.5.0 )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
BDEPEND="verify-sig? ( app-crypt/openpgp-keys-voikko )"
|
|
||||||
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}"/libvoikko-4.3-disable-wall-werror.patch )
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
find "${D}" -name '*.la' -delete -o -name '*.a' -delete || die
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user