Package python3-module-PasteScript: 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 | %define _unpackaged_files_terminate_build 1 %define oname PasteScript %def_without bootstrap Name: python3-module-%oname Epoch: 1 Version: 2.0.2 Release: alt2 Summary: A pluggable command-line frontend License: MIT/X11 Group: Development/Python3 Url: https://pypi.org/project/PasteScript/ BuildArch: noarch Source: %oname-%version.tar Patch1: %oname-%version-alt-deps.patch %py3_provides %oname %if_without bootstrap BuildRequires: python3-module-PasteDeploy BuildRequires: python3-module-paste BuildRequires: python3(Cheetah) %endif BuildRequires(pre): rpm-build-python3 BuildRequires: python3-module-sphinx python3-module-Pygments %add_python3_req_skip new %if_with bootstrap %add_python3_req_skip paste.deploy paste.deploy.converters paste.translogger %add_python3_req_skip paste.util paste.util.template paste.wsgilib %endif %if_without bootstrap %py3_requires Cheetah %endif %description A pluggable command-line frontend, including commands to setup package file layouts. %prep %setup -n %oname-%version %patch1 -p2 %build export PYTHONPATH=$PWD sed -i 's|%_bindir/env python|%_bindir/env python3|' \ tests/test_logging_config.py scripts/paster sed -i 's|\(sphinx-build\)|\1-3|' regen-docs %python3_build ./regen-docs %install %python3_install mv %buildroot%_bindir/paster %buildroot%_bindir/paster3 %files %doc docs/_build/* %python3_sitelibdir/paste/script %python3_sitelibdir/%oname-* %_bindir/paster3 %changelog * Tue May 25 2021 Grigory Ustinov <grenka@altlinux.org> 1:2.0.2-alt2 - Drop python2 support. * Thu Aug 09 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 1:2.0.2-alt1 - Updated to upstream version 2.0.2. * Mon May 28 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:1.7.5-alt4.2 - fix requires * Thu May 24 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:1.7.5-alt4.1 - rebuild with all requires * Wed May 16 2018 Andrey Bychkov <mrdrew@altlinux.org> 1:1.7.5-alt4 - rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:1.7.5-alt3.hg20120208.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Mon Dec 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.5-alt3.hg20120208 - Avoid check version of Paste when build another packages * Mon Apr 15 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.5-alt2.hg20120208 - Use 'find... -exec...' instead of 'for ... $(find...' * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 1:1.7.5-alt1.hg20120208.1 - Rebuild with Python-3.3 * Fri May 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.5-alt1.hg20120208 - New snapshot - Added module for Python 3 * Thu Dec 08 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.5-alt1.hg20111107 - Version 1.7.5 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1:1.7.4-alt1.hg20110427.1.1 - Rebuild with Python-2.7 * Sun Jun 26 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.4-alt1.hg20110427.1 - Added %%py_provides PasteScript * Tue May 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.4-alt1.hg20110427 - New snapshot * Wed Nov 24 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:1.7.4-alt1.hg20101117 - New snapshot - Change upstream repository from svn to hg * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.4-alt1.svn20090922.2 - Rebuilt with python 2.6 * Tue Sep 29 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.4-alt1.svn20090922.1 - Version 1.7.4 * Sun Apr 05 2009 Denis Klimov <zver@altlinux.org> 1.7.3-alt1 - Initial build for ALT Linux |