From 09b247ee3c0f7c27a09ade9c4a5da34c2df7016bbdf1cc2beceaa5bf1bb66e65 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 17 Feb 2025 23:02:40 +0000 Subject: [PATCH] New Package Fixed the URL. Written in python and related to micropython which both are located in d:l:py. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/webrepl?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 16 ++++++++++ _servicedata | 4 +++ webrepl-20221108.1e09d9a.obscpio | 3 ++ webrepl.changes | 4 +++ webrepl.obsinfo | 4 +++ webrepl.spec | 54 ++++++++++++++++++++++++++++++++ 8 files changed, 109 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 webrepl-20221108.1e09d9a.obscpio create mode 100644 webrepl.changes create mode 100644 webrepl.obsinfo create mode 100644 webrepl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..a9b93ab --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + https://github.com/micropython/webrepl.git + master + %cd.%h + git + enable + dheidler@suse.de + + + + + gz + *.tar + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..ec9f488 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/micropython/webrepl.git + 1e09d9a1d90fe52aba11d1e659afbc95a50cf088 \ No newline at end of file diff --git a/webrepl-20221108.1e09d9a.obscpio b/webrepl-20221108.1e09d9a.obscpio new file mode 100644 index 0000000..3cd2cb3 --- /dev/null +++ b/webrepl-20221108.1e09d9a.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9e7a2d0513b19c2c5f3a9d3fb580c06805fc150f843d75bfd4a1a9bdaa14862 +size 194571 diff --git a/webrepl.changes b/webrepl.changes new file mode 100644 index 0000000..8c60936 --- /dev/null +++ b/webrepl.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Feb 12 15:33:50 UTC 2025 - Dominik Heidler + +- Initial checkin diff --git a/webrepl.obsinfo b/webrepl.obsinfo new file mode 100644 index 0000000..9d022ba --- /dev/null +++ b/webrepl.obsinfo @@ -0,0 +1,4 @@ +name: webrepl +version: 20221108.1e09d9a +mtime: 1667887186 +commit: 1e09d9a1d90fe52aba11d1e659afbc95a50cf088 diff --git a/webrepl.spec b/webrepl.spec new file mode 100644 index 0000000..eb5668a --- /dev/null +++ b/webrepl.spec @@ -0,0 +1,54 @@ +# +# spec file for package webrepl +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define use_python python3 +%define pythons %{use_python} + +Name: webrepl +Version: 20221108.1e09d9a +Release: 0 +Summary: Tool similar to ssh/scp for MicroPython devices running WebREPL +License: MIT +URL: https://github.com/micropython/webrepl +Source0: %{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: %{python_module base >= 3.6} +BuildRequires: python-rpm-macros + +%description +WebREPL client, for accessing a MicroPython REPL (interactive prompt) +as well as transfering files over WebSockets. + +%prep +%setup -q + +%build + +%install +install -m 755 -D -v webrepl_cli.py %{buildroot}%{_bindir}/%{name} +%python3_fix_shebang + +%check + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} + +%changelog