Blame pmbootstrap.spec

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