You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
200 lines
6.0 KiB
200 lines
6.0 KiB
2 years ago
|
# RHEL does not include the test dependencies
|
||
|
%bcond tests %{undefined rhel}
|
||
|
|
||
4 years ago
|
Name: python-poetry-core
|
||
2 months ago
|
Version: 1.8.1
|
||
|
Release: 5%{?dist}
|
||
4 years ago
|
Summary: Poetry PEP 517 Build Backend
|
||
2 months ago
|
# SPDX
|
||
|
License: MIT
|
||
4 years ago
|
URL: https://github.com/python-poetry/poetry-core
|
||
|
Source0: %{url}/archive/%{version}/poetry-core-%{version}.tar.gz
|
||
|
|
||
|
# This patch moves the vendored requires definition
|
||
|
# from vendors/pyproject.toml to pyproject.toml
|
||
|
# Intentionally contains the removed hunk to prevent patch aging
|
||
2 months ago
|
Patch1: poetry-core-1.8.1-devendor.patch
|
||
|
Patch2: python-poetry-core-c99.patch
|
||
4 years ago
|
|
||
4 years ago
|
BuildArch: noarch
|
||
|
BuildRequires: python3-devel
|
||
|
BuildRequires: pyproject-rpm-macros
|
||
|
|
||
2 years ago
|
%if %{with tests}
|
||
4 years ago
|
# for tests (only specified via poetry poetry.dev-dependencies with pre-commit etc.)
|
||
2 years ago
|
BuildRequires: python3-build
|
||
4 years ago
|
BuildRequires: python3-pytest
|
||
|
BuildRequires: python3-pytest-mock
|
||
2 years ago
|
BuildRequires: python3-setuptools
|
||
2 years ago
|
BuildRequires: python3-tomli-w
|
||
4 years ago
|
BuildRequires: python3-virtualenv
|
||
|
BuildRequires: gcc
|
||
3 years ago
|
BuildRequires: git-core
|
||
2 years ago
|
%endif
|
||
4 years ago
|
|
||
|
|
||
|
%global _description %{expand:
|
||
|
A PEP 517 build backend implementation developed for Poetry.
|
||
|
This project is intended to be a light weight, fully compliant, self-contained
|
||
|
package allowing PEP 517 compatible build frontends to build Poetry managed
|
||
|
projects.}
|
||
|
|
||
|
%description %_description
|
||
|
|
||
|
|
||
|
%package -n python3-poetry-core
|
||
|
Summary: %{summary}
|
||
|
|
||
|
# Previous versions of poetry included poetry-core in it
|
||
|
Conflicts: python%{python3_version}dist(poetry) < 1.1
|
||
|
|
||
|
%description -n python3-poetry-core %_description
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%autosetup -p1 -n poetry-core-%{version}
|
||
|
|
||
|
|
||
|
%generate_buildrequires
|
||
|
%pyproject_buildrequires -r
|
||
|
|
||
|
|
||
|
%build
|
||
|
# we debundle the deps after we use the bundled deps in previous step to parse the deps 🤯
|
||
2 months ago
|
rm -r src/poetry/core/_vendor
|
||
4 years ago
|
|
||
|
%pyproject_wheel
|
||
|
|
||
|
|
||
|
%install
|
||
|
%pyproject_install
|
||
|
%pyproject_save_files poetry
|
||
|
|
||
|
|
||
|
%check
|
||
2 years ago
|
%if %{with tests}
|
||
4 years ago
|
# don't use %%tox here because tox.ini runs "poetry install"
|
||
|
# TODO investigate failures in test_default_with_excluded_data, test_default_src_with_excluded_data
|
||
|
%pytest -k "not with_excluded_data"
|
||
2 years ago
|
%else
|
||
|
%pyproject_check_import
|
||
|
%endif
|
||
4 years ago
|
|
||
|
|
||
|
%files -n python3-poetry-core -f %{pyproject_files}
|
||
|
%doc README.md
|
||
|
%license LICENSE
|
||
|
|
||
|
|
||
|
%changelog
|
||
2 months ago
|
* Mon Dec 16 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.8.1-5
|
||
|
- Rebuilt for MSVSphere 10
|
||
|
|
||
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.8.1-5
|
||
|
- Bump release for October 2024 mass rebuild:
|
||
|
Resolves: RHEL-64018
|
||
|
|
||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.1-4
|
||
|
- Bump release for June 2024 mass rebuild
|
||
|
|
||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.1-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Thu Jan 18 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.8.1-1
|
||
|
- Update to 1.8.1
|
||
|
- Fixes: rhbz#2247249
|
||
|
|
||
|
* Thu Jan 04 2024 Florian Weimer <fweimer@redhat.com> - 1.7.0-2
|
||
|
- Backport upstream patch to fix C compatibility issue
|
||
|
|
||
|
* Fri Sep 01 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.7.0-1
|
||
|
- Update to 1.7.0
|
||
|
- Fixes: rhbz#2232934
|
||
|
|
||
|
* Wed Aug 23 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.6.1-2
|
||
|
- Drop unwanted tomli dependency
|
||
|
|
||
2 years ago
|
* Wed Jul 26 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.6.1-1
|
||
|
- Update to 1.6.1
|
||
|
- Fixes: rhbz#2144878
|
||
|
|
||
2 years ago
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
2 years ago
|
* Fri Jun 30 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.6.0-1
|
||
|
- Update to 1.6.0
|
||
|
|
||
2 years ago
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1.4.0-4
|
||
|
- Rebuilt for Python 3.12
|
||
|
|
||
2 years ago
|
* Mon May 29 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.4.0-3
|
||
|
- Disable tests in RHEL builds
|
||
|
|
||
2 years ago
|
* Sat Feb 25 2023 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
|
||
|
- Remove unused build dependency on python3-pep517
|
||
|
|
||
2 years ago
|
* Mon Feb 20 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.4.0-1
|
||
|
- Update to 1.4.0
|
||
|
|
||
2 years ago
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
2 years ago
|
* Tue Nov 22 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.3.2-1
|
||
|
- Update to 1.3.2
|
||
|
- Fixes: rhbz#1944752
|
||
|
|
||
2 years ago
|
* Wed Nov 16 2022 Lumír Balhar <lbalhar@redhat.com> - 1.2.0-2
|
||
|
- Add missing buildrequire - setuptools (#2142040)
|
||
|
|
||
2 years ago
|
* Fri Sep 30 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.2.0-1
|
||
|
- Update to 1.2.0
|
||
|
|
||
3 years ago
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
3 years ago
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.8-2
|
||
|
- Rebuilt for Python 3.11
|
||
|
|
||
3 years ago
|
* Mon Mar 07 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.8-1
|
||
|
- Update to 1.0.8
|
||
|
|
||
3 years ago
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
3 years ago
|
* Mon Nov 15 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.7-1
|
||
|
- Update to 1.0.7
|
||
|
|
||
3 years ago
|
* Fri Oct 01 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.6-1
|
||
|
- Update to 1.0.6
|
||
|
|
||
4 years ago
|
* Tue Sep 07 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.4-1
|
||
|
- Update to 1.0.4
|
||
|
|
||
4 years ago
|
* Thu Aug 19 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.3-5
|
||
|
- Bundle vendored libraries again, to fix poetry install
|
||
|
|
||
4 years ago
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
4 years ago
|
* Thu Jul 08 2021 Lumír Balhar <lbalhar@redhat.com> - 1.0.3-3
|
||
|
- Allow newer packaging version
|
||
4 years ago
|
- Allow newer pyrsistent version
|
||
4 years ago
|
|
||
4 years ago
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.3-2
|
||
|
- Rebuilt for Python 3.10
|
||
|
|
||
4 years ago
|
* Thu Apr 15 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.3-1
|
||
|
- Update to 1.0.3
|
||
|
|
||
4 years ago
|
* Thu Feb 25 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.2-1
|
||
|
- Update to 1.0.2
|
||
|
|
||
4 years ago
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
4 years ago
|
* Mon Nov 02 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
|
||
|
- Initial package
|