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-ssh/, dev-scheme/guile-ssh/files/
Date: Mon, 17 Oct 2022 00:12:43 +0000 (UTC)	[thread overview]
Message-ID: <1665965560.8ca7b5180c28e9d3d870a135532454305dce9266.xgqt@gentoo> (raw)

commit:     8ca7b5180c28e9d3d870a135532454305dce9266
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 16 23:45:36 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 00:12:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca7b518

dev-scheme/guile-ssh: new package; add 0.16.0

Bug: https://github.com/trofi/nix-guix-gentoo/issues/24
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-ssh/Manifest                      |  1 +
 .../guile-ssh/files/guile-ssh-0.16.0-tests.patch   | 19 ++++++++++
 dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild       | 44 ++++++++++++++++++++++
 dev-scheme/guile-ssh/metadata.xml                  | 13 +++++++
 4 files changed, 77 insertions(+)

diff --git a/dev-scheme/guile-ssh/Manifest b/dev-scheme/guile-ssh/Manifest
new file mode 100644
index 000000000000..ae7ce983d90e
--- /dev/null
+++ b/dev-scheme/guile-ssh/Manifest
@@ -0,0 +1 @@
+DIST guile-ssh-0.16.0.tar.gz 522003 BLAKE2B dfa6011bb8b220b9a365fde832434eca0c26b58361a919b36228a95a7b042eb68ef7a0d5aa4b0360119983dc63fe65175ae67fe74da38e90ca19a3914f3d6b07 SHA512 195d763e49fd2506c50fea25606ec1873e3c950851f0be0f91fd73842acb9104c89baa1c69daccc7b28b6504a4aa1648a4c049991a63ecf7336c03c48d23e570

diff --git a/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch
new file mode 100644
index 000000000000..dc5bfdeaa058
--- /dev/null
+++ b/dev-scheme/guile-ssh/files/guile-ssh-0.16.0-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/tests/Makefile.am b/tests/Makefile.am
+index 8eaa33f..5eaad69 100644
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -23,14 +23,12 @@ if !CROSS_COMPILING
+ 
+ SCM_TESTS = \
+ 	log.scm \
+-	server.scm \
+ 	session.scm \
+ 	client-server.scm \
+ 	popen.scm \
+ 	shell.scm \
+ 	server-client.scm \
+ 	sssh-ssshd.scm \
+-	key.scm \
+ 	tunnel.scm \
+ 	dist.scm
+ 

diff --git a/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild
new file mode 100644
index 000000000000..c578969e8004
--- /dev/null
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Library providing access to the SSH protocol for GNU Guile"
+HOMEPAGE="https://memory-heap.org/~avp/projects/guile-ssh/
+	https://github.com/artyom-poptsov/guile-ssh/"
+SRC_URI="https://github.com/artyom-poptsov/${PN}/archive/v${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	>=dev-scheme/guile-2.0.0:=
+	net-libs/libssh:0=[server]
+"
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
+
+# 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
+
+	eautoreconf
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name "*.la" -delete || die
+}

diff --git a/dev-scheme/guile-ssh/metadata.xml b/dev-scheme/guile-ssh/metadata.xml
new file mode 100644
index 000000000000..66dcc502864b
--- /dev/null
+++ b/dev-scheme/guile-ssh/metadata.xml
@@ -0,0 +1,13 @@
+<?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>
+  <upstream>
+    <bugs-to>https://github.com/artyom-poptsov/guile-ssh/issues/</bugs-to>
+    <remote-id type="github">artyom-poptsov/guile-ssh</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2022-10-17  0:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-17  0:12 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-01-21  8:49 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ssh/, dev-scheme/guile-ssh/files/ 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=1665965560.8ca7b5180c28e9d3d870a135532454305dce9266.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