Пакет python3-module-cherrypy: 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 210 211 | %define modulename cherrypy %def_with docs Name: python3-module-%modulename Version: 18.6.0 Release: alt1 Summary: CherryPy is a pythonic, object-oriented web development framework License: BSD-3-Clause Group: Development/Python3 URL: http://www.cherrypy.org BuildArch: noarch # git clone https://github.com/cherrypy/cherrypy Source: %modulename-%version.tar Patch: disable-codecov_button.patch BuildRequires(pre): rpm-build-python3 %if_with docs BuildRequires(pre): rpm-macros-sphinx3 BuildRequires: python3-module-setuptools BuildRequires: python3-module-jaraco.collections BuildRequires: python3-module-zc BuildRequires: python3-module-zc.lockfile BuildRequires: python3-module-portend BuildRequires: python3-module-pytest BuildRequires: python3-module-cheroot-tests %endif BuildRequires: python3-module-setuptools_scm BuildRequires: python3-module-sphinx BuildRequires: python3-module-rst.linker BuildRequires: python3-module-jaraco.packaging BuildRequires: python3-module-cheroot BuildRequires: time %add_python3_req_skip win32api %add_python3_req_skip win32con %add_python3_req_skip win32event %add_python3_req_skip win32service %add_python3_req_skip win32serviceutil %add_python3_req_skip sqlobject %description Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it. %package tests Summary: Tests for CherryPy Group: Development/Python3 Requires: %name = %version-%release %description tests Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it. This package contains tests for CherryPy. %package pickles Summary: Pickles for CherryPy Group: Development/Python3 %description pickles Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it. This package contains pickles for CherryPy. %package docs Summary: Documentation for CherryPy Group: Development/Documentation BuildArch: noarch %description docs Your CherryPy powered web applications are in fact stand-alone Python applications embedding their own multi-threaded web server. You can deploy them anywhere you can run Python applications. Apache is not required, but it's possible to run a CherryPy application behind it. This package contains documentation for CherryPy. %prep %setup -n %modulename-%version %patch -p1 sed -i "s/f'/'/;s/f\"/\"/" docs/conf.py %if_with docs %prepare_sphinx3 . ln -s ../objects.inv docs/ %endif %build export SETUPTOOLS_SCM_PRETEND_VERSION=%version subst 's|%_bindir/python|%_bindir/python3|' \ cherrypy/process/servers.py cherrypy/test/sessiondemo.py %python3_build %install export SETUPTOOLS_SCM_PRETEND_VERSION=%version %python3_install mv %buildroot%_bindir/cherryd %buildroot%_bindir/cherryd3 %if_with docs export PYTHONPATH=$PWD pushd docs python3 /usr/bin/sphinx-build-3 -b html -d build/doctrees . build/html python3 /usr/bin/sphinx-build-3 -b pickle -d build/doctrees . build/pickle popd %endif %if_with docs cp -fR docs/build/pickle %buildroot%python3_sitelibdir/%modulename/ %endif %files %doc cherrypy/tutorial %_bindir/cherryd3 %python3_sitelibdir/* %exclude %python3_sitelibdir/*/test %if_with docs %exclude %python3_sitelibdir/%modulename/pickle %files pickles %python3_sitelibdir/%modulename/pickle %endif %files tests %python3_sitelibdir/*/test %if_with docs %files docs %doc docs/build/html/* %endif %changelog * Sat Apr 18 2020 Andrey Cherepanov <cas@altlinux.org> 18.6.0-alt1 - New version. * Fri Jan 24 2020 Grigory Ustinov <grenka@altlinux.org> 18.5.0-alt2 - Got rid of python2 support (Closes: #37898). - Build with docs. - Fix license. * Wed Jan 22 2020 Andrey Cherepanov <cas@altlinux.org> 18.5.0-alt1 - New version (ALT #37898). - Build without docs. * Wed Apr 24 2019 Andrey Cherepanov <cas@altlinux.org> 14.2.0-alt2 - Build without python2 support. * Sat May 26 2018 Andrey Cherepanov <cas@altlinux.org> 14.2.0-alt1 - New version. * Wed May 16 2018 Andrey Bychkov <mrdrew@altlinux.org> 3.5.1-alt1.hg20140627.1.2 - (NMU) rebuild with python3.6 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 3.5.1-alt1.hg20140627.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> 3.5.1-alt1.hg20140627.1 - NMU: Use buildreq for BR. * Sun Jul 13 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.1-alt1.hg20140627 - Version 3.5.1 * Wed Dec 04 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.4-alt2.hg20131113 - Moved tests into separate package * Tue Dec 03 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.4-alt1.hg20131113 - New snapshot * Mon Apr 15 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.4-alt1.hg20130409 - Version 3.2.4 * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 3.2.2-alt1.hg20120408.1 - Rebuild with Python-3.3 * Mon Apr 16 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.2.2-alt1.hg20120408 - Version 3.2.2 - Added module for Python 3 * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.1.2-alt1.1 - Rebuild with Python-2.7 * Wed Oct 06 2010 Vitaly Lipatov <lav@altlinux.ru> 3.1.2-alt1 - update to svn tag 3.1.2 - pack cherryd script * Thu Nov 19 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.1.1-alt2 - Rebuilt with python 2.6 * Mon Apr 06 2009 Vladimir V. Kamarzin <vvk@altlinux.org> 3.1.1-alt1 - 3.1.1 (Closes: #15276) - Add conflict with python-module-cherrypy2 * Sat Apr 04 2009 Vladimir V. Kamarzin <vvk@altlinux.org> 2.3.0-alt1 - 2.3.0 * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 2.1.0-alt1.1 - Rebuilt with python-2.5. * Sun Oct 30 2005 Maxim Bodyansky <maximbo@altlinux.ru> 2.1.0-alt1 - Initial build for Sisyphus |