forked from pool/cp210x-program
Accepting request 1111356 from hardware
OBS-URL: https://build.opensuse.org/request/show/1111356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cp210x-program?expand=0&rev=3
This commit is contained in:
commit
cb8955dbaa
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ccd5c0cf250653c0fbd07c0432d924e79c221eb6d9508c46c00f9228de3fb83b
|
||||
size 26083
|
3
cp210x-program-0.4.1.tar.gz
Normal file
3
cp210x-program-0.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a642314c8b6409a67e08a549bf2e884cd550f386c17ae31a1fe14467ab615261
|
||||
size 97614
|
@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 27 09:38:29 UTC 2023 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to new upstream release 0.4.1
|
||||
* Always write output files with newlines.
|
||||
* test binary mode for stdout stream.
|
||||
* Doc: initial readme updates and conversion to rst format.
|
||||
* FIX error: 'TypeError: can only concatenate str (not "bytes")
|
||||
to str'.
|
||||
* cp210x: Provide baud rate table as bytearray to pyusb
|
||||
* cp210x: Convert return of pyusb.ctrl_transfer to bytearray
|
||||
* fix format of sample ini files
|
||||
+ get rid of duplicate line, which made ConfigParser throw an
|
||||
exception
|
||||
+ get rid of leading spaces, which made ConfigParser interpret
|
||||
those entries as being additional lines in a multi-line value
|
||||
for 120000 entry
|
||||
* ini: Allow inline comments
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 26 06:54:05 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
#
|
||||
# spec file for package cp210x-program
|
||||
#
|
||||
# Copyright (c) 2020, Martin Hauke <mardnh@gmx.de>
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2020-2023, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,20 +16,21 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define realver 0-4
|
||||
|
||||
Name: cp210x-program
|
||||
Version: 0.4
|
||||
Version: 0.4.1
|
||||
Release: 0
|
||||
Summary: EEPROM tool for Silabs CP210x USB-Serial adapters
|
||||
License: LGPL-2.1-only
|
||||
Group: Hardware/Other
|
||||
URL: http://cp210x-program.sourceforge.net/
|
||||
#Git-Clone: https://github.com/VCTLabs/cp210x-program.git
|
||||
Source: https://github.com/VCTLabs/cp210x-program/archive/%{name}-%{realver}.tar.gz
|
||||
Source: https://github.com/VCTLabs/cp210x-program/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pyusb
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-pyusb
|
||||
BuildArch: noarch
|
||||
|
||||
@ -38,7 +40,7 @@ FTDIs and PL2303). The CP210x has a EEPROM on the chip which can be programmed
|
||||
with this tool via USB.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{name}-%{realver}
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%python3_build
|
||||
@ -46,13 +48,11 @@ with this tool via USB.
|
||||
%install
|
||||
%python3_install
|
||||
%fdupes %{buildroot}/%{python3_sitelib}
|
||||
|
||||
%check
|
||||
./test.sh
|
||||
mv %{buildroot}/%{_bindir}/cp210x-program.py %{buildroot}/%{_bindir}/cp210x-program
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README doc/cp210x.txt
|
||||
%doc README.rst doc/cp210x.txt
|
||||
%{_bindir}/cp210x-program
|
||||
%{python3_sitelib}/cp210x*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user