Compare commits
38 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bcaf347849 | ||
|
|
ae2bc62188 | ||
|
|
c09df6a376 | ||
|
|
651171abd3 | ||
|
|
59e74ebbe0 | ||
|
|
7745d464b5 | ||
|
|
3deeae7017 | ||
|
|
d8d24f591e | ||
|
|
10f4eb9fcf | ||
|
|
f8f5cc7307 | ||
|
|
253d758bea | ||
|
|
0cb69ecbce | ||
|
|
98cf5fd3e2 | ||
|
|
d55e9ddd35 | ||
|
|
09d6c16832 | ||
|
|
58d3da6e9e | ||
|
|
f6a3a43ff6 | ||
|
|
20b1cd764b | ||
|
|
a7688448d1 | ||
|
|
f5c95673c9 | ||
|
|
0f078b2988 | ||
|
|
35ad83d0a5 | ||
|
|
e11fdfc709 | ||
|
|
3308151451 | ||
|
|
eeae951be8 | ||
|
|
5484af5d74 | ||
|
|
a2db8266e4 | ||
|
|
be742d1558 | ||
|
|
60b92315b6 | ||
|
|
c82bc5f4f0 | ||
|
|
ca4871807c | ||
|
|
ab59840c5c | ||
|
|
0ab1c57a34 | ||
|
|
6e14c066bf | ||
|
|
28d7259027 | ||
|
|
91908d8237 | ||
|
|
638bfbe09e | ||
|
|
eb1fd3c519 |
4 changed files with 137 additions and 49 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1,3 +1,11 @@
|
|||
/uflash-0.9.18b0.tar.gz
|
||||
/04afb7e9c7118a7d56f1f2b2328fe9162a26c24e.tar.gz
|
||||
/uflash-1.0.3.tar.gz
|
||||
/uflash-1.1.2.tar.gz
|
||||
/67eadaad00514444725a2e0fa1c8ff2864e39f26.tar.gz
|
||||
/uflash-1.2.0.tar.gz
|
||||
/41bf089448873b7f9443aa120379fb1cbba54f8c.tar.gz
|
||||
/uflash-1.2.1.tar.gz
|
||||
/d493b9f027e65a2551bb46407432723b73cf78b4.tar.gz
|
||||
/uflash-2.0.0.tar.gz
|
||||
/147ea945fbe841b0ae17888ab60a60c6080b1225.tar.gz
|
||||
|
|
|
|||
102
changelog
Normal file
102
changelog
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Wed Apr 27 2022 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
||||
- Rebuilt
|
||||
|
||||
* Mon Apr 11 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
Resolves: rhbz#1742639
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.1-10
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Aug 29 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-1
|
||||
- Update to 1.2.1 (#1605196)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 09 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1
|
||||
- Update to 1.2.0 (#1594545)
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
|
||||
- BR and recommend nudatus
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
|
||||
- Update to 1.1.2
|
||||
- Provide python3-uflash
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
- Use new %%py3_ macros for build and install
|
||||
- Update source URL
|
||||
- Include LICENSE and CHANGES.rst
|
||||
- Require setuptools for entrypoints
|
||||
- Add tests
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18b0-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon Jan 18 2016 Kushal Das <kushal@fedoraprojects.org> - 0.9.18b0-1
|
||||
- Initial package creation
|
||||
4
sources
4
sources
|
|
@ -1,2 +1,2 @@
|
|||
0bbc86412367345ccfb3c091375b4593 04afb7e9c7118a7d56f1f2b2328fe9162a26c24e.tar.gz
|
||||
e1436ed94775603c9375502b22efd149 uflash-1.0.3.tar.gz
|
||||
SHA512 (uflash-2.0.0.tar.gz) = fb7c6044d05ee21a5e65412b7cc4b972a9191398b8a37956cc2d329693e5576cb098e80c8ef1ca7a3fcd8ccde0966e92599a1cd510aa30fffad59e66f70379d5
|
||||
SHA512 (147ea945fbe841b0ae17888ab60a60c6080b1225.tar.gz) = 1cf3f8a99256bf242556d7a6c699e32934ca8d984f149115f7636d766b0cc7d0446cf4b887f15dd12c1baa6d5948c41e29f45efa6bfd5b09fdcbec1230c49a51
|
||||
|
|
|
|||
82
uflash.spec
82
uflash.spec
|
|
@ -1,22 +1,22 @@
|
|||
Name: uflash
|
||||
Version: 1.0.3
|
||||
Release: 4%{?dist}
|
||||
Version: 2.0.0
|
||||
Release: %autorelease
|
||||
Summary: A module and utility to flash Python onto the BBC micro:bit
|
||||
Group: Development/Tools
|
||||
License: MIT
|
||||
URL: https://github.com/ntoll/uflash
|
||||
Source0: https://files.pythonhosted.org/packages/source/u/%{name}/%{name}-%{version}.tar.gz
|
||||
Source0: %{pypi_source uflash}
|
||||
|
||||
# For tests, they don't have tags
|
||||
%define hash 04afb7e9c7118a7d56f1f2b2328fe9162a26c24e
|
||||
%define hash 147ea945fbe841b0ae17888ab60a60c6080b1225
|
||||
Source1: https://github.com/ntoll/uflash/archive/%{hash}.tar.gz
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
BuildRequires: python3-devel, python3-setuptools
|
||||
# Entrypoints:
|
||||
Requires: python3-setuptools
|
||||
BuildArch: noarch
|
||||
|
||||
# Other tools are using this as a module, so provide also the python3- name
|
||||
%py_provides python3-%{name}
|
||||
|
||||
%description
|
||||
A utility for flashing the BBC micro:bit with Python scripts and the
|
||||
|
|
@ -26,58 +26,36 @@ hex file and flash it onto a BBC micro:bit. A command line utility called
|
|||
uflash that will flash Python scripts onto a BBC micro:bit.
|
||||
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
%autosetup -p1
|
||||
tar -xf %{SOURCE1}
|
||||
mv %{name}-%{hash}/tests .
|
||||
rm -rf %{name}-%{hash}
|
||||
|
||||
# The mocking in test_flash_wrong_python is broken in 3.6
|
||||
# And we don't really need the tested functionality,
|
||||
# because we know uflash will not be run with
|
||||
# old version of Python, as we are packaging it for new one
|
||||
py.test-3 -k "not test_flash_wrong_python"
|
||||
|
||||
%files
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l 'uflash*'
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
%pytest
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%doc README.rst CHANGES.rst
|
||||
%license LICENSE
|
||||
%{_bindir}/uflash
|
||||
%{python3_sitelib}/uflash*
|
||||
%{python3_sitelib}/__pycache__/uflash*
|
||||
|
||||
%{_bindir}/py2hex
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
- Use new %%py3_ macros for build and install
|
||||
- Update source URL
|
||||
- Include LICENSE and CHANGES.rst
|
||||
- Require setuptools for entrypoints
|
||||
- Add tests
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18b0-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon Jan 18 2016 Kushal Das <kushal@fedoraprojects.org> - 0.9.18b0-1
|
||||
- Initial package creation
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue