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 519471382C5 for ; Fri, 15 May 2020 10:16:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D188E0A8E; Fri, 15 May 2020 10:16:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 30239E0A8E for ; Fri, 15 May 2020 10:16:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 334F434F1FF for ; Fri, 15 May 2020 10:16:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B6D06103 for ; Fri, 15 May 2020 10:15:57 +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: <1589537745.cc9da233f44c2bcce96b01e364123b8fbc26be8e.juippis@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.6.ebuild X-VCS-Directories: app-text/recode/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: cc9da233f44c2bcce96b01e364123b8fbc26be8e X-VCS-Branch: master Date: Fri, 15 May 2020 10:15:57 +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: a94c298f-6c8a-4c0c-a5cc-3be9eda338b0 X-Archives-Hash: 662cfc1c3b232b30cd90b2fb53a4cc4f commit: cc9da233f44c2bcce96b01e364123b8fbc26be8e Author: David Heidelberg ixit cz> AuthorDate: Sat Apr 11 11:29:38 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri May 15 10:15:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc9da233 app-text/recode: bump to 3.7.6 - bump to EAPI 7 - switch to BDEPEND - tests are working now Bug: https://bugs.gentoo.org/717054 Signed-off-by: David Heidelberg ixit.cz> Signed-off-by: Joonas Niilola gentoo.org> app-text/recode/Manifest | 1 + app-text/recode/recode-3.7.6.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest index f0916dc1093..8ae0154eeca 100644 --- a/app-text/recode/Manifest +++ b/app-text/recode/Manifest @@ -1,3 +1,4 @@ DIST recode-3.6.tar.gz 1751886 BLAKE2B 94436343969da0ee6d16ed69a211d4f36b7a9cb59ce931ef71cfc1e0f11e5709e67ee1e0bb24f5320e6c7d6d01920a6c4d9edce87ff2c6aaaa8c80e30f3b536d SHA512 68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b +DIST recode-3.7.6.tar.gz 2210564 BLAKE2B 8c99b6d2eb93482785fe7e36063514e4c153516cc8059a9b98fc9f1b08704314b7933390a5fd7921525648ef58e9f995242182b8de23b7db33cbf94383e28f29 SHA512 ababefc445fcc47b6bf9ed640b767aed374bb8ce93cdccb641dd1ba5d298360583dd79070a0bb458f1190a8d6f1ddeb3b04eec34a61305b69def0963cec5843f DIST recode-3.7_pre20140303.tar.gz 1580388 BLAKE2B 8fb280368e6998c8cb4554f856dd779e70fd53958bf6da5839735e14e741f45b110ac106494703d97ac3390f41736b2d94539dfde4554b3ca70911788ce8c005 SHA512 a1821909e7ba68a315bbd5e0dcaf0a574f09ac6ef1ccf8858aeda1a0affc09cb70353b4bda005a14cff37ef41646a6f5246c5b5a0f6e89db2065eac7ace9b030 DIST recode_3.6-20.debian.tar.gz 341117 BLAKE2B 748ee36b68f1d1501edde23e8afcbd58df70a86745e7c366a27a33496e539dcae11b746fb46767e95ae99b68a18684e3e85c1ea961692ac57ad1a01a895734a7 SHA512 bc586534e77b49da7d387187a8ddb042a12871f87f4f32c818ce7218b7254ac5ba6eccb14aaaf0312579f27958883f2da620016a7049c3af24c8bfba81acc3ef diff --git a/app-text/recode/recode-3.7.6.ebuild b/app-text/recode/recode-3.7.6.ebuild new file mode 100644 index 00000000000..cdbdbc5bc6d --- /dev/null +++ b/app-text/recode/recode-3.7.6.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic libtool 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-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="nls static-libs" + +DEPEND="sys-devel/flex" +BDEPEND=" + nls? ( sys-devel/gettext ) +" + +src_configure() { + tc-export CC LD + # on solaris -lintl is needed to compile + [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl" + # --without-included-gettext means we always use system headers + # and library + econf \ + $(use_enable nls) \ + $(use_enable static-libs static) +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm -v {} + || die +}