Group :: Development/Python3
RPM: python3-module-paramiko
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define pypi_name paramiko
%def_with check
Name: python3-module-%pypi_name
Version: 3.1.0
Release: alt1
Summary: SSH2 protocol for python
License: LGPL-2.1
Group: Development/Python3
Url: http://www.paramiko.org/
VCS: https://github.com/paramiko/paramiko.git
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
BuildRequires: /dev/pts
%add_pyproject_deps_check_filter codespell alabaster codecov
%pyproject_builddeps_metadata_extra invoke
%pyproject_builddeps_metadata_extra gssapi
%pyproject_builddeps_check
# manually installed (.circleci/config.yml)
BuildRequires: python3-module-k5test
%endif
%description
paramiko is a module for python that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. It is written
entirely in python (no C or platform-dependent code).
%prep
%setup
%patch -p1
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_pipreqfile dev-requirements.txt
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run -- inv test
%files
%doc README.rst
%python3_sitelibdir/paramiko/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui
%define pypi_name paramiko
%def_with check
Name: python3-module-%pypi_name
Version: 3.1.0
Release: alt1
Summary: SSH2 protocol for python
License: LGPL-2.1
Group: Development/Python3
Url: http://www.paramiko.org/
VCS: https://github.com/paramiko/paramiko.git
BuildArch: noarch
Source: %name-%version.tar
Source1: %pyproject_deps_config_name
Patch: %name-%version-alt.patch
%pyproject_runtimedeps_metadata
BuildRequires(pre): rpm-build-pyproject
%pyproject_builddeps_build
%if_with check
BuildRequires: /dev/pts
%add_pyproject_deps_check_filter codespell alabaster codecov
%pyproject_builddeps_metadata_extra invoke
%pyproject_builddeps_metadata_extra gssapi
%pyproject_builddeps_check
# manually installed (.circleci/config.yml)
BuildRequires: python3-module-k5test
%endif
%description
paramiko is a module for python that implements the SSH2 protocol for secure
(encrypted and authenticated) connections to remote machines. It is written
entirely in python (no C or platform-dependent code).
%prep
%setup
%patch -p1
%pyproject_deps_resync_build
%pyproject_deps_resync_metadata
%if_with check
%pyproject_deps_resync_check_pipreqfile dev-requirements.txt
%endif
%build
%pyproject_build
%install
%pyproject_install
%check
%pyproject_run -- inv test
%files
%doc README.rst
%python3_sitelibdir/paramiko/
%python3_sitelibdir/%{pyproject_distinfo %pypi_name}/
%changelog
…
Todas as alterações você pod ver aqui