All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alexis Lothoré via buildroot" <buildroot@buildroot.org>
To: buildroot@buildroot.org
Cc: "James Hilliard" <james.hilliard1@gmail.com>,
	"Alexis Lothoré" <alexis.lothore@bootlin.com>,
	"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: [Buildroot] [PATCH 1/2] package/python-scp: new package
Date: Fri, 17 Oct 2025 09:42:46 +0200	[thread overview]
Message-ID: <20251017-python-scp-v1-1-b45644fa9afb@bootlin.com> (raw)
In-Reply-To: <20251017-python-scp-v1-0-b45644fa9afb@bootlin.com>

Add python-scp as a new package. python-scp allows to send and receives
files in python through the scp1 protocol, on top of paramiko.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
 DEVELOPERS                         |  3 +++
 package/Config.in                  |  1 +
 package/python-scp/Config.in       |  7 +++++++
 package/python-scp/python-scp.hash |  5 +++++
 package/python-scp/python-scp.mk   | 14 ++++++++++++++
 5 files changed, 30 insertions(+)

diff --git a/DEVELOPERS b/DEVELOPERS
index 84ca8c76dc52d23a64edc43dab91924e8509d8d5..d0664e8723cd2223f5180ca5ee311dc78b0376bd 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -148,6 +148,9 @@ F:	configs/cubieboard2_defconfig
 N:	Alexey Lukyanchuk <skif@skif-web.ru>
 F:	package/zabbix/
 
+N: 	Alexis Lothoré <alexis.lothore@bootlin.com>
+F: 	package/python-scp
+
 N:	Alistair Francis <alistair@alistair23.me>
 F:	board/sifive/
 F:	boot/opensbi/
diff --git a/package/Config.in b/package/Config.in
index 1ae92409c4bd11bbbbafd0f9f8287e5601603568..3561ec81476a30e924baf0276ec86da5119ea457 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1383,6 +1383,7 @@ menu "External python modules"
 	source "package/python-scapy/Config.in"
 	source "package/python-schedule/Config.in"
 	source "package/python-scipy/Config.in"
+	source "package/python-scp/Config.in"
 	source "package/python-sdbus/Config.in"
 	source "package/python-sdbus-modemmanager/Config.in"
 	source "package/python-sdbus-networkmanager/Config.in"
diff --git a/package/python-scp/Config.in b/package/python-scp/Config.in
new file mode 100644
index 0000000000000000000000000000000000000000..1db0e910f4b2041ac63871a66b07382b6c1c4c87
--- /dev/null
+++ b/package/python-scp/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_SCP
+	bool "python-scp"
+	select BR2_PACKAGE_PYTHON_PARAMIKO # runtime
+	help
+	  scp module for paramiko.
+
+	  https://github.com/jbardin/scp.py
diff --git a/package/python-scp/python-scp.hash b/package/python-scp/python-scp.hash
new file mode 100644
index 0000000000000000000000000000000000000000..4ec4e6a41a4d44331189417e336023ade637c09e
--- /dev/null
+++ b/package/python-scp/python-scp.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/scp/json
+md5  54c0e3b6cc52620ce3a81362fa8bb29d  scp-0.15.0.tar.gz
+sha256  f1b22e9932123ccf17eebf19e0953c6e9148f589f93d91b872941a696305c83f  scp-0.15.0.tar.gz
+# Locally computed sha256 checksums
+sha256  2455cf0fc78e13772bf10ef5f209e7eb8625706d671b2f420cc8add37d548c1c  LICENSE.txt
diff --git a/package/python-scp/python-scp.mk b/package/python-scp/python-scp.mk
new file mode 100644
index 0000000000000000000000000000000000000000..d223b16290760a9c78b5bb58dd4d4af21b49a43a
--- /dev/null
+++ b/package/python-scp/python-scp.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-scp
+#
+################################################################################
+
+PYTHON_SCP_VERSION = 0.15.0
+PYTHON_SCP_SOURCE = scp-$(PYTHON_SCP_VERSION).tar.gz
+PYTHON_SCP_SITE = https://files.pythonhosted.org/packages/d6/1c/d213e1c6651d0bd37636b21b1ba9b895f276e8057f882c9f944931e4f002
+PYTHON_SCP_SETUP_TYPE = setuptools
+PYTHON_SCP_LICENSE = LGPL-2.1+
+PYTHON_SCP_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))

-- 
2.51.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-10-17  7:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-17  7:42 [Buildroot] [PATCH 0/2] package/python-scp: new package Alexis Lothoré via buildroot
2025-10-17  7:42 ` Alexis Lothoré via buildroot [this message]
2025-10-18 14:42   ` [Buildroot] [PATCH 1/2] " Julien Olivain via buildroot
2025-10-19  8:40     ` Alexis Lothoré via buildroot
2025-10-17  7:42 ` [Buildroot] [PATCH 2/2] support/testing: add runtime tests for python-scp Alexis Lothoré via buildroot

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=20251017-python-scp-v1-1-b45644fa9afb@bootlin.com \
    --to=buildroot@buildroot.org \
    --cc=alexis.lothore@bootlin.com \
    --cc=james.hilliard1@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.