Пакет python3-module-notebook: 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 | %define _unpackaged_files_terminate_build 1 %define oname notebook %def_with check %def_without doc Name: python3-module-%oname Version: 7.2.1 Release: alt1 Summary: Jupyter Interactive Notebook License: BSD-3-Clause Group: Development/Python3 Url: https://pypi.org/project/notebook BuildArch: noarch Source: %name-%version.tar Requires: python3-module-nest-asyncio BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-hatchling BuildRequires: python3-module-jupyterlab BuildRequires: python3-module-hatch-jupyter-builder %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-pytest-jupyter BuildRequires: python3-module-requests BuildRequires: python3-module-pytest-timeout BuildRequires: python3-module-pytest-console-scripts BuildRequires: python3-module-ipykernel BuildRequires: python3-module-jupyter_server %endif %if_with doc BuildRequires: python3-module-sphinx-devel BuildRequires: python3(nbsphinx) python3-module-sphinx_rtd_theme %endif Conflicts: python-module-%oname %description The Jupyter HTML notebook is a web-based notebook environment for interactive computing. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles The Jupyter HTML notebook is a web-based notebook environment for interactive computing. This package contains pickles for %oname. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs The Jupyter HTML notebook is a web-based notebook environment for interactive computing. This package contains documentation for %oname. %prep %setup %if_with doc %prepare_sphinx3 docs ln -s ../objects.inv ../python3/docs/source/ %endif %build %pyproject_build %install %pyproject_install %if_with doc export PYTHONPATH=$PWD %make -C docs pickle SPHINXBUILD=py3_sphinx-build %make -C docs html SPHINXBUILD=py3_sphinx-build cp -fR docs/build/pickle %buildroot%python3_sitelibdir/%oname/ %endif install -d -m 755 %buildroot%_sysconfdir/jupyter/jupyter_server_config.d mv %buildroot/usr/etc/jupyter/jupyter_server_config.d/notebook.json \ %buildroot%_sysconfdir/jupyter/jupyter_server_config.d %check %pyproject_run_pytest -v -W ignore::DeprecationWarning %files %doc *.md %_bindir/jupyter-notebook %_desktopdir/jupyter-notebook.desktop %_iconsdir/hicolor/scalable/apps/notebook.svg %_datadir/jupyter/* %dir %_sysconfdir/jupyter/ %config(noreplace) %_sysconfdir/jupyter/* %python3_sitelibdir/%oname/ %python3_sitelibdir/%{pyproject_distinfo %oname} %if_with doc %exclude %python3_sitelibdir/%oname/pickle %endif %if_with doc %files pickles %python3_sitelibdir/%oname/pickle/ %files docs %doc ../python3/docs/build/html/* %endif %changelog * Fri Jun 07 2024 Anton Vyatkin <toni@altlinux.org> 7.2.1-alt1 - new version 7.2.1 * Fri May 17 2024 Anton Vyatkin <toni@altlinux.org> 7.2.0-alt1 - new version 7.2.0 * Thu Apr 18 2024 Anton Vyatkin <toni@altlinux.org> 7.1.3-alt1 - new version 7.1.3 * Fri Mar 15 2024 Anton Vyatkin <toni@altlinux.org> 7.1.2-alt1 - new version 7.1.2 * Tue Feb 27 2024 Anton Vyatkin <toni@altlinux.org> 7.1.1-alt1 - new version 7.1.1 * Wed Feb 14 2024 Anton Vyatkin <toni@altlinux.org> 7.1.0-alt1 - new version 7.1.0 * Mon Feb 12 2024 Anton Vyatkin <toni@altlinux.org> 7.0.8-alt1 - new version 7.0.8 * Sun Jan 21 2024 Anton Vyatkin <toni@altlinux.org> 7.0.7-alt1 - new version 7.0.7 * Wed Oct 18 2023 Anton Vyatkin <toni@altlinux.org> 7.0.6-alt1 - new version 7.0.6 * Thu Aug 17 2023 Daniel Zagaynov <kotopesutility@altlinux.org> 6.5.4-alt2.1 - NMU: ignored unmet dependencies * Fri Jun 30 2023 Anton Vyatkin <toni@altlinux.org> 6.5.4-alt2 - Add missing requires. * Tue Jun 13 2023 Anton Vyatkin <toni@altlinux.org> 6.5.4-alt1 - New version 6.5.4 * Tue Apr 18 2023 Anton Vyatkin <toni@altlinux.org> 6.4.12-alt2 - Fix BuildRequires * Mon Jul 18 2022 Vitaly Lipatov <lav@altlinux.ru> 6.4.12-alt1 - new version 6.4.12 (with rpmrb script) * Mon Apr 04 2022 Vitaly Lipatov <lav@altlinux.ru> 6.4.8-alt1 - new version 6.4.8 (with rpmrb script) * Fri Oct 08 2021 Aleksei Nikiforov <darktemplar@altlinux.org> 6.4.4-alt1 - Updated to upstream version 6.4.4. * Sun Aug 15 2021 Vitaly Lipatov <lav@altlinux.ru> 6.4.0-alt1 - new version 6.4.0 (with rpmrb script) * Wed Oct 21 2020 Vitaly Lipatov <lav@altlinux.ru> 6.1.4-alt1 - separate build python3 module, cleanup spec - new version 6.1.4 (with rpmrb script) - switch to build from tarball * Thu Jan 31 2019 Stanislav Levin <slev@altlinux.org> 5.2.2-alt4 - Applied upstream patches for Tornado5 support (closes: #35982, #35983). * Fri May 11 2018 Andrey Bychkov <mrdrew@altlinux.org> 5.2.2-alt3 - rebuild with all requires * Fri May 11 2018 Andrey Bychkov <mrdrew@altlinux.org> 5.2.2-alt2.2 - off build requires for nmu * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 5.2.2-alt2.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Mon Jan 08 2018 Michael Shigorin <mike@altlinux.org> 5.2.2-alt2 - Avoid BR: pandoc when --without doc (e2k: no ghc so far) - Move %%check BRs under corresponding knob as well - Spec tags prettified a bit * Wed Nov 29 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 5.2.2-alt1 - Updated to upstream version 5.2.2. * Fri Jun 02 2017 Michael Shigorin <mike@altlinux.org> 4.0.4-alt3.1 - BOOTSTRAP: fixed build --without doc + renamed the docs knob for consistency * Mon Mar 27 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 4.0.4-alt3 - (NMU) Fixed build * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.0.4-alt2.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Sun Aug 23 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.4-alt2 - Enabled check - Added documentation * Sat Aug 22 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.4-alt1 - Initial build for Sisyphus |