summaryrefslogtreecommitdiff
path: root/dev-scheme/guile-ncurses
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-21 11:40:40 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-21 11:40:40 +0000
commitbae478b64a6bc9eca66b65bcfa318fc21e7f34bb (patch)
treef713006fd9c119e5dbb3bdafe7d695d2644da94c /dev-scheme/guile-ncurses
parent374561aeaff53ce5a2836af934749923b4ea3763 (diff)
gentoo auto-resync : 21:01:2023 - 11:40:40
Diffstat (limited to 'dev-scheme/guile-ncurses')
-rw-r--r--dev-scheme/guile-ncurses/Manifest2
-rw-r--r--dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild74
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-scheme/guile-ncurses/Manifest b/dev-scheme/guile-ncurses/Manifest
index de50d5625bee..1c509a4880de 100644
--- a/dev-scheme/guile-ncurses/Manifest
+++ b/dev-scheme/guile-ncurses/Manifest
@@ -1,4 +1,6 @@
AUX guile-ncurses-3.0-slibtool.patch 1593 BLAKE2B ffabe52966b527e6d27da9a7d5518d48db875b5cf1dbbb1c435d990ced5011c41a2d81e9c0a8dc1dc7e2cb042643989777262e9c856c02aaaa8887494859b4c1 SHA512 9c7b1419c21525c6abc91d5b9c9b00ad3ae64a97fd6f1f1bc05dd80f77603706f702def71af5f0bbc85cd5eb4beed4c35b14cadbb289c726d14aedb4e2bda897
DIST guile-ncurses-3.0.tar.gz 910030 BLAKE2B e7bfa1e7c7ff8fd4e8b653a5bcada99f8f047142322e4abb946cd42b27bd1d2014f904b5a73d5356ad95bec1c394d0b76ad06204a7d117ab4c2e9a3181633fa2 SHA512 6f36ec57b1835dc90f6691243e3b627e067522c78ea620fc109bf270016034842a933c2d9e09c1a3998a740ae17cb1b7ae291d3e4c578c54128eae4c88a450ac
+DIST guile-ncurses-3.1.tar.gz 921257 BLAKE2B 26ee97ac62ae7877ecf4cce9d798f7afadc98cbba914da1c802321bf83572e5bfe9775e6e3739bbe849cde9843998aca001b6753bde9d5fbb48c4d70133740f9 SHA512 c43264cfb0cc9fe658f7ddd53bb3dfc6c7636ecaf9b8f3f416d449e6463e38061faf419b43d91775dd9642a904055122e7992c16dea1532de6229fcfa68e292f
EBUILD guile-ncurses-3.0-r3.ebuild 1522 BLAKE2B 880d6941a01babcb35ce3f2294eb4696fb85f196968d089a4e8792b14f0c41fb2927c2791aebe1cf487445054c22a3815e1461dd0f49775ee08a7e51c514448f SHA512 d252196876f0e432c8e83effcc291a89bb8c2c3db6addd28598e06583cb418afdaefb32b80bbde2fe0c8489107799d0f98ff8db8bd24a7e4f428803a1ffccf8e
+EBUILD guile-ncurses-3.1.ebuild 1552 BLAKE2B 91f38bdaff1d2a3e60495c140632cac3dd6ba0a4d2e2b095ab226ec8b7e00319e66c916418f1d4c854f700556d0e1071a11e131d10dc694647a2928f5069599d SHA512 2e74a2c5e4f84bf619621f03c09e5c08e8741b5c56ce37ba087ea497a357c450b91f66f92212a035c50b43fa9cc0f359c83b612f9920fcabd3edd6b459be49e4
MISC metadata.xml 630 BLAKE2B b0867d55ccfe84db33d8dc2675a4a8928d253f1e616d0a8d3836130c466dcc822bd78a432d3ba11257e0c77d3281dbb9e6db41a5a5f34056ce3f086da47d207b SHA512 4471f1852f73f9bc1654c333092e1e230c3395e705cc5cbb5a3a3c1eb3db1ddfa124f4efe020cd1eaef168150a9de6f8c2b35585d7c13de7d4d76717c6c0f4f2
diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild
new file mode 100644
index 000000000000..1c6d6d5cbd41
--- /dev/null
+++ b/dev-scheme/guile-ncurses/guile-ncurses-3.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Guile FFI to ncurses library for text-based console UI"
+HOMEPAGE="https://www.gnu.org/software/guile-ncurses/"
+SRC_URI="mirror://gnu/guile-ncurses/${P}.tar.gz"
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="strip"
+
+RDEPEND="
+ >=dev-scheme/guile-2.0.0:=
+ sys-libs/ncurses:=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-apps/texinfo"
+
+# guile generates ELF files without use of C or machine code
+# It's a portage's false positive. bug #677600
+QA_PREBUILT='*[.]go'
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.0-slibtool.patch # bug #843416
+)
+
+src_prepare() {
+ default
+
+ # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112
+ find "${S}" -name "*.scm" -exec touch {} + || die
+
+ # Remove bad tests
+ # > In procedure list-ref: Wrong type argument in position 1: #f
+ local -a bad_tests=(
+ curs_attr_attr_off_underline
+ curs_attr_attr_on_blink
+ curs_attr_attr_on_bold
+ curs_attr_attr_on_dim
+ curs_attr_attr_on_invis
+ curs_attr_attr_on_protect
+ curs_attr_attr_on_reverse
+ curs_attr_attr_on_standout
+ curs_attr_attr_on_underline
+ curs_attr_attr_set
+ curs_attr_attr_set_normal
+ curs_attr_standend
+ curs_attr_standout
+ curs_bkgd_bkgd
+ curs_bkgd_bkgdset
+ termios_speed
+ )
+ local bad_test
+ for bad_test in "${bad_tests[@]}" ; do
+ echo "#t" > test/${bad_test}.scm || die
+ done
+
+ eautoreconf # 843560
+}
+
+src_test() {
+ emake check
+}
+
+src_install() {
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}