Package python3-module-wrapt: 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 | %define oname wrapt %def_with check Name: python3-module-%oname Version: 1.14.1 Release: alt1 Summary: A Python module for decorators, wrappers and monkey patching License: BSD Group: Development/Python3 Url: https://pypi.python.org/pypi/wrapt # https://github.com/GrahamDumpleton/wrapt Source: %name-%version.tar BuildRequires(pre): rpm-build-python3 rpm-macros-sphinx3 BuildRequires: python3-devel python3-module-pytest BuildRequires: python3-module-sphinx BuildRequires: python3-module-sphinx_rtd_theme %py3_provides %oname %description The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions. %package pickles Summary: Pickles for %oname Group: Development/Python3 %description pickles The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions. This package contains pickles for %oname. %package docs Summary: Documentation for %oname Group: Development/Documentation BuildArch: noarch %description docs The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions. This package contains documentation for %oname. %prep %setup %prepare_sphinx3 . ln -s ../objects.inv docs/ %build %add_optflags -fno-strict-aliasing %python3_build_debug %install %python3_install %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 export PYTHONPATH=%buildroot%python3_sitelibdir py.test3 %files %doc README.rst %python3_sitelibdir/%oname %python3_sitelibdir/*.egg-info %exclude %python3_sitelibdir/*/pickle %files pickles %python3_sitelibdir/*/pickle %files docs %doc docs/_build/html blog %changelog * Thu May 12 2022 Grigory Ustinov <grenka@altlinux.org> 1.14.1-alt1 - Automatically updated to 1.14.1. * Tue Mar 15 2022 Grigory Ustinov <grenka@altlinux.org> 1.14.0-alt1 - Automatically updated to 1.14.0. * Tue Feb 08 2022 Grigory Ustinov <grenka@altlinux.org> 1.13.3-alt1 - Build new version. - Enable check. * Mon Feb 08 2021 Grigory Ustinov <grenka@altlinux.org> 1.12.1-alt2 - Disable check for python3.9. * Sat Aug 01 2020 Grigory Ustinov <grenka@altlinux.org> 1.12.1-alt1 - Build new version. - Drop specsubst scheme. - Drop python2 support. * Wed Jun 19 2019 Grigory Ustinov <grenka@altlinux.org> 1.11.2-alt1 - Build new version. * Sun Jan 20 2019 Grigory Ustinov <grenka@altlinux.org> 1.11.1-alt1 - Build new version. * Fri Jan 11 2019 Grigory Ustinov <grenka@altlinux.org> 1.11.0-alt1 - Build new version. * Thu May 10 2018 Grigory Ustinov <grenka@altlinux.org> 1.10.11-alt2 - Fix provides for docs part. * Thu Apr 26 2018 Grigory Ustinov <grenka@altlinux.org> 1.10.11-alt1 - Build new version. - Tranfer package to subst-packaging system. * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1.9.0-alt2.git20140822.1.1.1.1 - (NMU) Rebuilt with python-3.6.4. * Tue Jul 11 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 1.9.0-alt2.git20140822.1.1.1 - Fixed build spec * Mon May 23 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.9.0-alt1.git20140822.1.1.1 - BR: sphinx_rtd_theme (the theme is optional since sphinx-1.4.1). * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.9.0-alt1.git20140822.1.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Jan 28 2016 Mikhail Efremov <sem@altlinux.org> 1.9.0-alt1.git20140822.1 - NMU: Use buildreq for BR. * Sat Nov 08 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.9.0-alt1.git20140822 - Initial build for Sisyphus |