Matej Cepl 2019-12-18 10:53:20 +00:00 committed by Git OBS Bridge
parent e588781dc1
commit 860c760ae6

View File

@ -37,11 +37,12 @@ BuildArch: noarch
%python_subpackages
%description
Flit is a simple way to put Python packages and modules on PyPI.
%prep
%setup -q -n flit_core-%{version}
dephell convert --from-format pyproject --from-path pyproject.toml --to setup.py
# https://github.com/dephell/dephell_markers/issues/6
# gh#dephell/dephell_markers#6
sed -i '/package_dir/d' setup.py
%build