|
|
404bb75 |
# Created by pyp2rpm-3.2.2
|
|
|
404bb75 |
Name: ampy
|
|
|
4812e05 |
Version: 1.0.5
|
|
|
ceb50c8 |
Release: 5%{?dist}
|
|
|
404bb75 |
Summary: Command line tool to interact with a MicroPython board over a serial connection
|
|
|
404bb75 |
|
|
|
404bb75 |
License: MIT
|
|
|
404bb75 |
URL: https://github.com/adafruit/ampy
|
|
|
404bb75 |
|
|
|
404bb75 |
# Use GitHub archive instead of PyPi sdist to have tests, README, LICENSE
|
|
|
4812e05 |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
404bb75 |
BuildArch: noarch
|
|
|
404bb75 |
|
|
|
404bb75 |
BuildRequires: python3-devel
|
|
|
404bb75 |
BuildRequires: python3-setuptools
|
|
|
404bb75 |
|
|
|
4812e05 |
%?python_enable_dependency_generator
|
|
|
404bb75 |
|
|
|
404bb75 |
Provides: adafruit-%{name} = %{version}-%{release}
|
|
|
404bb75 |
Provides: python3-adafruit-%{name} = %{version}-%{release}
|
|
|
404bb75 |
%{?python_provide:%python_provide python3-adafruit-%{name}}
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%description
|
|
|
404bb75 |
Adafruit MicroPython tool is a command line tool to interact with a MicroPython
|
|
|
404bb75 |
board over a serial connection.
|
|
|
404bb75 |
|
|
|
404bb75 |
Ampy is meant to be a simple command line tool to manipulate files and run code
|
|
|
404bb75 |
on a MicroPython board over its serial connection. With ampy you can send files
|
|
|
404bb75 |
from your computer to a MicroPython board's file system, download files from a
|
|
|
404bb75 |
board to your computer, and even send a Python script to a board to be
|
|
|
404bb75 |
executed.
|
|
|
404bb75 |
|
|
|
404bb75 |
Note that ampy by design is meant to be simple and does not support advanced
|
|
|
404bb75 |
interaction like a shell or terminal to send input to a board.
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%prep
|
|
|
4812e05 |
%autosetup -n %{name}-%{version}
|
|
|
404bb75 |
|
|
|
404bb75 |
# shebangs
|
|
|
404bb75 |
sed -i '1d' $(grep -lr '#!/usr/')
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%build
|
|
|
404bb75 |
%py3_build
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%install
|
|
|
404bb75 |
%py3_install
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%check
|
|
|
404bb75 |
%{__python3} -m unittest tests/test_*.py -v
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%files
|
|
|
404bb75 |
%doc README.md
|
|
|
404bb75 |
%license LICENSE
|
|
|
404bb75 |
%{_bindir}/%{name}
|
|
|
404bb75 |
%{python3_sitelib}/%{name}
|
|
|
404bb75 |
%{python3_sitelib}/adafruit_ampy-%{version}-py?.?.egg-info
|
|
|
404bb75 |
|
|
|
404bb75 |
|
|
|
404bb75 |
%changelog
|
|
|
ceb50c8 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-5
|
|
|
ceb50c8 |
- Rebuilt for Python 3.8
|
|
|
ceb50c8 |
|
|
|
0a765e0 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-4
|
|
|
0a765e0 |
- Rebuilt for Python 3.8
|
|
|
0a765e0 |
|
|
|
d966943 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-3
|
|
|
d966943 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
d966943 |
|
|
|
7970715 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
|
7970715 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
7970715 |
|
|
|
4812e05 |
* Wed Aug 01 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.5-1
|
|
|
4812e05 |
- Update to 1.0.5 (#1610571)
|
|
|
4812e05 |
|
|
|
c4f6726 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-6
|
|
|
c4f6726 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
c4f6726 |
|
|
|
b9c65e7 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-5
|
|
|
b9c65e7 |
- Rebuilt for Python 3.7
|
|
|
b9c65e7 |
|
|
|
85d19e5 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-4
|
|
|
85d19e5 |
- Rebuilt for Python 3.7
|
|
|
85d19e5 |
|
|
|
956f0d7 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
|
|
|
956f0d7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
956f0d7 |
|
|
|
72396ef |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
|
|
|
72396ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
72396ef |
|
|
|
404bb75 |
* Tue Mar 14 2017 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-1
|
|
|
404bb75 |
- Initial package
|