# Created by pyp2rpm-3.3.5 Name: pmbootstrap Version: 1.50.1 Release: %autorelease Summary: A sophisticated chroot/build/flash tool to develop and install postmarketOS License: GPL-3.0-only URL: https://www.postmarketos.org # cannot use %%{pypi_source} due to # https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2009 Source0: https://gitlab.com/postmarketOS/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(argcomplete) # FIXME: once we can run the tests, add this back # BuildRequires: python3dist(pytest) BuildRequires: python3dist(setuptools) Requires: openssl Requires: git %description Sophisticated chroot/build/flash tool to develop and install postmarketOS. %prep %autosetup -n %{name}-%{version} # Remove bundled egg-info rm -rf %{name}.egg-info %build %py3_build %install %py3_install %check # cannot run the tests at the moment: # https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2010 # python3 setup.py test %files %license LICENSE %doc README.md %{_bindir}/%{name} %{python3_sitelib}/pmb %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %changelog %autochangelog