public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ncurses/
Date: Wed, 16 Feb 2022 17:45:33 +0000 (UTC)	[thread overview]
Message-ID: <1645033486.eb684a3040bf568719ee5ec5f033b00e5701d8c6.xgqt@gentoo> (raw)

commit:     eb684a3040bf568719ee5ec5f033b00e5701d8c6
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 16 17:44:07 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Feb 16 17:44:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb684a30

dev-scheme/guile-ncurses: new package; add version 3.0

Closes: https://bugs.gentoo.org/352175
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-ncurses/Manifest                 |  1 +
 dev-scheme/guile-ncurses/guile-ncurses-3.0.ebuild | 59 +++++++++++++++++++++++
 dev-scheme/guile-ncurses/metadata.xml             | 15 ++++++
 3 files changed, 75 insertions(+)

diff --git a/dev-scheme/guile-ncurses/Manifest b/dev-scheme/guile-ncurses/Manifest
new file mode 100644
index 000000000000..dbe232479180
--- /dev/null
+++ b/dev-scheme/guile-ncurses/Manifest
@@ -0,0 +1 @@
+DIST guile-ncurses-3.0.tar.gz 910030 BLAKE2B e7bfa1e7c7ff8fd4e8b653a5bcada99f8f047142322e4abb946cd42b27bd1d2014f904b5a73d5356ad95bec1c394d0b76ad06204a7d117ab4c2e9a3181633fa2 SHA512 6f36ec57b1835dc90f6691243e3b627e067522c78ea620fc109bf270016034842a933c2d9e09c1a3998a740ae17cb1b7ae291d3e4c578c54128eae4c88a450ac

diff --git a/dev-scheme/guile-ncurses/guile-ncurses-3.0.ebuild b/dev-scheme/guile-ncurses/guile-ncurses-3.0.ebuild
new file mode 100644
index 000000000000..361ce458158d
--- /dev/null
+++ b/dev-scheme/guile-ncurses/guile-ncurses-3.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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'
+
+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 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
+	)
+	local bad_test
+	for bad_test in "${bad_tests[@]}" ; do
+		echo "#t" > test/${bad_test}.scm || die
+	done
+}
+
+src_test() {
+	emake check
+}

diff --git a/dev-scheme/guile-ncurses/metadata.xml b/dev-scheme/guile-ncurses/metadata.xml
new file mode 100644
index 000000000000..8619d62c721c
--- /dev/null
+++ b/dev-scheme/guile-ncurses/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="project">
+    <email>scheme@gentoo.org</email>
+    <name>Gentoo Scheme Project</name>
+  </maintainer>
+  <longdescription>
+    GNU Guile-Ncurses is a library for the Guile Scheme interpreter that
+    provides functions for creating text user interfaces. The text user
+    interface functionality is built on the ncurses libraries: curses, form,
+    panel, and menu.
+  </longdescription>
+</pkgmetadata>


             reply	other threads:[~2022-02-16 17:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-16 17:45 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-05-10 13:50 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ncurses/ Maciej Barć
2022-05-17 16:51 Maciej Barć
2022-05-17 21:09 Maciej Barć
2023-01-21  8:49 Maciej Barć
2023-10-01 15:37 Maciej Barć

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1645033486.eb684a3040bf568719ee5ec5f033b00e5701d8c6.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox