SHA256
14
0
forked from pool/webrepl

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
This commit is contained in:
2025-02-17 23:02:40 +00:00
committed by Git OBS Bridge
commit 09b247ee3c
8 changed files with 109 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

16
_service Normal file
View File

@@ -0,0 +1,16 @@
<services>
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/micropython/webrepl.git</param>
<param name="revision">master</param>
<param name="versionformat">%cd.%h</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">dheidler@suse.de</param>
</service>
<service name="set_version" mode="manual" />
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="compression">gz</param>
<param name="file">*.tar</param>
</service>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/micropython/webrepl.git</param>
<param name="changesrevision">1e09d9a1d90fe52aba11d1e659afbc95a50cf088</param></service></servicedata>

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9e7a2d0513b19c2c5f3a9d3fb580c06805fc150f843d75bfd4a1a9bdaa14862
size 194571

4
webrepl.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed Feb 12 15:33:50 UTC 2025 - Dominik Heidler <dheidler@suse.de>
- Initial checkin

4
webrepl.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: webrepl
version: 20221108.1e09d9a
mtime: 1667887186
commit: 1e09d9a1d90fe52aba11d1e659afbc95a50cf088

54
webrepl.spec Normal file
View File

@@ -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