Package python-module-webtest: 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 | %define oname webtest %def_with python3 Name: python-module-%oname Version: 2.0.19 Release: alt1.dev0.git20150724.1.2 Summary: Helper to test WSGI applications License: MIT Group: Development/Python Url: http://webtest.pythonpaste.org/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # git://github.com/Pylons/webtest.git Source: WebTest-%version.tar.gz BuildArch: noarch BuildRequires(pre): rpm-build-python #BuildPreReq: python-devel python-module-setuptools #BuildPreReq: python-module-sphinx-devel python-module-Pygments #BuildPreReq: python-module-BeautifulSoup4 python-module-webob #BuildPreReq: python-module-waitress %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires(pre): rpm-macros-sphinx # Automatically added by buildreq on Thu Jan 28 2016 (-bi) # optimized out: libgpg-error python-base python-devel python-module-PyStemmer python-module-Pygments python-module-babel python-module-cssselect python-module-genshi python-module-html5lib python-module-jinja2 python-module-jinja2-tests python-module-lxml python-module-markupsafe python-module-pytz python-module-setuptools python-module-six python-module-snowballstemmer python-module-sphinx python-module-sphinx_rtd_theme python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-unittest python-modules-wsgiref python-modules-xml python3 python3-base python3-module-Pygments python3-module-babel python3-module-cssselect python3-module-docutils python3-module-genshi python3-module-jinja2 python3-module-pytz python3-module-setuptools python3-module-snowballstemmer BuildRequires: python-module-BeautifulSoup4 python-module-alabaster python-module-docutils python-module-objects.inv python-module-waitress python-module-webob python3-module-html5lib python3-module-sphinx rpm-build-python3 time #BuildRequires: python3-devel python3-module-distribute #BuildPreReq: python3-module-sphinx python3-module-Pygments %endif %description This wraps any WSGI application and makes it easy to send test requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework. This is based on ``paste.fixture.TestApp``. %package pickles Summary: Pickles for WebTest Group: Development/Python %description pickles This wraps any WSGI application and makes it easy to send test requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework. This is based on ``paste.fixture.TestApp``. This package contains pickles for WebTest. %if_with python3 %package -n python3-module-%oname Summary: Helper to test WSGI applications (Python 3) Group: Development/Python3 %description -n python3-module-%oname This wraps any WSGI application and makes it easy to send test requests to that application, without starting up an HTTP server. This provides convenient full-stack testing of applications written with any WSGI-compatible framework. This is based on ``paste.fixture.TestApp``. %endif %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %prepare_sphinx . ln -s ../objects.inv docs/ %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %python_install %if_with python3 pushd ../python3 %python3_install popd %endif # for docs export PYTHONPATH=%buildroot%python_sitelibdir make -C docs pickle SPHINXBUILD=sphinx-build make -C docs html SPHINXBUILD=sphinx-build cp -fR docs/_build/pickle %buildroot%python_sitelibdir/%oname/ %files %doc docs/_build/html/* %python_sitelibdir/* %exclude %python_sitelibdir/*/pickle %files pickles %python_sitelibdir/*/pickle %if_with python3 %files -n python3-module-%oname %python3_sitelibdir/* %endif %changelog * Wed May 16 2018 Andrey Bychkov <mrdrew@altlinux.org> 2.0.19-alt1.dev0.git20150724.1.2 - (NMU) rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.0.19-alt1.dev0.git20150724.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> 2.0.19-alt1.dev0.git20150724.1 - NMU: Use buildreq for BR. * Sat Aug 29 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.19-alt1.dev0.git20150724 - New snapshot * Tue Mar 17 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.19-alt1.dev0.git20150208 - Version 2.0.19.dev0 * Wed Jul 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.16-alt1.dev0.git20140629 - Version 2.0.16.dev0 * Mon Dec 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.0.11-alt1.dev0.git20131122 - Version 2.0.11.dev0 * Sun Mar 03 2013 Aleksey Avdeev <solo@altlinux.ru> 2.0-alt1 - Version 2.0 * Tue May 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.4-alt1.hg20120506 - Version 1.3.4 - Added module for Python 3 * Mon Dec 12 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.3-alt1.hg20111208 - Version 1.3.3 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.2.3-alt2.hg20110422.1 - Rebuild with Python-2.7 * Tue May 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt2.hg20110422 - New snapshot * Fri Nov 19 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.3-alt2.hg20101112 - Version 1.2.3 * Wed Jul 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.1-alt2.hg20100723 - New snapshot (svn -> hg) * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.1-alt1.svn20090922.1 - Rebuilt with python 2.6 * Tue Sep 29 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.1-alt1.svn20090922 - Initial build for Sisyphus |