|
|
3e6accf |
Name: uflash
|
|
|
ca48718 |
Version: 1.2.1
|
|
|
c82bc5f |
Release: 2%{?dist}
|
|
|
3e6accf |
Summary: A module and utility to flash Python onto the BBC micro:bit
|
|
|
3e6accf |
License: MIT
|
|
|
3e6accf |
URL: https://github.com/ntoll/uflash
|
|
|
0ab1c57 |
Source0: %pypi_source
|
|
|
3763eb6 |
|
|
|
3763eb6 |
# For tests, they don't have tags
|
|
|
ca48718 |
%define hash d493b9f027e65a2551bb46407432723b73cf78b4
|
|
|
3763eb6 |
Source1: https://github.com/ntoll/uflash/archive/%{hash}.tar.gz
|
|
|
3763eb6 |
BuildRequires: python3-pytest
|
|
|
3763eb6 |
|
|
|
91908d8 |
BuildRequires: python3-devel
|
|
|
91908d8 |
BuildRequires: python3-setuptools
|
|
|
91908d8 |
BuildRequires: python3-nudatus
|
|
|
638bfbe |
|
|
|
91908d8 |
Requires: python3-setuptools
|
|
|
91908d8 |
Recommends: python3-nudatus
|
|
|
638bfbe |
|
|
|
3e6accf |
BuildArch: noarch
|
|
|
3e6accf |
|
|
|
638bfbe |
# Other tools are using this as a module, so provide also the python3- name
|
|
|
638bfbe |
Provides: python3-%{name} == %{version}-%{release}
|
|
|
638bfbe |
%{?python_provide:%python_provide python3-%{name}}
|
|
|
3e6accf |
|
|
|
3e6accf |
%description
|
|
|
3e6accf |
A utility for flashing the BBC micro:bit with Python scripts and the
|
|
|
3e6accf |
MicroPython runtime. You pronounce the name of this utility "micro-flash". ;-)
|
|
|
3e6accf |
It provides two services. A library of functions to programatically create a
|
|
|
3e6accf |
hex file and flash it onto a BBC micro:bit. A command line utility called
|
|
|
3e6accf |
uflash that will flash Python scripts onto a BBC micro:bit.
|
|
|
3e6accf |
|
|
|
3e6accf |
|
|
|
3e6accf |
%prep
|
|
|
3e6accf |
%setup -q
|
|
|
3e6accf |
|
|
|
3e6accf |
|
|
|
3e6accf |
%build
|
|
|
3763eb6 |
%py3_build
|
|
|
3e6accf |
|
|
|
3e6accf |
%install
|
|
|
3763eb6 |
%py3_install
|
|
|
3e6accf |
|
|
|
3763eb6 |
%check
|
|
|
3763eb6 |
tar -xf %{SOURCE1}
|
|
|
3763eb6 |
mv %{name}-%{hash}/tests .
|
|
|
3763eb6 |
rm -rf %{name}-%{hash}
|
|
|
396bfc8 |
|
|
|
91908d8 |
py.test-3 -vv
|
|
|
3e6accf |
|
|
|
3e6accf |
%files
|
|
|
3763eb6 |
%doc README.rst CHANGES.rst
|
|
|
3763eb6 |
%license LICENSE
|
|
|
3e6accf |
%{_bindir}/uflash
|
|
|
3e6accf |
%{python3_sitelib}/uflash*
|
|
|
3e6accf |
%{python3_sitelib}/__pycache__/uflash*
|
|
|
3e6accf |
|
|
|
3e6accf |
|
|
|
3e6accf |
|
|
|
3e6accf |
%changelog
|
|
|
c82bc5f |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
c82bc5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
c82bc5f |
|
|
|
ca48718 |
* Wed Aug 29 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-1
|
|
|
ca48718 |
- Update to 1.2.1 (#1605196)
|
|
|
ca48718 |
|
|
|
ab59840 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
ab59840 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ab59840 |
|
|
|
0ab1c57 |
* Mon Jul 09 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1
|
|
|
0ab1c57 |
- Update to 1.2.0 (#1594545)
|
|
|
0ab1c57 |
|
|
|
6e14c06 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
|
|
|
6e14c06 |
- Rebuilt for Python 3.7
|
|
|
6e14c06 |
|
|
|
28d7259 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
|
|
|
28d7259 |
- Rebuilt for Python 3.7
|
|
|
28d7259 |
|
|
|
91908d8 |
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
|
|
|
91908d8 |
- BR and recommend nudatus
|
|
|
91908d8 |
|
|
|
638bfbe |
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
|
|
|
638bfbe |
- Update to 1.1.2
|
|
|
638bfbe |
- Provide python3-uflash
|
|
|
638bfbe |
|
|
|
eb1fd3c |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
|
|
eb1fd3c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
eb1fd3c |
|
|
|
e6b5fb6 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
|
|
e6b5fb6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e6b5fb6 |
|
|
|
192574d |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
|
|
192574d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
192574d |
|
|
|
8659b5b |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
|
|
8659b5b |
- Rebuild for Python 3.6
|
|
|
8659b5b |
|
|
|
3763eb6 |
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1
|
|
|
3763eb6 |
- Update to 1.0.3
|
|
|
3763eb6 |
- Use new %%py3_ macros for build and install
|
|
|
3763eb6 |
- Update source URL
|
|
|
3763eb6 |
- Include LICENSE and CHANGES.rst
|
|
|
3763eb6 |
- Require setuptools for entrypoints
|
|
|
3763eb6 |
- Add tests
|
|
|
3763eb6 |
|
|
|
546aaf7 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18b0-2
|
|
|
546aaf7 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
546aaf7 |
|
|
|
3e6accf |
* Mon Jan 18 2016 Kushal Das <kushal@fedoraprojects.org> - 0.9.18b0-1
|
|
|
3e6accf |
- Initial package creation
|