diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-18 09:41:23 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-18 09:41:23 +0000 |
commit | d93ba9788a6ad1e5da2bf47e804456ded6d5c65c (patch) | |
tree | e01c10bcfe477cecf1770c8a8186e4a5344057b9 /sci-misc/lttoolbox | |
parent | 7bf32644d8b70a318475609992d8e4853ec4ec0e (diff) |
gentoo auto-resync : 18:12:2022 - 09:41:22
Diffstat (limited to 'sci-misc/lttoolbox')
-rw-r--r-- | sci-misc/lttoolbox/Manifest | 5 | ||||
-rw-r--r-- | sci-misc/lttoolbox/files/lttoolbox-3.7.1-bashism.patch | 31 | ||||
-rw-r--r-- | sci-misc/lttoolbox/lttoolbox-3.7.1.ebuild | 43 | ||||
-rw-r--r-- | sci-misc/lttoolbox/metadata.xml | 15 |
4 files changed, 86 insertions, 8 deletions
diff --git a/sci-misc/lttoolbox/Manifest b/sci-misc/lttoolbox/Manifest index f7058c009f8f..a98fa96a7351 100644 --- a/sci-misc/lttoolbox/Manifest +++ b/sci-misc/lttoolbox/Manifest @@ -1,3 +1,6 @@ +AUX lttoolbox-3.7.1-bashism.patch 1120 BLAKE2B 3925954a42ae22d01f4990e6a82e7a62348cb83fe0cf9c2f03b04649ccf97afe9929567fd8413ce631e58ff65d87edd103da3b3ee938eea2632de172f8b1f861 SHA512 eebc8a0eef8c09a1921a627f4d01c970eb40cdcb48a5b28109b12f5433395f174a4be3dbd1ab2544159f08380fb4703db3f711f5bb7c6445bd4d049167826816 DIST lttoolbox-3.3.3.tar.gz 454916 BLAKE2B 20def8f733a979621944e41011838430302140b93ec16e4315b39f60c77d6665c2c553196aea12f1c59ce4172cf3032c867317b8085b1e976fee540a9642d2c9 SHA512 2e6338d39d2f16641c408076bd1d3b29fcd11e2d83e622b93fb7b91bae8eb92f58eacf978c72647d2872119be28b76093fc4afbfe22d7e9a62e1a87d818f9a3c +DIST lttoolbox-3.7.1.tar.bz2 174427 BLAKE2B 33e2a25f11d4badd30835ff60eeb82dc1f95550ef6814a086115c2279551c0067f2ebdc46574d07d6e01ca459ee41f1f0ea512fae0c1e21e7db6e4b04e70dcad SHA512 e86c5479bf14289a91a9de2a528ebc82ef2df39c39e16b26972b3fc90b372903afd36659be8b9d6c4e5f73b7b40ac6aea8bf56ce58d334462aaddcfc44918724 EBUILD lttoolbox-3.3.3.ebuild 611 BLAKE2B 0083def0cf29a355d35f17e11e210a2c3ffa362d2eeffd556935f3f7edf481a18b53e6fbc8d2bd37b9c00327efe9ea92d1dda1b74ba120d08c71f3ea75cb0b8f SHA512 4d7f40617b65a20cce88a20a1a4799aea6b1cee7f6239cae81677c16c51953fc0c7396f1caa0c4c3a7b51a3787ff62f17d94ef0b09cb09611da9911c166ad00d -MISC metadata.xml 342 BLAKE2B f4893e78c91384748bdace8043af069c75ecb90ebc763d733d21fb10a279f6f56a418af01c67ee19cda682bdbe7e8de2e1acd222d68428e6ba81066dd32c0232 SHA512 4800255cda592e77967662463add69be6e54c9d313f4a341eda40adbf123e026eeb9bd7f1f3f3ccbb76c665c5c80613657c8e67a7221a3941ccd1cbfd1cdda03 +EBUILD lttoolbox-3.7.1.ebuild 767 BLAKE2B 0979aa9a0f971a7c3f13b1aa4c9fb69f77ac96fc7f3871d274f383958c4b8166170bd6015ce9618136b64e4071fd84aa4843413e9b3ef01bca1bfc7a5cb5e8a5 SHA512 8d1d9f70b2b7df2cc4f1620d58fc23beb5e20550b9ded77df360d4747e4226fbdf55f43cf90f95a932a56980fe4688f353f490d1604cb3ea59e321f9b2160d3e +MISC metadata.xml 390 BLAKE2B 34592720be72d744adf2e5370fea1602e493b4c8c1144f805faf4df8e54a370db946ae4d443d9d3217512b75c5e6dfbfd2d4c8d5bcf2303dabcd4455cc5b7b0d SHA512 cbc50e89fd7bb8816e3c2eae4cf072b1499b2ee83120db18abab5d22af1b6868bce19c8b3029894518f92610fceeaed5bda286410ba7b6410fa164af50a28758 diff --git a/sci-misc/lttoolbox/files/lttoolbox-3.7.1-bashism.patch b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-bashism.patch new file mode 100644 index 000000000000..9727c018b142 --- /dev/null +++ b/sci-misc/lttoolbox/files/lttoolbox-3.7.1-bashism.patch @@ -0,0 +1,31 @@ +https://github.com/apertium/lttoolbox/pull/171 + +From 80408b137ceca94d9dab188277ffa3933b148f3d Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sun, 18 Dec 2022 03:33:03 +0000 +Subject: [PATCH] configure.ac: fix bashism +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +configure scripts need to be runnable with a POSIX-compliant /bin/sh. + +On many (but not all!) systems, /bin/sh is provided by Bash, so errors +like this aren't spotted. Notably Debian defaults to /bin/sh provided +by dash which doesn't tolerate such bashisms as '=='. + +This retains compatibility with bash. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -74,7 +74,7 @@ for version in 23 2b 20 2a 17; do + version_flag="-std=c++${version}" + AX_CHECK_COMPILE_FLAG([${version_flag}], [break], [version_flag=none]) + done +-AS_IF([test "$version_flag" == none], [ ++AS_IF([test "$version_flag" = none], [ + AC_MSG_ERROR([Could not enable at least C++17 - upgrade your compiler]) + ]) + CXXFLAGS="$CXXFLAGS ${version_flag}" + diff --git a/sci-misc/lttoolbox/lttoolbox-3.7.1.ebuild b/sci-misc/lttoolbox/lttoolbox-3.7.1.ebuild new file mode 100644 index 000000000000..f06d069fc3c1 --- /dev/null +++ b/sci-misc/lttoolbox/lttoolbox-3.7.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Toolbox for lexical processing, morphological analysis and generation of words" +HOMEPAGE="https://www.apertium.org" +SRC_URI="https://github.com/apertium/lttoolbox/releases/download/v${PV}/${P}.tar.bz2" + +LICENSE="GPL-2" +# PKG_VERSION_ABI in configure.ac +SLOT="0/3" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/icu:= + dev-libs/libxml2:2 + dev-libs/utfcpp +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-3.7.1-bashism.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf --disable-python-bindings +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-misc/lttoolbox/metadata.xml b/sci-misc/lttoolbox/metadata.xml index 0f2b58fa0f24..54c528001f48 100644 --- a/sci-misc/lttoolbox/metadata.xml +++ b/sci-misc/lttoolbox/metadata.xml @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <upstream> - <remote-id type="sourceforge">apertium</remote-id> - </upstream> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <upstream> + <remote-id type="github">apertium/lttoolbox</remote-id> + <remote-id type="sourceforge">apertium</remote-id> + </upstream> </pkgmetadata> |