File micropython-lib.spec of Package micropython-lib
#
# spec file for package micropython-lib
#
# Copyright (c) 2022 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/
#
Name: micropython-lib
Version: 0
Release: 1%{?dist}
BuildArch: noarch
Summary: Core Python libraries ported to MicroPython
License: MIT AND Python-2.0
Group: Development/Libraries/Python
URL: https://github.com/micropython/micropython-lib
Source: %{name}-%{version}.tar.gz
Supplements: micropython
%description
micropython-lib is a project to develop a non-monolothic standard library for MicroPython (https://github.com/micropython/micropython). Each module or package is available as a separate distribution package from PyPI. Each module is either written from scratch or ported from CPython.
%prep
%setup -q
%build
make %{?_smp_mflags}
%install
%make_install PREFIX=%{buildroot}%{_prefix}/lib/micropython
%files
%defattr(-,root,root)
%doc LICENSE
%{_prefix}/lib/micropython
%changelog