Package python3-module-mocket: 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 | %define oname mocket %def_with check Name: python3-module-%oname Version: 3.12.5 Release: alt1 Summary: Python socket mock framework License: BSD-3-Clause Group: Development/Python3 URL: https://pypi.org/project/mocket VCS: https://github.com/mindflayer/python-mocket Packager: Grigory Ustinov <grenka@altlinux.org> BuildRequires(pre): rpm-build-python3 BuildRequires(pre): python3-module-hatchling %if_with check BuildRequires: python3-module-pytest BuildRequires: python3-module-pytest-cov BuildRequires: python3-module-urllib3 BuildRequires: python3-module-decorator BuildRequires: python3-module-http-parser BuildRequires: python3-module-pook BuildRequires: python3-module-requests BuildRequires: python3-module-aiohttp BuildRequires: python3-module-sure BuildRequires: python3-module-redis-py BuildRequires: python3-module-httpx BuildRequires: python3-module-fastapi BuildRequires: python3-module-httptools BuildRequires: python3-module-psutil %endif BuildArch: noarch Source: %name-%version.tar %description Socket Mock Framework - for all kinds of socket animals, web-clients included, with gevent/asyncio/SSL support. %prep %setup %build %pyproject_build %install %pyproject_install %check export PYTHONPATH=%buildroot%python3_sitelibdir export SKIP_TRUE_HTTP=1 export LANG=en_US.UTF-8 # TrueRedisTestCase requires a running Redis server # other checks trying to record a real request and response py.test-3 -k "not test_file_object and \ not test_truesendall_with_dump_from_recording and \ not test_asyncio_record_replay and \ not TrueRedisTestCase" %files %python3_sitelibdir/%oname %python3_sitelibdir/%oname-%version.dist-info %doc LICENSE *.rst %changelog * Mon Apr 15 2024 Grigory Ustinov <grenka@altlinux.org> 3.12.5-alt1 - Automatically updated to 3.12.5. * Tue Feb 27 2024 Grigory Ustinov <grenka@altlinux.org> 3.12.4-alt1 - Automatically updated to 3.12.4. * Tue Jan 23 2024 Grigory Ustinov <grenka@altlinux.org> 3.12.3-alt1 - Automatically updated to 3.12.3. * Mon Jan 01 2024 Grigory Ustinov <grenka@altlinux.org> 3.12.2-alt1 - Automatically updated to 3.12.2. * Mon Oct 30 2023 Grigory Ustinov <grenka@altlinux.org> 3.12.0-alt1 - Automatically updated to 3.12.0. * Mon May 15 2023 Grigory Ustinov <grenka@altlinux.org> 3.11.1-alt1 - Automatically updated to 3.11.1. * Mon Feb 20 2023 Grigory Ustinov <grenka@altlinux.org> 3.11.0-alt1 - Automatically updated to 3.11.0. * Sun Dec 04 2022 Grigory Ustinov <grenka@altlinux.org> 3.10.9-alt1 - Automatically updated to 3.10.9. * Mon Sep 12 2022 Grigory Ustinov <grenka@altlinux.org> 3.10.8-alt1 - Automatically updated to 3.10.8. * Wed Aug 17 2022 Grigory Ustinov <grenka@altlinux.org> 3.10.7-alt1 - Automatically updated to 3.10.7. * Fri Jun 24 2022 Grigory Ustinov <grenka@altlinux.org> 3.10.6-alt1 - Initial build for Sisyphus. |