Package python3-module-cheroot: 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 | %define modulename cheroot # there is no ipv6 support on our build system and cheroot tests do not support this configuration # ERROR: Could not find a version that satisfies the requirement pytest-cov==2.10.1 %def_disable check %def_without tests Name: python3-module-%modulename Version: 9.0.0 Release: alt1 Summary: Cheroot is the high-performance, pure-Python HTTP server used by CherryPy License: BSD Group: Development/Python URL: https://github.com/cherrypy/cheroot Source: %name-%version.tar Patch0: %name-%version-%release.patch BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools_scm BuildRequires: python3-devel python3-module-setuptools BuildRequires: python3-module-pytest BuildRequires: python3-module-pytest-testmon BuildRequires: python3-module-pytest-cov BuildRequires: python3-module-pytest-mock BuildRequires: python3-module-pytest-xdist BuildRequires: python3-module-pytest-sugar BuildRequires: python3-module-pytest-watch BuildRequires: python3-module-jaraco.functools BuildRequires: python3-module-trustme BuildRequires: python3-module-requests-unixsocket BuildRequires: python3-module-urllib3 BuildRequires: python3-module-OpenSSL %if_enabled check BuildRequires: python3-module-jaraco.text BuildRequires: python3-module-jaraco.context BuildRequires: python3-module-portend BuildRequires: python3-module-requests_toolbelt BuildRequires: python3-module-pytest-cov %endif BuildArch: noarch %description Cheroot is the high-performance, pure-Python HTTP server used by CherryPy. %package tests Summary: Tests for Cheroot Group: Development/Python Requires: %name = %EVR %description tests This package contains tests for Cheroot %prep %setup %patch0 -p1 %build export SETUPTOOLS_SCM_PRETEND_VERSION=%version %python3_build %install export SETUPTOOLS_SCM_PRETEND_VERSION=%version %python3_install %if_without tests rm -rf %python3_sitelibdir/%{modulename}/test rm -f %python3_sitelibdir/%{modulename}/testing.py %endif %check rm -f pyproject.toml export SETUPTOOLS_SCM_PRETEND_VERSION=%version export PIP_NO_INDEX=YES export TOXENV=py%{python_version_nodots python3} tox.py3 --sitepackages -v %files %_bindir/cheroot %python3_sitelibdir/*.egg-info %python3_sitelibdir/%{modulename}* %exclude %python3_sitelibdir/%{modulename}/test %exclude %python3_sitelibdir/%{modulename}/testing.py %if_with tests %files tests %python3_sitelibdir/%{modulename}/test %python3_sitelibdir/%{modulename}/testing.py %endif %changelog * Sun Nov 20 2022 Andrey Cherepanov <cas@altlinux.org> 9.0.0-alt1 - New version. - Disabled tests packaging. * Tue Jan 04 2022 Andrey Cherepanov <cas@altlinux.org> 8.6.0-alt1 - New version. * Tue Jul 13 2021 Andrey Cherepanov <cas@altlinux.org> 8.5.2-alt1 - New version. - Disable %%check for all architectures (ALT #40332). * Tue Dec 03 2019 Anton Farygin <rider@altlinux.ru> 8.2.1-alt1 - 8.2.1 * Fri Oct 04 2019 Anton Farygin <rider@altlinux.ru> 7.0.0-alt1 - removed python-2.7 support - added tests * Thu Sep 05 2019 Andrey Cherepanov <cas@altlinux.org> 6.5.8-alt1 - New version. * Wed Sep 04 2019 Andrey Cherepanov <cas@altlinux.org> 6.5.7-alt1 - New version. * Tue Aug 20 2019 Andrey Cherepanov <cas@altlinux.org> 6.5.6-alt1 - New version. * Tue Apr 30 2019 Andrey Cherepanov <cas@altlinux.org> 6.5.5-alt1 - New version. * Thu Jan 03 2019 Andrey Cherepanov <cas@altlinux.org> 6.5.4-alt1 - New version. * Fri Dec 28 2018 Andrey Cherepanov <cas@altlinux.org> 6.5.3-alt1 - New version. * Mon Sep 17 2018 Andrey Cherepanov <cas@altlinux.org> 6.5.2-alt1 - New version. * Thu Aug 23 2018 Andrey Cherepanov <cas@altlinux.org> 6.4.0-alt1 - New version. * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 6.3.3-alt1 - New version. * Mon Jun 18 2018 Andrey Cherepanov <cas@altlinux.org> 6.3.2-alt1 - New version. * Thu Jun 14 2018 Andrey Cherepanov <cas@altlinux.org> 6.3.1-alt2 - Require module instead of package. * Fri May 25 2018 Andrey Cherepanov <cas@altlinux.org> 6.3.1-alt1 - Initial build for Sisyphus |