Group :: Development/Python3
RPM: python3-module-rope
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name rope
%def_with check
Name: python3-module-%pypi_name
Version: 1.9.0
Release: alt1
Summary: A python refactoring library
License: LGPL-3.0+
Group: Development/Python3
Url: https://pypi.org/project/rope/
Vcs: https://github.com/python-rope/rope
BuildArch: noarch
Source0: %pypi_name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%add_pyproject_deps_check_filter pip-tools
%pyproject_builddeps_metadata_extra dev
%pyproject_builddeps_check
BuildRequires: python3-module-appdirs
BuildRequires: python3-modules-sqlite3
%endif
%description
%summary
%prep
%setup -n %pypi_name-%version
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
# unfortunately, 1 test is broken,
# see https://github.com/python-rope/rope/issues/478
%pyproject_run_pytest -vra -k 'not test_search_submodule'
%files
%doc COPYING README.rst CHANGELOG.md docs
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name rope
%def_with check
Name: python3-module-%pypi_name
Version: 1.9.0
Release: alt1
Summary: A python refactoring library
License: LGPL-3.0+
Group: Development/Python3
Url: https://pypi.org/project/rope/
Vcs: https://github.com/python-rope/rope
BuildArch: noarch
Source0: %pypi_name-%version.tar
Source1: %pyproject_deps_config_name
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
%add_pyproject_deps_check_filter pip-tools
%pyproject_builddeps_metadata_extra dev
%pyproject_builddeps_check
BuildRequires: python3-module-appdirs
BuildRequires: python3-modules-sqlite3
%endif
%description
%summary
%prep
%setup -n %pypi_name-%version
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%build
%pyproject_build
%install
%pyproject_install
%check
# unfortunately, 1 test is broken,
# see https://github.com/python-rope/rope/issues/478
%pyproject_run_pytest -vra -k 'not test_search_submodule'
%files
%doc COPYING README.rst CHANGELOG.md docs
%python3_sitelibdir/%pypi_name
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}
%changelog
…
Todas as alterações você pod ver aqui