Group :: Development/Python3
RPM: python3-module-mf2py
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname mf2py
Name: python3-module-%oname
Version: 1.1.3
Release: alt1
Summary: Python Microformats2 parser
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/mf2py
VCS: https://github.com/microformats/mf2py
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%py3_provides %oname
%description
Python parser for microformats 2. Full-featured and mostly stable.
Implements the full mf2 spec, including backward compatibility with
microformats1.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui
Name: python3-module-%oname
Version: 1.1.3
Release: alt1
Summary: Python Microformats2 parser
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/mf2py
VCS: https://github.com/microformats/mf2py
BuildArch: noarch
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-wheel
%py3_provides %oname
%description
Python parser for microformats 2. Full-featured and mostly stable.
Implements the full mf2 spec, including backward compatibility with
microformats1.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%pyproject_build
%install
%pyproject_install
%files
%doc README.*
%python3_sitelibdir/%oname
%python3_sitelibdir/%oname-%version.dist-info
%changelog
…
Todas as alterações você pod ver aqui