Пакет python-module-testtools: 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 | %define _unpackaged_files_terminate_build 1 %define oname testtools Name: python-module-%oname Version: 2.3.0 Release: alt4 Summary: extensions to the Python standard library's unit testing framework Group: Development/Python License: MIT Url: http://pypi.python.org/pypi/testtools BuildArch: noarch # https://github.com/testing-cabal/testtools.git Source: %name-%version.tar BuildRequires(pre): rpm-macros-sphinx BuildRequires: python-module-alabaster python-module-docutils BuildRequires: python-module-extras python-module-html5lib python-module-mimeparse BuildRequires: python-module-objects.inv python-module-pbr python-module-pytest BuildRequires: python-module-unittest2 BuildRequires: python2.7(testscenarios) python2.7(fixtures) python-module-twisted-core-test %py_requires mimeparse traceback2 %description testtools is a set of extensions to the Python standard library's unit testing framework. These extensions have been derived from years of experience with unit testing in Python and come from many different sources. %package pickles Summary: Pickles for %oname Group: Development/Python %description pickles testtools is a set of extensions to the Python standard library's unit testing framework. These extensions have been derived from years of experience with unit testing in Python and come from many different sources. %package docs Summary: Documentation for %oname Group: Development/Documentation %description docs testtools is a set of extensions to the Python standard library's unit testing framework. These extensions have been derived from years of experience with unit testing in Python and come from many different sources. This package contains documentation for %oname. %prep %setup %prepare_sphinx . ln -s ../objects.inv doc/ %build export PBR_VERSION=%version %python_build export PYTHONPATH=$PWD %make -C doc pickle PYTHON=python2 %install export PBR_VERSION=%version %python_install cp -fR doc/_build/pickle %buildroot%python_sitelibdir/%oname/ %check export PBR_VERSION=%version %make check PYTHON=python2 %files %python_sitelibdir/testtools* %doc LICENSE NEWS README* %exclude %python_sitelibdir/*/pickle %files pickles %python_sitelibdir/*/pickle %changelog * Mon Jul 05 2021 Vitaly Lipatov <lav@altlinux.ru> 2.3.0-alt4 - fix build * Thu Nov 12 2020 Vitaly Lipatov <lav@altlinux.ru> 2.3.0-alt3 - build python2 only * Mon Apr 22 2019 Grigory Ustinov <grenka@altlinux.org> 2.3.0-alt2 - Fixed build for python3.7. * Mon Aug 06 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.3.0-alt1 - Updated to upstream version 2.3.0. * Mon May 14 2018 Andrey Bychkov <mrdrew@altlinux.org> 1.8.0-alt3 - rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.8.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) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1.8.0-alt2.1 - NMU: Use buildreq for BR. * Tue Aug 11 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.0-alt2 - Fixed requirements * Sun Aug 02 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.8.0-alt1 - Version 1.8.0 * Fri Nov 21 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.0-alt1 - Version 1.5.0 * Wed Nov 19 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.4.0-alt1 - Version 1.4.0 * Sat Nov 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.0-alt2 - Fixed requirements * Sat Nov 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.1.0-alt1 - Version 1.1.0 - Added docs * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 0.9.8-alt1.2.1 - Rebuild with Python-3.3 * Thu Apr 12 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.8-alt1.2 - Added module for Python 3 (bootstrap) * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.8-alt1.1 - Rebuild with Python-2.7 * Mon Jan 10 2011 Vladimir Lettiev <crux@altlinux.ru> 0.9.8-alt1 - New version 0.9.8 * Mon Oct 18 2010 Vladimir Lettiev <crux@altlinux.ru> 0.9.7-alt1 - New version 0.9.7 * Mon Sep 20 2010 Vladimir Lettiev <crux@altlinux.ru> 0.9.6-alt1 - initial build |