Package python3-module-elasticsearch: 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 | %define _unpackaged_files_terminate_build 1 %define oname elasticsearch %def_disable check Name: python3-module-%oname Version: 5.1.0 Release: alt2 Summary: Python client for Elasticsearch License: Apache-2.0 Group: Development/Python3 Url: https://github.com/elastic/elasticsearch-py # https://github.com/elasticsearch/elasticsearch-py.git Source0: https://pypi.python.org/packages/2a/0a/fca7faa8155a1b6fcd3ce86a351640a2593b1ac8ee461f908a190b06e284/%{oname}-%{version}.tar.gz BuildArch: noarch BuildRequires(pre): rpm-build-python3 %py3_provides %oname %py3_requires json BuildRequires(pre): rpm-macros-sphinx3 python3-module-sphinx python3-module-sphinx_rtd_theme BuildRequires: python3-module-chardet python3-module-coverage python3-module-html5lib python3-module-nosexcover python3-module-pbr python3-module-pytest python3-module-unittest2 python3-module-urllib3 %description Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. %package tests Summary: Tests for %oname Group: Development/Python3 Requires: %name = %EVR %description tests Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. This package contains tests for %oname. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. This package contains pickles for %oname. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs Official low-level client for Elasticsearch. Its goal is to provide common ground for all Elasticsearch-related code in Python; because of this it tries to be opinion-free and very extendable. This package contains documentation for %oname. %prep %setup -n %{oname}-%{version} %prepare_sphinx3 . ln -s ../objects.inv docs/ %build %python3_build %install %python3_install export PYTHONPATH=$PWD %make SPHINXBUILD="sphinx-build-3" -C docs pickle %make SPHINXBUILD="sphinx-build-3" -C docs html cp -fR docs/_build/pickle %buildroot%python3_sitelibdir/%oname/ %check python3 setup.py test %files %doc AUTHORS *.rst *.md %python3_sitelibdir/* %exclude %python3_sitelibdir/*/pickle %exclude %python3_sitelibdir/*/*/test.* %exclude %python3_sitelibdir/*/*/*/test.* %files tests %python3_sitelibdir/*/*/test.* %python3_sitelibdir/*/*/*/test.* %files pickles %python3_sitelibdir/*/pickle %files docs %doc docs/_build/html/* %changelog * Tue Jul 13 2021 Grigory Ustinov <grenka@altlinux.org> 5.1.0-alt2 - Drop python2 support. * Wed Jan 11 2017 Igor Vlasenko <viy@altlinux.ru> 5.1.0-alt1 - automated PyPI update * Mon May 9 2016 Terechkov Evgenii <evg@altlinux.org> 2.3.0-alt1 - 2.3.0 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.5.0-alt1.dev.git20150226.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.5.0-alt1.dev.git20150226.1 - NMU: Use buildreq for BR. * Wed Mar 11 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.0-alt1.dev.git20150226 - New snapshot * Thu Feb 12 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.0-alt1.dev.git20150211 - Version 1.5.0-dev * Thu Jan 01 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt1.git20141231 - Version 1.3.0 * Thu Oct 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.0-alt2.git20141022 - Tuned requirements * Thu Oct 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.2.0-alt1.git20141022 - Initial build for Sisyphus |