Пакет python3-module-persistent: 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 | %define _unpackaged_files_terminate_build 1 %define oname persistent %def_with check Name: python3-module-%oname Version: 4.5.1 Release: alt3 Summary: Translucent persistent objects License: ZPL-2.1 Group: Development/Python3 Url: http://www.zope.org/Products/ZODB #Git: https://github.com/zopefoundation/persistent.git Source: %name-%version.tar BuildRequires(pre): rpm-macros-sphinx3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-alabaster BuildRequires: python3-module-docutils BuildRequires: python3-module-html5lib BuildRequires: python3-module-objects.inv BuildRequires: python3-module-repoze.sphinx.autointerface BuildRequires: python3-dev %if_with check BuildRequires: python3-module-nose BuildRequires: python3-module-setuptools BuildRequires: python3-module-zope BuildRequires: python3-module-tox BuildRequires: python3-module-virtualenv BuildRequires: python3-module-zope.testrunner BuildRequires: python3-module-manuel BuildRequires: python3-module-manuel-tests %endif %py3_provides persistent.TimeStamp %description This package contains a generic persistence implementation for Python. It forms the core protocol for making objects interact "transparently" with a database such as the ZODB. %package docs Summary: Documentation for translucent persistent objects Group: Development/Documentation BuildArch: noarch %description docs This package contains documentation for persistence implementation for Python. It forms the core protocol for making objects interact "transparently" with a database such as the ZODB. %package tests Summary: Tests for translucent persistent objects Group: Development/Python3 Requires: %name = %EVR %description tests This package contains a generic tests persistence implementation for Python. It forms the core protocol for making objects interact "transparently" with a database such as the ZODB. %prep %setup sed -i 's|sphinx-build|py3_sphinx-build|' docs/Makefile %prepare_sphinx3 . ln -s ../objects.inv3 docs/ %build %add_optflags -fno-strict-aliasing %python3_build %install %python3_install install -p -m644 persistent/_compat.h \ %buildroot%_includedir/python%_python3_version%_python3_abiflags/ export PYTHONPATH=%buildroot%python3_sitelibdir %make -C docs html %check export PIP_INDEX_URL=http://host.invalid./ export PYTHONPATH=%python3_sitelibdir:%python3_sitelibdir_noarch sed -i 's|zope-testrunner|zope-testrunner3|g' tox.ini sed -i '/\[testenv\]$/a whitelist_externals =\ \/bin\/cp\ \/bin\/sed\ setenv =\ py%{python_version_nodots python3}: _PYTEST_BIN=%_bindir\/zope-testrunner3\ commands_pre =\ \/bin\/cp {env:_PYTEST_BIN:} \{envbindir\}\/zope-testrunner3\ \/bin\/sed -i \x271c #!\{envpython\}\x27 \{envbindir\}\/zope-testrunner3' tox.ini TOX_TESTENV_PASSENV='PYTHONPATH' tox.py3 -e py%{python_version_nodots python3} -v %files %doc *.txt %_includedir/python%_python3_version%_python3_abiflags %python3_sitelibdir/%oname/ %exclude %python3_sitelibdir/%oname/test* %python3_sitelibdir/*.egg-info %files docs %doc docs/_build/html/* %files tests %python3_sitelibdir/%oname/test* %changelog * Wed Mar 18 2020 Grigory Ustinov <grenka@altlinux.org> 4.5.1-alt3 - Build with check. * Sun Jan 19 2020 Grigory Ustinov <grenka@altlinux.org> 4.5.1-alt2 - Bootstrap for python3.8. * Tue Jan 14 2020 Nikolai Kostrigin <nickel@altlinux.org> 4.5.1-alt1 - NMU: 4.2.4.2 -> 4.5.1 - Remove python2 module build - Rearrange unittests execution - Fix license * Sun Oct 14 2018 Igor Vlasenko <viy@altlinux.ru> 4.2.4.2-alt1.1.1.qa1 - NMU: applied repocop patch * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 4.2.4.2-alt1.1.1 - (NMU) Rebuilt with python-3.6.4. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 4.2.4.2-alt1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Tue Oct 17 2017 Aleksei Nikiforov <darktemplar@altlinux.org> 4.2.4.2-alt1 - Updated to upstream version 4.2.4.2. * Thu Mar 17 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.1.1-alt2.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> 4.1.1-alt2.1 - NMU: Use buildreq for BR. * Fri Aug 28 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.1-alt2 - Really version 4.1.1 * Wed Aug 26 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.1-alt1 - Version 4.1.1 * Thu Jul 17 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.8-alt2 - Avoid conflict with ZODB3 * Wed Jul 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.8-alt1 - Version 4.0.8 * Thu Nov 28 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0.6-alt1.1 - Fixed build * Wed Mar 13 2013 Aleksey Avdeev <solo@altlinux.ru> 4.0.6-alt1 - Initial build for ALT Linux Sisyphus |