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 28F50139694 for ; Mon, 10 Apr 2017 07:55:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CB6DE0CB7; Mon, 10 Apr 2017 07:55:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2BEBEE0CB7 for ; Mon, 10 Apr 2017 07:55:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1BA09340BEA for ; Mon, 10 Apr 2017 07:55:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBA3470B7 for ; Mon, 10 Apr 2017 07:55:37 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1491810934.2bd9a41efc125c3bacf5e2cfb48ca4ea40855dc6.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bc/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/bc/Manifest sys-devel/bc/bc-1.06.95.ebuild sys-devel/bc/bc-1.07.1.ebuild X-VCS-Directories: sys-devel/bc/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 2bd9a41efc125c3bacf5e2cfb48ca4ea40855dc6 X-VCS-Branch: master Date: Mon, 10 Apr 2017 07:55:37 +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-Archives-Salt: d9febf90-47a2-4f4f-9e3f-478f9d86648b X-Archives-Hash: 4e1302383e0ffcf3abe3a35e32543445 commit: 2bd9a41efc125c3bacf5e2cfb48ca4ea40855dc6 Author: Lars Wendler gentoo org> AuthorDate: Mon Apr 10 07:55:03 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Apr 10 07:55:34 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd9a41e sys-devel/bc: Removed old. Package-Manager: Portage-2.3.5, Repoman-2.3.2 sys-devel/bc/Manifest | 1 + sys-devel/bc/bc-1.06.95.ebuild | 38 -------------------------------- sys-devel/bc/bc-1.07.1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 38 deletions(-) diff --git a/sys-devel/bc/Manifest b/sys-devel/bc/Manifest index 2bf857b81f1..5a363bbb854 100644 --- a/sys-devel/bc/Manifest +++ b/sys-devel/bc/Manifest @@ -1 +1,2 @@ DIST bc-1.06.95.tar.bz2 290069 SHA256 7ee4abbcfac03d8a6e1a8a3440558a3d239d6b858585063e745c760957725ecc SHA512 16ec13f87ef76ad4de77d378ef8d65a582adca1bf661c9d7675e78d940680c77e81a00a01817fde7c1ad1524562d6f933caa5c42a0686f3f85aadbb39393afb1 WHIRLPOOL e91adb7b1fd42c4d47dad76f994c51ee7a8d962a24cb1b0cbeaa992fe1be59878016d5883506ec4153293daf48fbe3f345bb88fbe3f6276b3353c89573a612af +DIST bc-1.07.1.tar.gz 419850 SHA256 62adfca89b0a1c0164c2cdca59ca210c1d44c3ffc46daf9931cf4942664cb02a SHA512 02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 WHIRLPOOL 87a9c0a5b7b2af082d59002147cd05cef7612a66f83ca688e6572ed2bbbdddcec945e7b8a0ee6e865f0142d31801ee3167b7eff023be8054d897d755bd282a2d diff --git a/sys-devel/bc/bc-1.06.95.ebuild b/sys-devel/bc/bc-1.06.95.ebuild deleted file mode 100644 index d43d9065cfd..00000000000 --- a/sys-devel/bc/bc-1.06.95.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -inherit eutils flag-o-matic toolchain-funcs - -DESCRIPTION="Handy console-based calculator utility" -HOMEPAGE="https://www.gnu.org/software/bc/bc.html" -SRC_URI="mirror://gnu-alpha/bc/${P}.tar.bz2 - mirror://gnu/bc/${P}.tar.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" -IUSE="libedit readline static" - -RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.2 ) - libedit? ( dev-libs/libedit )" -DEPEND="${RDEPEND} - sys-devel/flex" - -src_compile() { - local myconf - if use readline ; then - myconf="--with-readline --without-libedit" - elif use libedit ; then - myconf="--without-readline --with-libedit" - else - myconf="--without-readline --without-libedit" - fi - use static && append-ldflags -static - econf ${myconf} || die - emake || die -} - -src_install() { - emake install DESTDIR="${D}" || die - dodoc AUTHORS FAQ NEWS README ChangeLog -} diff --git a/sys-devel/bc/bc-1.07.1.ebuild b/sys-devel/bc/bc-1.07.1.ebuild new file mode 100644 index 00000000000..251b67cd000 --- /dev/null +++ b/sys-devel/bc/bc-1.07.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Handy console-based calculator utility" +HOMEPAGE="https://www.gnu.org/software/bc/bc.html" +SRC_URI="mirror://gnu-alpha/bc/${P}.tar.gz + mirror://gnu/bc/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="libedit readline static" + +RDEPEND="!readline? ( libedit? ( dev-libs/libedit:= ) ) + readline? ( + >=sys-libs/readline-4.1:0= + >=sys-libs/ncurses-5.2:= + )" +DEPEND="${RDEPEND} + sys-devel/flex" + +src_configure() { + local libedit + if use readline ; then + libedit="--without-libedit" + else + libedit=$(use_with libedit) + fi + use static && append-ldflags -static + # Clobber any CONFIG_SHELL setting the user has forced on us. + # We should be able to delete this w/the next release as it + # should use updated autoconf. + CONFIG_SHELL=/bin/bash \ + econf \ + $(use_with readline) \ + ${libedit} + + # Do not regen docs -- configure produces a small fragment that includes + # the version info which causes all pages to regen (newer file). #554774 + touch -r doc doc/* +} + +src_compile() { + emake AR="$(tc-getAR)" +}