summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-01-21 07:50:35 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-01-21 09:49:19 +0100
commit1f692a04781c97ab819e618717092eeaa6a7deb5 (patch)
treebf6ab87f48cb2511aabe00e845962cf77ecb67ca /dev-scheme
parentdev-scheme/guile-ncurses: bump to 3.1 (diff)
downloadgentoo-1f692a04781c97ab819e618717092eeaa6a7deb5.tar.gz
gentoo-1f692a04781c97ab819e618717092eeaa6a7deb5.tar.bz2
gentoo-1f692a04781c97ab819e618717092eeaa6a7deb5.zip
dev-scheme/guile-ssh: bump to 0.16.2
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/guile-ssh/Manifest1
-rw-r--r--dev-scheme/guile-ssh/files/guile-ssh-0.16.2-tests.patch18
-rw-r--r--dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild45
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-scheme/guile-ssh/Manifest b/dev-scheme/guile-ssh/Manifest
index ae7ce983d90e..d067541c3b89 100644
--- a/dev-scheme/guile-ssh/Manifest
+++ b/dev-scheme/guile-ssh/Manifest
@@ -1 +1,2 @@
DIST guile-ssh-0.16.0.tar.gz 522003 BLAKE2B dfa6011bb8b220b9a365fde832434eca0c26b58361a919b36228a95a7b042eb68ef7a0d5aa4b0360119983dc63fe65175ae67fe74da38e90ca19a3914f3d6b07 SHA512 195d763e49fd2506c50fea25606ec1873e3c950851f0be0f91fd73842acb9104c89baa1c69daccc7b28b6504a4aa1648a4c049991a63ecf7336c03c48d23e570
+DIST guile-ssh-0.16.2.tar.gz 523528 BLAKE2B 1cf513a5c77f5ea622c80ce96f8a8b3b2a83e371f1d44bb236a65a6b50e3edfd1096a1b2971a45a1df35bb90d611104214caae49f70ec4c5d96a137d66a28d37 SHA512 7a8143e408c91779591b32a50f2fceb3348bcdf92e810cf6dd70e0e9777229277bb26ba87b0a1f79590ed136aedb06661ce77bad577fb56187af324d209a552d
diff --git a/dev-scheme/guile-ssh/files/guile-ssh-0.16.2-tests.patch b/dev-scheme/guile-ssh/files/guile-ssh-0.16.2-tests.patch
new file mode 100644
index 000000000000..071ef5add279
--- /dev/null
+++ b/dev-scheme/guile-ssh/files/guile-ssh-0.16.2-tests.patch
@@ -0,0 +1,18 @@
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -23,15 +23,12 @@ if !CROSS_COMPILING
+
+ SCM_TESTS = \
+ log.scm \
+- version.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.2.ebuild b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild
new file mode 100644
index 000000000000..3852b3ec27fc
--- /dev/null
+++ b/dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 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"
+RESTRICT="strip"
+
+RDEPEND="
+ >=dev-scheme/guile-2.0.0:=
+ net-libs/libssh:0=[server,sftp]
+"
+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
+}