summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-10-19 15:50:09 +1300
committerKent Fredric <kentnl@gentoo.org>2020-10-19 15:58:05 +1300
commite38a18612ea9f12f91e284a6f6732112ec50e880 (patch)
treea870657ba373007eda059b4feb311f782e16dd9b /dev-perl
parentnet-misc/unison: don't double-name the desktop file (diff)
downloadgentoo-e38a18612ea9f12f91e284a6f6732112ec50e880.tar.gz
gentoo-e38a18612ea9f12f91e284a6f6732112ec50e880.tar.bz2
gentoo-e38a18612ea9f12f91e284a6f6732112ec50e880.zip
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 <kentnl@gentoo.org>
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/Curses/Curses-1.370.0.ebuild47
-rw-r--r--dev-perl/Curses/Manifest1
2 files changed, 48 insertions, 0 deletions
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 000000000000..a0b0c901329f
--- /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:<form.h>:"/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 73cb4101da21..22f45eb918a5 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