Package python-module-whoosh: 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 | %define oname whoosh %def_with python3 Name: python-module-%oname Version: 2.7.0 Release: alt1.hg20150805.1.1 Summary: Fast pure-Python indexing and search library Group: Development/Python License: BSD URL: https://bitbucket.org/mchaput/whoosh/wiki/Home # hg clone https://bitbucket.org/mchaput/whoosh Source: %oname-%version.tar Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> #BuildPreReq: python-module-setuptools-tests python-devel #BuildPreReq: python-module-sphinx-devel %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: python-base python-devel python-module-PyStemmer python-module-Pygments python-module-babel python-module-cssselect python-module-genshi python-module-jinja2 python-module-jinja2-tests python-module-markupsafe python-module-pluggy python-module-py python-module-pytest python-module-pytz python-module-setuptools python-module-six python-module-snowballstemmer python-module-sphinx python-module-sphinx_rtd_theme python-module-whoosh 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 python3 python3-base python3-module-pluggy python3-module-py python3-module-pytest python3-module-setuptools BuildRequires: python-module-alabaster python-module-docutils python-module-html5lib python-module-objects.inv python-module-setuptools-tests python-module-sphinx-pickles python3-module-setuptools-tests rpm-build-python3 time #BuildRequires: python3-devel python3-module-setuptools-tests %endif BuildArch: noarch %description Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. %if_with python3 %package -n python3-module-%oname Summary: Fast pure-Python3 indexing and search library Group: Development/Python3 %add_python3_req_skip google %description -n python3-module-%oname Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. %package -n python3-module-%oname-tests Summary: Tests for whoosh (Python 3) Group: Development/Python3 Requires: python3-module-%oname = %version-%release %py3_requires nose %description -n python3-module-%oname-tests Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. This package contains tests for whoosh. %endif %package tests Summary: Tests for whoosh Group: Development/Python Requires: %name = %version-%release %description tests Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. This package contains tests for whoosh. %package docs Summary: Documentation for whoosh Group: Development/Documentation %description docs Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. This package contains documentation for whoosh. %package pickles Summary: Pickles for whoosh Group: Development/Python %description pickles Whoosh is a fast, featureful full-text indexing and searching library implemented in pure Python. Programmers can use it to easily add search functionality to their applications and websites. Every part of how Whoosh works can be extended or replaced to meet your needs exactly. This package contains pickles for whoosh. %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %prepare_sphinx docs ln -s ../objects.inv docs/source/ %build %python_build_debug %if_with python3 pushd ../python3 %python3_build popd %endif mkdir docs/source/_static %generate_pickles docs/source docs/source %oname sphinx-build -E -a -b html -c docs/source -d doctrees docs/source html %install %python_install %if_with python3 pushd ../python3 %python3_install cp -fR src/whoosh/query src/whoosh/matching \ %buildroot%python3_sitelibdir/%oname/ popd %endif # pickles cp -fR pickle %buildroot%python_sitelibdir/%oname/ %files %doc *.txt %python_sitelibdir/* %exclude %python_sitelibdir/%oname/pickle %exclude %python_sitelibdir/%oname/util/testing.py* %files tests %doc tests %python_sitelibdir/%oname/util/testing.py* %files docs %doc html/* %files pickles %python_sitelibdir/%oname/pickle %if_with python3 %files -n python3-module-%oname %doc *.txt %python3_sitelibdir/* %exclude %python3_sitelibdir/%oname/util/testing.py* %files -n python3-module-%oname-tests %doc tests %python3_sitelibdir/%oname/util/testing.py* %endif %changelog * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 2.7.0-alt1.hg20150805.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.7.0-alt1.hg20150805.1 - NMU: Use buildreq for BR. * Sat Aug 08 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.7.0-alt1.hg20150805 - Version 2.7.0 * Wed Jul 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6.0-alt1.hg20140505 - New snapshot * Mon Dec 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.6.0-alt1.hg20131128 - Version 2.6.0 * Mon Feb 18 2013 Aleksey Avdeev <solo@altlinux.ru> 2.4.1-alt1 - Version 2.4.1 * Mon Apr 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3.2-alt1.hg20120406 - Version 2.3.2 - Added module for Python 3 * Sun Nov 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.3.1-alt1.hg20111114 - Initial build for Sisyphus |