Package python3-module-setuptools_scm: 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 | %define _unpackaged_files_terminate_build 1 %define mod_name setuptools_scm %define pypi_name setuptools-scm %def_with check Name: python3-module-%mod_name Version: 8.0.4 Release: alt1 Summary: The blessed package to manage your versions by scm tags License: MIT Group: Development/Python3 Url: https://pypi.org/project/setuptools-scm/ VCS: https://github.com/pypa/setuptools_scm/ BuildArch: noarch Source: %name-%version.tar Source1: %pyproject_deps_config_name Patch1: %name-%version-alt.patch %pyproject_runtimedeps_metadata Requires: git-core mercurial %py3_provides %pypi_name # mapping from PyPI name Provides: python3-module-%pypi_name = %EVR BuildRequires(pre): rpm-build-pyproject %pyproject_builddeps_build %if_with check %pyproject_builddeps_metadata_extra toml %pyproject_builddeps_metadata_extra test BuildRequires: git-core mercurial %endif %description setuptools_scm is a simple utility for the setup_requires feature of setuptools for use in Mercurial and Git based projects. It uses metadata from the SCM to generate the version of a project and is able to list the files belonging to that project (which makes the MANIFEST.in file unnecessary in many cases). It falls back to PKG-INFO/.hg_archival.txt when necessary. %prep %setup %patch1 -p1 %pyproject_scm_init %pyproject_deps_resync_build %pyproject_deps_resync_metadata %build %pyproject_build %install %pyproject_install %check %pyproject_run_pytest -ra -Wignore %files %doc README.* %python3_sitelibdir/setuptools_scm/ %python3_sitelibdir/%{pyproject_distinfo %pypi_name}/ %changelog * Tue Oct 03 2023 Stanislav Levin <slev@altlinux.org> 8.0.4-alt1 - 8.0.3 -> 8.0.4. * Mon Sep 25 2023 Stanislav Levin <slev@altlinux.org> 8.0.3-alt1 - 7.1.0 -> 8.0.3. * Thu Jun 22 2023 Stanislav Levin <slev@altlinux.org> 7.1.0-alt2 - Fixed FTBFS (setuptools 68.0.0). - Modernized packaging. * Fri Jan 27 2023 Stanislav Levin <slev@altlinux.org> 7.1.0-alt1 - 7.0.5 -> 7.1.0. * Tue Nov 01 2022 Michael Shigorin <mike@altlinux.org> 7.0.5-alt2 - fixed build --without check * Fri Aug 05 2022 Stanislav Levin <slev@altlinux.org> 7.0.5-alt1 - 6.4.2 -> 7.0.5 (closes: #43460). * Thu Apr 07 2022 Stanislav Levin <slev@altlinux.org> 6.4.2-alt2 - Fixed FTBFS (setuptools 61.0.0+). * Fri Jan 21 2022 Stanislav Levin <slev@altlinux.org> 6.4.2-alt1 - 6.3.2 -> 6.4.2. * Mon Oct 25 2021 Stanislav Levin <slev@altlinux.org> 6.3.2-alt2 - Fixed FTBFS (setuptools 58.3.0). * Wed Sep 29 2021 Stanislav Levin <slev@altlinux.org> 6.3.2-alt1 - 6.0.1 -> 6.3.2. * Sun Apr 18 2021 Stanislav Levin <slev@altlinux.org> 6.0.1-alt1 - 4.1.2 -> 6.0.1. * Mon Oct 05 2020 Stanislav Levin <slev@altlinux.org> 4.1.2-alt1 - 3.5.0 -> 4.1.2. * Wed Feb 19 2020 Stanislav Levin <slev@altlinux.org> 3.5.0-alt1 - 3.3.3 -> 3.5.0. * Fri Aug 09 2019 Stanislav Levin <slev@altlinux.org> 3.3.3-alt2 - Fixed testing against Pytest 5. * Thu May 30 2019 Stanislav Levin <slev@altlinux.org> 3.3.3-alt1 - 2.1.0 -> 3.3.3. * Fri Jun 08 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 2.1.0-alt1 - Updated to upstream version 2.1.0. * Fri Feb 02 2018 Stanislav Levin <slev@altlinux.org> 1.15.0-alt1.1.1 - (NMU) Fix Requires and BuildRequires to python-setuptools * Thu Jun 01 2017 Michael Shigorin <mike@altlinux.org> 1.15.0-alt1.1 - R: git-core instead of full-blown git metapackage - fix build --with python3 (actually the test) * Mon Jan 02 2017 Anton Midyukov <antohami@altlinux.org> 1.15.0-alt1 - Version 1.15.0 * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 1.7.0-alt1.git20150812.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> 1.7.0-alt1.git20150812.1 - NMU: Use buildreq for BR. * Mon Aug 17 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.7.0-alt1.git20150812 - Version 1.7.0 * Sun Jul 26 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.6.0-alt1.git20150723 - Version 1.6.0 * Fri Apr 24 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.3.0-alt1 - Initial build for Sisyphus |