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 921CC138359 for ; Mon, 19 Oct 2020 02:58:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE07BE0978; Mon, 19 Oct 2020 02:58:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B37E5E0978 for ; Mon, 19 Oct 2020 02:58:18 +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 B51D6341027 for ; Mon, 19 Oct 2020 02:58:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 290F7343 for ; Mon, 19 Oct 2020 02:58:16 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <1603076285.e38a18612ea9f12f91e284a6f6732112ec50e880.kentnl@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Curses/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/Curses/Curses-1.370.0.ebuild dev-perl/Curses/Manifest X-VCS-Directories: dev-perl/Curses/ X-VCS-Committer: kentnl X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: e38a18612ea9f12f91e284a6f6732112ec50e880 X-VCS-Branch: master Date: Mon, 19 Oct 2020 02:58:16 +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: 5465b62e-a0bd-4c2c-9d4b-c2ad9ab1ae94 X-Archives-Hash: 13c50a423050b4402b8eb21944c9cb63 commit: e38a18612ea9f12f91e284a6f6732112ec50e880 Author: Kent Fredric gentoo org> AuthorDate: Mon Oct 19 02:50:09 2020 +0000 Commit: Kent Fredric gentoo org> CommitDate: Mon Oct 19 02:58:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e38a1861 dev-perl/Curses: Bump to version 1.370.0 Upstream: - Fix printw for wide characters - Return explicit "false" value on error from wenclose() and mouse_trafo() instead of integer error code (as that is a true-value for perl) Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Kent Fredric gentoo.org> dev-perl/Curses/Curses-1.370.0.ebuild | 47 +++++++++++++++++++++++++++++++++++ dev-perl/Curses/Manifest | 1 + 2 files changed, 48 insertions(+) diff --git a/dev-perl/Curses/Curses-1.370.0.ebuild b/dev-perl/Curses/Curses-1.370.0.ebuild new file mode 100644 index 00000000000..a0b0c901329 --- /dev/null +++ b/dev-perl/Curses/Curses-1.370.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=GIRAFFED +DIST_VERSION=1.37 +DIST_EXAMPLES=("demo" "demo2" "demo.form" "demo.menu" "demo.panel" "gdc") +inherit perl-module + +DESCRIPTION="Curses interface modules for Perl" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris ~x86-solaris" +IUSE="+unicode test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=sys-libs/ncurses-5:0=[unicode?] + virtual/perl-Data-Dumper +" +DEPEND=" + >=sys-libs/ncurses-5:0=[unicode?] +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( virtual/perl-Test-Simple ) +" + +src_configure() { + myconf="${myconf} FORMS PANELS MENUS" + mydoc=HISTORY + export CURSES_LIBTYPE="$(usex unicode ncursesw ncurses)" + local nc_tool="${CURSES_LIBTYPE}$(has_version 'sys-libs/ncurses:0/6' && echo 6 || echo 5)-config" + export CURSES_LDFLAGS=$( ${nc_tool} --libs ) + export CURSES_CFLAGS=$( ${nc_tool} --cflags ) + perl-module_src_configure + if ! use unicode ; then + sed -i 's::"/usr/include/form.h":' "${S}"/c-config.h || die + fi +} +src_compile() { + mymake=( + "OPTIMIZE=${CFLAGS}" + ) + perl-module_src_compile +} diff --git a/dev-perl/Curses/Manifest b/dev-perl/Curses/Manifest index 73cb4101da2..22f45eb918a 100644 --- a/dev-perl/Curses/Manifest +++ b/dev-perl/Curses/Manifest @@ -1 +1,2 @@ DIST Curses-1.36.tar.gz 135049 BLAKE2B c63d1f8d80db33e184c6d9c49c9ee902b5e3ed2e69e4ccbdd683d7b6109f8025d63838ce20f6e57e95c9a9bcd9e14d6af448e52f1b9d219ab388ab74798d917b SHA512 40ce96bdf7ef4bbd6975363bc27c2c561a81cafbaf147f2655a2c6521e09f6e40441cee06b6f8f27e370ad59eaf6f677ffe8e475030dfa870d25eca37717c58c +DIST Curses-1.37.tar.gz 135763 BLAKE2B b42f81d5a382b8cf6c8323cc5c13fd39dcc57081ad2e3de9e940f06a0126879d301ccaebc5c34fb5cb4bffd1263b0681243164539c450db50cd3388e6fd35823 SHA512 10886e725b174fdabc0c9b86a9ef9b717949f0fb03561bfc315e8503be689be7945d1ceeea2f950628ce480c2cc8081736d3b8f28042ea677b252298a9eb4827