diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-14 04:00:22 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-14 04:00:22 +0100 |
commit | a64517889ae341f6c77a299cd3aecdcfcf1694f6 (patch) | |
tree | 410993b950943be906cf07547eb28561772ac995 /app-text/libodfgen | |
parent | a0e652963f4d02b0e7c1148509f4ce3327c83808 (diff) |
gentoo auto-resync : 14:05:2023 - 04:00:22
Diffstat (limited to 'app-text/libodfgen')
-rw-r--r-- | app-text/libodfgen/Manifest | 4 | ||||
-rw-r--r-- | app-text/libodfgen/libodfgen-0.1.8.ebuild | 19 | ||||
-rw-r--r-- | app-text/libodfgen/libodfgen-9999.ebuild | 20 |
3 files changed, 34 insertions, 9 deletions
diff --git a/app-text/libodfgen/Manifest b/app-text/libodfgen/Manifest index fa2f3d649f81..dd034837200b 100644 --- a/app-text/libodfgen/Manifest +++ b/app-text/libodfgen/Manifest @@ -1,4 +1,4 @@ DIST libodfgen-0.1.8.tar.xz 386156 BLAKE2B 8cc55cd6ad39927ca1fec459cb484362877f0eb0a044d806a93ec573ca2d840fece17fdbb58b0b30869af945fe9ddaa23a88729c1802b2b1321d5551f94a32c5 SHA512 e4a15aa7f1db483cdbb9c531bfb234b4794890cc583c70e8aa3374771be8928e7917105d48dab80d1ab6d57e43fa78415097d9b897cb12fb2a609f4647ee99d6 -EBUILD libodfgen-0.1.8.ebuild 874 BLAKE2B 799bef7ba9dce4110f592375f0268f1544549f2944cb7776096f9a485c4ab5ecd5fb4f9392624182d4192fded8c81ec6db2bfaa8d9961ca8305657c7f3ad9780 SHA512 b5e36806f183c82052b5dbaa34fd88fed6d5edef079794b6ea7dfaa31e733757938dc1ad22070a7394dae9abbe48995a809749ee9ceaf33c0da58d7019616661 -EBUILD libodfgen-9999.ebuild 870 BLAKE2B ba56b4b3e269989a32b2ff37bc53d8b9502dbe4e2b9a5676ed8285ec0225c616e99710b9627f8cfbd57e564af1d6005193cd471059a95eb32393642f59e2f5d8 SHA512 576fd178b01f2906286cc1ce60d9e903d5af623d44e0d3898117c173eed25aab1a4f994740adcef37d50da4286ccb6c667805b7950f76143ed72da303cc168fd +EBUILD libodfgen-0.1.8.ebuild 1144 BLAKE2B eb1e6abadfe43c2717ee7e6ed37af57639774f6b6be3c9f70f304dfe45a4eb5e649af68458374677a17e404c43c4d4e24fa2f3423ae832c622b22be4cfad3e27 SHA512 30af2e8eafb6625dbce6352a11f2837d9935979a1511302288e3ddf9b336dfd4675043d686fd700364f117975a28bececc59ffd678c8aa83317385f7c967042c +EBUILD libodfgen-9999.ebuild 1084 BLAKE2B 20328ab739eff7b90bd605bd1eab0a6f54a5fd8b6178c3a2f89a787dc0714f86f8442d3a0955747419b3c3e65dcadd5a1f9b94c617192e77fd7b4ed2d79f2631 SHA512 ecbb6468e7feb6a7e08a845cd55db81049288561274b79fe80049890ff42768a35c9d6a02dc1e891141cb84ac9e155fa31359c2cff61dec5de705ac7359b5958 MISC metadata.xml 332 BLAKE2B e634e10175b4d69d73bb785dd430f4d23a2b4c679bf00b8b725c3fa89f9b34d77a5e7bdbc60ffaf9f2207e4d71d29a0cbf53264b57c33b0e7a7ea92c8a806b72 SHA512 d5c038b2dd6f35c0b66f877ca94d05e294c6da83c68763af2ff75e44e0bde91111b48d7cacafe8510294476a230e9bdb0ae74664bf77555d45463d24fa2d668c diff --git a/app-text/libodfgen/libodfgen-0.1.8.ebuild b/app-text/libodfgen/libodfgen-0.1.8.ebuild index f494e1c15687..35cc4560206e 100644 --- a/app-text/libodfgen/libodfgen-0.1.8.ebuild +++ b/app-text/libodfgen/libodfgen-0.1.8.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit edo + if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/libwpd/libodfgen" inherit autotools git-r3 @@ -16,7 +18,8 @@ HOMEPAGE="http://libwpd.sourceforge.net/" LICENSE="|| ( LGPL-2.1 MPL-2.0 )" SLOT="0" -IUSE="doc" +IUSE="doc test" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/librevenge @@ -36,7 +39,17 @@ src_prepare() { src_configure() { econf \ --disable-static \ - $(use_with doc docs) + $(use_with doc docs) \ + $(use_enable test) +} + +src_test() { + cd test || die + + # TODO: send patch upstream to have 'make check' run these + while read -r test_name ; do + edo "${test_name}" + done < <(find . -maxdepth 1 -type f -executable || die) } src_install() { diff --git a/app-text/libodfgen/libodfgen-9999.ebuild b/app-text/libodfgen/libodfgen-9999.ebuild index d3f5e575b856..a1e951468328 100644 --- a/app-text/libodfgen/libodfgen-9999.ebuild +++ b/app-text/libodfgen/libodfgen-9999.ebuild @@ -1,14 +1,16 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit edo + if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="https://git.code.sf.net/p/libwpd/libodfgen" inherit autotools git-r3 else SRC_URI="mirror://sourceforge/libwpd/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~x86 ~amd64-linux ~x86-linux" + KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86 ~amd64-linux ~x86-linux" fi DESCRIPTION="Library to generate ODF documents from libwpd and libwpg" @@ -16,7 +18,8 @@ HOMEPAGE="http://libwpd.sourceforge.net/" LICENSE="|| ( LGPL-2.1 MPL-2.0 )" SLOT="0" -IUSE="doc" +IUSE="doc test" +RESTRICT="!test? ( test )" RDEPEND=" dev-libs/librevenge @@ -36,7 +39,16 @@ src_prepare() { src_configure() { econf \ --disable-static \ - $(use_with doc docs) + $(use_with doc docs) \ + $(use_enable test) +} + +src_test() { + cd test || die + + while read -r test_name ; do + edo "${test_name}" + done < <(find . -maxdepth 1 -type f -executable || die) } src_install() { |