Group :: Development/Python3
RPM: python3-module-qrcode
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname qrcode
%def_with check
Name: python3-module-%oname
Version: 7.4.2
Release: alt1
Summary: Python module to generate QR Codes
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/lincolnloop/python-qrcode
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
Buildrequires: python3-module-pytest
Buildrequires: python3-module-Pillow
Buildrequires: python3-module-typing_extensions
Buildrequires: python3-module-pypng
%endif
Conflicts: python-module-%oname
Obsoletes: python-module-%oname
%description
This module uses image libraries, Python Imaging Library (PIL) by default,
to generate QR Codes.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
py.test3 -s qrcode
%files
%doc README.rst LICENSE CHANGES.rst
%_bindir/qr
%_man1dir/*
%python3_sitelibdir/%oname
# pure.py requires pymaging module that is not ready for release
%exclude %python3_sitelibdir/%oname/image/pure.py
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Todas as alterações você pod ver aqui
%def_with check
Name: python3-module-%oname
Version: 7.4.2
Release: alt1
Summary: Python module to generate QR Codes
License: BSD-3-Clause
Group: Development/Python3
Url: https://github.com/lincolnloop/python-qrcode
Source: %name-%version.tar
BuildArch: noarch
BuildRequires(pre): rpm-build-python3
%if_with check
Buildrequires: python3-module-pytest
Buildrequires: python3-module-Pillow
Buildrequires: python3-module-typing_extensions
Buildrequires: python3-module-pypng
%endif
Conflicts: python-module-%oname
Obsoletes: python-module-%oname
%description
This module uses image libraries, Python Imaging Library (PIL) by default,
to generate QR Codes.
%prep
%setup
%build
%python3_build
%install
%python3_install
%check
py.test3 -s qrcode
%files
%doc README.rst LICENSE CHANGES.rst
%_bindir/qr
%_man1dir/*
%python3_sitelibdir/%oname
# pure.py requires pymaging module that is not ready for release
%exclude %python3_sitelibdir/%oname/image/pure.py
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info
%changelog
…
Todas as alterações você pod ver aqui