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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CF00A158003 for ; Wed, 8 Feb 2023 02:59:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC4B3E07C5; Wed, 8 Feb 2023 02:59:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B5D71E07C5 for ; Wed, 8 Feb 2023 02:59:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F75D340E22 for ; Wed, 8 Feb 2023 02:59:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7124A21 for ; Wed, 8 Feb 2023 02:59:51 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1675824611.7fc1d4ac0ac80d0a2aef7d2bb2892b374a5dd4fe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/recode/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/recode/Manifest app-text/recode/recode-3.7.14.ebuild X-VCS-Directories: app-text/recode/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7fc1d4ac0ac80d0a2aef7d2bb2892b374a5dd4fe X-VCS-Branch: master Date: Wed, 8 Feb 2023 02:59:51 +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: 26c43895-45df-4d01-bf23-7993df99113e X-Archives-Hash: ff3a27ab4293d681f8a94940a3ffa2ea commit: 7fc1d4ac0ac80d0a2aef7d2bb2892b374a5dd4fe Author: Sam James gentoo org> AuthorDate: Wed Feb 8 02:50:11 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 8 02:50:11 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc1d4ac app-text/recode: add 3.7.14 Signed-off-by: Sam James gentoo.org> app-text/recode/Manifest | 1 + app-text/recode/recode-3.7.14.ebuild | 67 ++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest index 81c6c925cb95..4f4570366e0c 100644 --- a/app-text/recode/Manifest +++ b/app-text/recode/Manifest @@ -1,2 +1,3 @@ DIST recode-3.7.12.tar.gz 2399126 BLAKE2B 420ba6f96d532da4ae0e1861b512c39ad59f1f63b0e0ef061dcff95c15ff4ed82a3b7bb72f6abb29f85588476a76cb5d50151ca9e3f857c2c1c09727ccdd2890 SHA512 365602bf7b20e5362d13d1ab5269419f7f0838fb81dc01c466ea99c38eb1b979f8d707d24ca3dabbd3a0c65cde97704b570007ac60689d88bbafd33351d37d95 DIST recode-3.7.13.tar.gz 2400432 BLAKE2B 457ba7855aeb5ae8b0cc32ee82b5b61b1b46ba2908406c0c10a76ae242343f421e81038b9bb6784089e8e3e687ecc0f61a6263c24f6b234962f94853e9359734 SHA512 af86754ed2ed1dc414f1dd7ab3564d606abb309766fb02bf085e56241527a74ac7141617956d01b0797e8e426cfb39ec597bd221d8ad58d9246e96b228e65b00 +DIST recode-3.7.14.tar.gz 2297471 BLAKE2B c353c287f0eb8fd461f1a98b47bb6e24067051edf4ef40badb5598b242aad4f560d1097ea826db8dc7f24206a86cc58207090fe746da2be6cd11e5b3d5961567 SHA512 ca0e9aa392f0571cfd1cf9566a15d7651a80edf40d603eadaa4c4ee2d7843ffa9d6074be30a21dac2ab192fe601f8581721d719d055911eeccb455acfe112596 diff --git a/app-text/recode/recode-3.7.14.ebuild b/app-text/recode/recode-3.7.14.ebuild new file mode 100644 index 000000000000..2962bd75fa8d --- /dev/null +++ b/app-text/recode/recode-3.7.14.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit autotools flag-o-matic python-any-r1 toolchain-funcs + +DESCRIPTION="Convert files between various character sets" +HOMEPAGE="https://github.com/rrthomas/recode" +SRC_URI="https://github.com/rrthomas/recode/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-3+" +# librecode soname version +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris" +IUSE="nls test" +RESTRICT="!test? ( test )" + +RDEPEND="virtual/libiconv" +DEPEND=" + ${RDEPEND} + sys-devel/flex +" +BDEPEND=" + nls? ( sys-devel/gettext ) + test? ( + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/cython[${PYTHON_USEDEP}] + ') + ) +" + +python_check_deps() { + python_has_version "dev-python/cython[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + tc-export CC LD + + # On Solaris, -lintl is needed to compile + [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl" + + # -fanalyzer substantially slows down the build and isn't useful for + # us. It's useful for upstream as it's static analysis, but it's not + # useful when just getting something built. + export gl_cv_warn_c__fanalyzer=no + + econf $(use_enable nls) +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +}