Group :: Development/Python3
RPM: python3-module-Quamash
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname Quamash
%def_with check
Name: python3-module-%oname
Version: 0.6.1
Release: alt3
Summary: Implementation of the PEP 3156 event-loop (tulip) api using the Qt Event-Loop
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/Quamash/
# https://github.com/harvimt/quamash.git
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: xvfb-run
BuildRequires: python3-module-pytest
BuildRequires: python3-module-PyQt5
%endif
BuildArch: noarch
%description
Implementation of the PEP 3156 Event-Loop with Qt.
Quamash requires Python 3.4 and either PyQt4, PyQt5 or PySide.
%prep
%setup
%autopatch -p1
%build
%python3_build
%install
%python3_install
%check
export QUAMASH_QTIMPL=PyQt5
xvfb-run py.test3 -v
%files
%doc README.rst
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%python3_sitelibdir/quamash/
%changelog
…
Todas as alterações você pod ver aqui
%define oname Quamash
%def_with check
Name: python3-module-%oname
Version: 0.6.1
Release: alt3
Summary: Implementation of the PEP 3156 event-loop (tulip) api using the Qt Event-Loop
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/Quamash/
# https://github.com/harvimt/quamash.git
Source: %name-%version.tar
Patch0: %name-%version-alt.patch
BuildRequires(pre): rpm-build-python3
%if_with check
BuildRequires: xvfb-run
BuildRequires: python3-module-pytest
BuildRequires: python3-module-PyQt5
%endif
BuildArch: noarch
%description
Implementation of the PEP 3156 Event-Loop with Qt.
Quamash requires Python 3.4 and either PyQt4, PyQt5 or PySide.
%prep
%setup
%autopatch -p1
%build
%python3_build
%install
%python3_install
%check
export QUAMASH_QTIMPL=PyQt5
xvfb-run py.test3 -v
%files
%doc README.rst
%python3_sitelibdir/%oname-%version-py%_python3_version.egg-info/
%python3_sitelibdir/quamash/
%changelog
…
Todas as alterações você pod ver aqui