Package python3-module-poetry: 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 | %def_disable snapshot %define _unpackaged_files_terminate_build 1 %define pypi_name poetry %def_disable check Name: python3-module-%pypi_name Version: 1.8.3 Release: alt1 Summary: Poetry -- Python build system License: MIT Group: Development/Python3 Url: https://python-poetry.org/ %if_disabled snapshot Source: https://github.com/python-poetry/poetry/archive/%version/%pypi_name-%version.tar.gz %else Vcs: https://github.com/python-poetry/poetry.git Source: %pypi_name-%version.tar %endif BuildArch: noarch %define core_ver 1.9.0 %define dulwich_ver 0.21.2 Requires: python3-module-poetry-core >= %core_ver Requires: python3-module-dulwich >= %dulwich_ver Provides: %pypi_name = %EVR Provides: /usr/bin/%pypi_name BuildRequires(pre): rpm-build-python3 BuildRequires: python3(wheel) python3(poetry-core) %{?_enable_check:BuildRequires: python3(pytest) BuildRequires: python3(pytest_mock) BuildRequires: python3(pytest_cov) BuildRequires: python3(tox) BuildRequires: python3(tox_console_scripts) BuildRequires: python3(pep517) BuildRequires: python3(keyring) BuildRequires: python3-module-pkginfo > 1.9.4 BuildRequires: python3-module-poetry-core >= %core_ver BuildRequires: python3-module-dulwich >= %dulwich_ver BuildRequires: python3(%{pypi_name}_plugin_export)} %description poetry is a tool to handle dependency installation as well as building and packaging of Python packages. It only needs one file to do all of that: the new, standardized pyproject.toml. %prep %setup -n %pypi_name-%version %build %pyproject_build %install %pyproject_install %check %tox_check %files %_bindir/%pypi_name %python3_sitelibdir/%pypi_name/* %python3_sitelibdir/%{pyproject_distinfo %pypi_name}/ %doc README.md CHANGELOG.md %changelog * Sat May 04 2024 Yuri N. Sedunov <aris@altlinux.org> 1.8.3-alt1 - 1.8.3 * Sun Mar 03 2024 Yuri N. Sedunov <aris@altlinux.org> 1.8.2-alt1 - 1.8.2 * Tue Feb 27 2024 Yuri N. Sedunov <aris@altlinux.org> 1.8.1-alt1 - 1.8.1 * Fri Nov 17 2023 Yuri N. Sedunov <aris@altlinux.org> 1.7.1-alt1 - 1.7.1 * Wed Nov 08 2023 Yuri N. Sedunov <aris@altlinux.org> 1.7.0-alt1 - 1.7.0 * Wed Sep 13 2023 Yuri N. Sedunov <aris@altlinux.org> 1.6.1-alt1 - 1.6.1 * Mon Jun 19 2023 Yuri N. Sedunov <aris@altlinux.org> 1.5.1-alt1 - 1.5.1 * Sun Apr 02 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.2-alt1 - 1.4.2 * Mon Mar 20 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.1-alt1 - 1.4.1 * Tue Feb 28 2023 Yuri N. Sedunov <aris@altlinux.org> 1.4.0-alt1 - 1.4.0 * Mon Jan 30 2023 Yuri N. Sedunov <aris@altlinux.org> 1.3.2-alt1 - 1.3.2 * Tue Oct 11 2022 Yuri N. Sedunov <aris@altlinux.org> 1.2.2-alt1 - 1.2.2 * Tue Sep 27 2022 Yuri N. Sedunov <aris@altlinux.org> 1.2.1-alt1 - 1.2.1 * Mon Sep 12 2022 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - first build for Sisyphus (1.2.0-28-gb5b78434) |