Пакет python-module-pexpect: 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 165 166 167 168 169 170 171 172 173 | %define oname pexpect %def_with python3 %def_disable check Name: python-module-%oname Version: 4.0 Release: alt1.dev.git20150811.1 %setup_python_module %oname Summary: Pexpect is a pure Python Expect. It allows easy control of other applications License: Python Software Foundation License Group: Development/Python Url: http://pexpect.sourceforge.net/ # https://github.com/pexpect/pexpect.git Source: %name-%version.tar BuildArch: noarch Obsoletes: %oname < 0.999-alt6 Provides: %oname %add_findreq_skiplist %python_sitelibdir/%oname/async.py BuildPreReq: python-devel python-module-setuptools-tests /dev/pts BuildPreReq: python-module-pytest-cov python-module-ptyprocess %if_with python3 BuildRequires(pre): rpm-build-python3 BuildPreReq: python3-devel python3-module-setuptools-tests BuildPreReq: python3-module-pytest-cov python3-module-ptyprocess %endif BuildPreReq: python-module-sphinx-devel %description Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. %package -n python3-module-%oname Summary: Pexpect is a pure Python Expect. It allows easy control of other applications Group: Development/Python3 %description -n python3-module-%oname Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. %package pickles Summary: Pickles for Pexpect Group: Development/Python %description pickles Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. This package contains pickles for Pexpect. %prep %setup %if_with python3 cp -fR . ../python3 %endif %prepare_sphinx . ln -s ../objects.inv doc/ %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif export PYTHONPATH=%buildroot%python_sitelibdir %make -C doc pickle %make -C doc html cp -fR doc/_build/pickle %buildroot%python_sitelibdir/%oname/ %check py.test -vv --cov pexpect --cov-config .coveragerc %if_with python3 pushd ../python3 py.test-%_python3_version -vv --cov pexpect --cov-config .coveragerc popd %endif %files %doc DEVELOPERS* LICENSE README.rst doc/_build/html examples %python_sitelibdir/* %exclude %python_sitelibdir/*/pickle %files pickles %python_sitelibdir/*/pickle %if_with python3 %files -n python3-module-%oname %doc DEVELOPERS* LICENSE README.rst doc/_build/html examples %python3_sitelibdir/* %endif %changelog * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0-alt1.dev.git20150811.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Aug 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt1.dev.git20150811 - Version 4.0.dev * Sun Aug 24 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.3-alt1 - Version 3.3 - Added module for Python 3 * Fri Dec 06 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.0-alt1 - Version 3.0 * Wed Oct 26 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.3-alt1.1.1 - Rebuild with Python-2.7 * Thu Nov 12 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3-alt1.1 - Rebuilt with python 2.6 * Mon Dec 29 2008 Vitaly Lipatov <lav@altlinux.ru> 2.3-alt1 - new version 2.3 (with rpmrb script) - cleanup spec * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 0.999-alt8.1 - Rebuilt with python-2.5. * Wed Apr 20 2005 Andrey Orlov <cray@altlinux.ru> 0.999-alt8 - Documentation and examples added * Sat Jul 03 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt7 - Provide pexpect clause added * Thu May 20 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt6 - Previous packages are obsoleted * Tue May 18 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt5 - Conditional operators excluded from spec * Mon May 10 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt4.d - Rebuild * Thu Apr 22 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt3.d - BuildNoArch clause added * Tue Apr 13 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt2.d - Rebuild with new rpm/python macros - Fix description field omited before * Mon Mar 29 2004 Andrey Orlov <cray@altlinux.ru> 0.999-alt1.d - Initial release |