Package python-module-testfixtures: 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 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | %define modulename testfixtures %def_with python3 %def_without docs Name: python-module-%modulename Version: 6.8.1 Release: alt1 Summary: A collection of helpers and mock objects for unit tests and doc tests License: MIT Group: Development/Python URL: http://www.simplistix.co.uk/software/python/testfixtures Packager: Andrey Cherepanov <cas@altlinux.org> BuildArch: noarch BuildRequires: rpm-build-python BuildRequires: python-devel BuildRequires: python-module-distribute BuildRequires: python2.7(sybil) python2.7(mock) python2.7(django.db) python2.7(zope.component) BuildRequires: python2.7(pkginfo) BuildRequires: python-module-twisted-logger BuildRequires: python-module-twisted-core-test %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel BuildRequires: python3-module-distribute BuildRequires: python3(sybil) python3(mock) python3(django.db) python3(zope.component) BuildRequires: python3-module-twisted-logger BuildRequires: python3-module-twisted-core-test %endif %if_with docs BuildRequires: python-module-sphinx-devel %endif Source: %modulename-%version.tar #VCS: https://github.com/Simplistix/testfixtures %description TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests. %if_with python3 %package -n python3-module-%modulename Group: Development/Python3 Summary: A collection of helpers and mock objects for unit tests and doc tests %description -n python3-module-%modulename TestFixtures is a collection of helpers and mock objects that are useful when writing unit tests or doc tests. %endif %prep %setup -n %modulename-%version %if_with python3 cp -a . ../python3 %endif %if_with docs %prepare_sphinx . ln -s ../objects.inv docs/ %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif %if_with docs PYTHONPATH=$(pwd) %make -C docs html SPHINXBUILD=sphinx-build mv docs/_build/html ./ rm -rf docs/_build %endif %check rm -rf build rm -f testfixtures/tests/test_django/test_compare.py PYTHONPATH=$(pwd) py.test testfixtures/tests %if_with python3 pushd ../python3 rm -rf build rm -f testfixtures/tests/test_django/test_compare.py PYTHONPATH=$(pwd) py.test3 testfixtures/tests popd %endif %files %doc README.rst docs %if_with docs %doc html %endif %python_sitelibdir/%modulename/ %python_sitelibdir/*.egg-info %if_with python3 %files -n python3-module-%modulename %doc README.rst docs %if_with docs %doc html %endif %python3_sitelibdir/%modulename/ %python3_sitelibdir/*.egg-info %endif %changelog * Sat May 04 2019 Andrey Cherepanov <cas@altlinux.org> 6.8.1-alt1 - New version. * Tue Apr 30 2019 Andrey Cherepanov <cas@altlinux.org> 6.7.1-alt1 - New version. * Fri Apr 26 2019 Andrey Cherepanov <cas@altlinux.org> 6.7.0-alt1 - New version. * Sat Mar 23 2019 Andrey Cherepanov <cas@altlinux.org> 6.6.2-alt1 - New version. * Mon Mar 18 2019 Andrey Cherepanov <cas@altlinux.org> 6.6.1-alt1 - New version. * Sat Feb 23 2019 Andrey Cherepanov <cas@altlinux.org> 6.6.0-alt1 - New version. * Fri Jan 11 2019 Andrey Cherepanov <cas@altlinux.org> 6.4.3-alt1 - New version. * Wed Jan 09 2019 Andrey Cherepanov <cas@altlinux.org> 6.4.2-alt1 - New version. * Mon Dec 24 2018 Andrey Cherepanov <cas@altlinux.org> 6.4.1-alt1 - New version. * Fri Dec 21 2018 Andrey Cherepanov <cas@altlinux.org> 6.4.0-alt1 - New version. * Mon Sep 17 2018 Andrey Cherepanov <cas@altlinux.org> 6.3.0-alt1 - New version. * Fri Jun 15 2018 Andrey Cherepanov <cas@altlinux.org> 6.2.0-alt1 - New version. * Wed Jun 06 2018 Andrey Cherepanov <cas@altlinux.org> 6.1.0-alt1 - New version. * Wed May 02 2018 Andrey Cherepanov <cas@altlinux.org> 6.0.2-alt1 - New version. * Wed Apr 18 2018 Andrey Cherepanov <cas@altlinux.org> 6.0.1-alt1 - New version. * Wed Mar 28 2018 Andrey Cherepanov <cas@altlinux.org> 6.0.0-alt1 - New version. - Build without HTML documentation. * Fri Jan 26 2018 Andrey Cherepanov <cas@altlinux.org> 5.4.0-alt1 - New version. * Wed Nov 22 2017 Andrey Cherepanov <cas@altlinux.org> 5.3.1-alt1 - New version. * Sat Oct 28 2017 Andrey Cherepanov <cas@altlinux.org> 5.3.0-alt1 - New version * Mon Sep 04 2017 Andrey Cherepanov <cas@altlinux.org> 5.2.0-alt1 - New version * Wed Aug 23 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 5.1.1-alt2 - Enabled python-3 build. - Enabled tests. - Built and packaged docs. * Fri Jun 09 2017 Andrey Cherepanov <cas@altlinux.org> 5.1.1-alt1 - New version * Mon Jun 05 2017 Andrey Cherepanov <cas@altlinux.org> 5.0.0-alt1 - New version * Tue May 16 2017 Andrey Cherepanov <cas@altlinux.org> 4.14.3-alt1 - New version * Wed Mar 01 2017 Andrey Cherepanov <cas@altlinux.org> 4.13.5-alt1 - New version * Tue Feb 07 2017 Andrey Cherepanov <cas@altlinux.org> 4.13.4-alt1 - new version 4.13.4 * Fri Dec 16 2016 Andrey Cherepanov <cas@altlinux.org> 4.13.3-alt1 - new version 4.13.3 * Sat Nov 05 2016 Andrey Cherepanov <cas@altlinux.org> 4.13.1-alt1 - new version 4.13.1 * Thu Oct 20 2016 Andrey Cherepanov <cas@altlinux.org> 4.12.0-alt1 - new version 4.12.0 * Fri Oct 14 2016 Andrey Cherepanov <cas@altlinux.org> 4.11.0-alt1 - new version 4.11.0 * Wed Sep 07 2016 Andrey Cherepanov <cas@altlinux.org> 4.10.1-alt1 - new version 4.10.1 * Thu Jun 09 2016 Andrey Cherepanov <cas@altlinux.org> 4.10.0-alt1 - new version 4.10.0 * Tue Mar 03 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.2-alt1 - Version 4.1.2 * Fri Mar 28 2014 Andrey Cherepanov <cas@altlinux.org> 3.0.1-alt1 - Initial build for ALT Linux |