Пакет python-module-scikits.statsmodels: 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 226 227 | %define mname scikits %define oname %mname.statsmodels %def_with python3 %def_disable check Name: python-module-%oname Epoch: 1 Version: 0.7.0 Release: alt4.git20150731.1 Summary: Statistical computations and models for use with SciPy License: BSD Group: Development/Python Url: https://pypi.python.org/pypi/statsmodels/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://github.com/statsmodels/statsmodels.git Source: %name-%version.tar #BuildPreReq: python-devel python-module-setuptools-tests #BuildPreReq: python-module-Cython libnumpy-devel #BuildPreReq: python-module-scipy python-module-pandas #BuildPreReq: python-module-patsy python-module-matplotlib #BuildPreReq: python-module-cvxopt python-module-nose #BuildPreReq: python-module-coverage python-module-zmq #BuildPreReq: python-module-sphinx-devel pandoc xvfb-run #BuildPreReq: python-module-matplotlib-sphinxext ipython %if_with python3 BuildRequires(pre): rpm-build-python3 #BuildPreReq: python3-devel python3-module-setuptools-tests #BuildPreReq: python3-module-Cython libnumpy-py3-devel #BuildPreReq: python3-module-scipy python3-module-pandas #BuildPreReq: python3-module-patsy python3-module-matplotlib #BuildPreReq: python3-module-cvxopt python3-module-nose #BuildPreReq: python3-module-coverage %endif %py_provides %oname %py_requires numpy scipy pandas patsy matplotlib cvxopt %py_requires statsmodels.stats.multitest %add_python_req_skip models BuildRequires(pre): rpm-macros-sphinx # Automatically added by buildreq on Fri Mar 25 2016 (-bi) # optimized out: ca-certificates elfutils fontconfig ipython ipython3 libnumpy-devel python-base python-devel python-module-Numeric python-module-Pillow python-module-PyStemmer python-module-Pygments python-module-Scientific python-module-apiclient python-module-apsw python-module-babel python-module-certifi python-module-cffi python-module-chardet python-module-cssselect python-module-cvxopt python-module-cycler python-module-dateutil python-module-decorator python-module-docutils python-module-ecdsa python-module-enum34 python-module-functools32 python-module-future python-module-gdata python-module-greenlet python-module-html5lib python-module-httplib2 python-module-ipykernel python-module-ipython_genutils python-module-jdcal python-module-jinja2 python-module-jinja2-tests python-module-jsonschema python-module-jupyter_client python-module-jupyter_core python-module-markupsafe python-module-matplotlib python-module-mpmath python-module-nbconvert python-module-nbformat python-module-nose python-module-notebook python-module-numexpr python-module-numexpr-tests python-module-numpy python-module-numpy-tests python-module-ordereddict python-module-pandas python-module-path python-module-patsy python-module-pexpect python-module-pickleshare python-module-psycopg2 python-module-ptyprocess python-module-pyasn1 python-module-pycares python-module-pycrypto python-module-pycurl python-module-pygobject3 python-module-pyparsing python-module-pytz python-module-requests python-module-scikits.statsmodels python-module-scipy python-module-serial python-module-setuptools python-module-simplegeneric python-module-simplejson python-module-six python-module-snowballstemmer python-module-sphinx python-module-sphinx_rtd_theme python-module-terminado python-module-tornado python-module-tornado_xstatic python-module-traitlets python-module-twisted-core python-module-urllib3 python-module-xlrd python-module-xlsxwriter python-module-xlwt-future python-module-yaml python-module-zmq python-modules python-modules-compiler python-modules-ctypes python-modules-curses python-modules-email python-modules-encodings python-modules-json python-modules-logging python-modules-multiprocessing python-modules-sqlite3 python-modules-tkinter python-modules-unittest python-modules-wsgiref python-modules-xml python-sphinx-objects.inv python3 python3-base python3-dev python3-module-apiclient python3-module-apsw python3-module-cssselect python3-module-cvxopt python3-module-cycler python3-module-dateutil python3-module-docutils python3-module-ecdsa python3-module-enum34 python3-module-greenlet python3-module-html5lib python3-module-httplib2 python3-module-ipykernel python3-module-ipython_genutils python3-module-jdcal python3-module-jupyter_client python3-module-jupyter_core python3-module-matplotlib python3-module-mpmath python3-module-nbconvert python3-module-nbformat python3-module-notebook python3-module-numexpr python3-module-numpy python3-module-numpy-tests python3-module-pandas python3-module-patsy python3-module-pexpect python3-module-psycopg2 python3-module-ptyprocess python3-module-pycares python3-module-pycparser python3-module-pycrypto python3-module-pygobject3 python3-module-pyparsing python3-module-pytz python3-module-scipy python3-module-setuptools python3-module-six python3-module-snowballstemmer python3-module-terminado python3-module-tornado_xstatic python3-module-traitlets python3-module-urllib3 python3-module-xlrd python3-module-xlsxwriter python3-module-xlwt-future python3-module-yaml python3-module-zmq python3-module-zope rpm-build-python3 #BuildRequires: fonts-bitmap-misc libnumpy-py3-devel python-module-Cython python-module-alabaster python-module-ipyparallel python-module-matplotlib-sphinxext python-module-numpy-testing python-module-pandas-tests python3-module-Cython python3-module-ipyparallel python3-module-numexpr-tests python3-module-numpy-testing python3-module-pandas-tests time BuildPreReq: fonts-bitmap-misc libnumpy-py3-devel python-module-Cython python-module-alabaster python-module-ipyparallel python-module-matplotlib-sphinxext python-module-numpy-testing python-module-pandas-tests python3-module-Cython python3-module-ipyparallel python3-module-numexpr-tests python3-module-numpy-testing time %description Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. %package tests Summary: Tests for %oname Group: Development/Python Requires: %name = %EVR %add_python_req_skip rpy %description tests Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. This package contains tests for %oname. %package -n python3-module-%oname Summary: Statistical computations and models for use with SciPy Group: Development/Python3 %py3_provides %oname %py3_requires numpy scipy pandas patsy matplotlib cvxopt %py3_requires statsmodels.stats.multitest %add_python3_req_skip models %description -n python3-module-%oname Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. %package -n python3-module-%oname-tests Summary: Tests for %oname Group: Development/Python3 Requires: python3-module-%oname = %EVR %add_python3_req_skip rpy %description -n python3-module-%oname-tests Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. This package contains tests for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python %add_python_req_skip load_macrodata var_plots %description pickles Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. This package contains pickles for %oname. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs Statsmodels is a Python package that provides a complement to scipy for statistical computations including descriptive statistics and estimation and inference for statistical models. This package contains documentation for %oname. %prep %setup %if_with python3 cp -fR . ../python3 %endif %prepare_sphinx docs ln -s ../objects.inv docs/source/ %build %add_optflags -fno-strict-aliasing %python_build_debug %if_with python3 pushd ../python3 %python3_build_debug popd %endif %install %python_install for i in $(find %buildroot%python_sitelibdir -name '*test*') \ $(find %buildroot%python_sitelibdir -name '*xamp*') do echo $i |sed 's|%buildroot\(.*\)|%%exclude \1\*|' >>%oname.notests echo $i |sed 's|%buildroot\(.*\)|\1\*|' >>%oname.tests done %if_with python3 pushd ../python3 %python3_install for i in $(find %buildroot%python3_sitelibdir -name '*test*') \ $(find %buildroot%python3_sitelibdir -name '*xamp*') do echo $i |sed 's|%buildroot\(.*\)|%%exclude \1\*|' >>%oname.notests echo $i |sed 's|%buildroot\(.*\)|\1\*|' >>%oname.tests done popd %endif python setup.py build_ext -i export PYTHONPATH=$PWD %make -C docs pickle %make -C docs html install -d %buildroot%python_sitelibdir/%oname cp -fR docs/build/pickle %buildroot%python_sitelibdir/%oname/ %check xvfb-run python setup.py test %if_with python3 pushd ../python3 xvfb-run python3 setup.py test popd %endif %files -f %oname.notests %doc *.md *.rst README_l1.txt %python_sitelibdir/* %exclude %python_sitelibdir/*/pickle %files tests -f %oname.tests %files pickles %python_sitelibdir/*/pickle %files docs %doc examples docs/*.pdf docs/build/html %if_with python3 %files -n python3-module-%oname -f ../python3/%oname.notests %doc *.md *.rst README_l1.txt %python3_sitelibdir/* %exclude %python3_sitelibdir/*/*/*/*/example* %exclude %python3_sitelibdir/*/*/*/*/test* %exclude %python3_sitelibdir/*/*/*/test* %files -n python3-module-%oname-tests -f ../python3/%oname.tests %python3_sitelibdir/*/*/*/*/example* %python3_sitelibdir/*/*/*/*/test* %python3_sitelibdir/*/*/*/test* %endif %changelog * Wed Mar 30 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:0.7.0-alt4.git20150731.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Wed Mar 30 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:0.7.0-alt4.git20150731 - rm inessential BR: python3-module-pandas{,-tests} (incorrectly detected by buildreq). * Fri Mar 25 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:0.7.0-alt3.git20150731 - BRs fixed with buildreq again (cleared off self-dependence and other unneeded pkgs with python-module-setuptools-18.1-alt3, python-2.7.11-alt2, and python-module-Cython-0.23.4-alt3). * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1:0.7.0-alt2.git20150731.1 - NMU: Use buildreq for BR. * Sat Aug 22 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:0.7.0-alt2.git20150731 - New snapshot * Tue Apr 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:0.7.0-alt2.git20150323 - New snapshot * Sun Mar 01 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:0.7.0-alt2.git20150216 - Added requires statsmodels.stats.multitest * Sun Mar 01 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:0.7.0-alt1.git20150216 - Initial build for Sisyphus |