public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ssh/, dev-scheme/guile-ssh/files/
@ 2022-10-17  0:12 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2022-10-17  0:12 UTC (permalink / raw
  To: gentoo-commits

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>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ssh/, dev-scheme/guile-ssh/files/
@ 2023-01-21  8:49 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2023-01-21  8:49 UTC (permalink / raw
  To: gentoo-commits

commit:     1f692a04781c97ab819e618717092eeaa6a7deb5
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 06:50:35 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 08:49:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f692a04

dev-scheme/guile-ssh: bump to 0.16.2

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-scheme/guile-ssh/Manifest                      |  1 +
 .../guile-ssh/files/guile-ssh-0.16.2-tests.patch   | 18 +++++++++
 dev-scheme/guile-ssh/guile-ssh-0.16.2.ebuild       | 45 ++++++++++++++++++++++
 3 files changed, 64 insertions(+)

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-21  8:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-17  0:12 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-ssh/, dev-scheme/guile-ssh/files/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-01-21  8:49 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox