Пакет python-module-paramiko: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | %define _unpackaged_files_terminate_build 1 %define oname paramiko %def_with check Name: python-module-%oname Version: 2.4.2 Release: alt1 Summary: SSH2 protocol for python License: GPL Group: Development/Python # Source-git: https://github.com/paramiko/paramiko.git Url: http://www.paramiko.org/ Source: %name-%version.tar Patch: %name-%version-alt.patch BuildRequires(pre): rpm-build-python3 %if_with check BuildRequires: python-module-pytest BuildRequires: python-module-cryptography BuildRequires: python-module-pyasn1 BuildRequires: python-module-bcrypt BuildRequires: python-module-pynacl BuildRequires: python-module-mock BuildRequires: python3-module-pytest BuildRequires: python3-module-cryptography BuildRequires: python3-module-pyasn1 BuildRequires: python3-module-bcrypt BuildRequires: python3-module-pynacl BuildRequires: python3-module-mock %endif BuildArch: noarch %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). This module is built for python 2 %package -n python3-module-%oname Summary: SSH2 protocol for python3 Group: Development/Python3 %description -n python3-module-%oname 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). This module is built for python 3 %prep %setup %patch -p1 cp -a . ../python3 %build %python_build pushd ../python3 %python3_build popd %install %python_install pushd ../python3 %python3_install popd %check LC_ALL=en_US.UTF-8 py.test -vv pushd ../python3 LC_ALL=en_US.UTF-8 py.test3 -vv popd %files %doc README.rst LICENSE %python_sitelibdir/paramiko/ %python_sitelibdir/paramiko-*.egg-info/ %files -n python3-module-%oname %doc README.rst LICENSE %python3_sitelibdir/paramiko/ %python3_sitelibdir/paramiko-*.egg-info/ %changelog * Mon Oct 29 2018 Stanislav Levin <slev@altlinux.org> 2.4.2-alt1 - 2.4.1 -> 2.4.2. * Mon Jul 23 2018 Stanislav Levin <slev@altlinux.org> 2.4.1-alt1 - 2.4.0 -> 2.4.1 * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 2.4.0-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Tue Dec 26 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.4.0-alt1 - Updated to upstream version 2.4.0. * Tue Aug 01 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 2.2.1-alt1 - Updated to upstream version 2.2.1. * Tue Oct 18 2016 Alexey Shabalin <shaba@altlinux.ru> 2.0.2-alt1 - 2.0.2 * Mon Apr 11 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.16.0-alt2.1.1.1 - (NMU) rebuild with rpm-build-python3-0.1.10 (for new-style python3(*) reqs) and with python3-3.5 (for byte-compilation). * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.16.0-alt2.1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Fri Jan 29 2016 Mikhail Efremov <sem@altlinux.org> 1.16.0-alt2.1 - NMU: Use buildreq for BR. * Tue Jan 12 2016 Alexey Shabalin <shaba@altlinux.ru> 1.16.0-alt2 - 1.16.0 Release * Mon Aug 17 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.16.0-alt1.git20150429 - Version 1.16.0 * Thu Feb 05 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.15.2-alt1 - Version 1.15.2 * Thu Nov 27 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.15.1-alt1 - Version 1.15.1 * Fri Jul 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.14.0-alt1 - Version 1.14.0 - Added module for Python 3 * Fri Aug 09 2013 Anatoly Kitaykin <cetus@altlinux.org> 1.11.0-alt1 - Version 1.11.0 (ALT #29340) * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.7.6-alt1.1 - Rebuild with Python-2.7 * Wed Aug 04 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.6-alt1 - Version 1.7.6 (ALT #23843) * Wed Nov 11 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.2-alt1.1.1 - Rebuilt with python 2.6 * Fri Feb 08 2008 Grigory Batalov <bga@altlinux.ru> 1.7.2-alt1.1 - Rebuilt with python-2.5. * Mon Feb 04 2008 Andriy Stepanov <stanv@altlinux.ru> 1.7.2-alt1 - Up to new version * Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.5.3-alt2.1 - Rebuilt using rpm-build-python-0.29-alt4. * Fri Mar 31 2006 Andriy Stepanov <stanv@altlinux.ru> 1.5.3-alt2 - Modifications in spec file for doc package * Fri Mar 31 2006 Stepanov Andriy <stanv@altlinux.ru> 1.5.3-alt1 - Initial build |