|
|
@ -2,34 +2,19 @@
|
|
|
|
%bcond tests %{undefined rhel}
|
|
|
|
%bcond tests %{undefined rhel}
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-poetry-core
|
|
|
|
Name: python-poetry-core
|
|
|
|
Version: 1.6.1
|
|
|
|
Version: 1.8.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Poetry PEP 517 Build Backend
|
|
|
|
Summary: Poetry PEP 517 Build Backend
|
|
|
|
|
|
|
|
# SPDX
|
|
|
|
# We bundle a lot of libraries with poetry, which itself is under MIT license.
|
|
|
|
License: MIT
|
|
|
|
# Here is the list of the libraries with corresponding licenses:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# attrs: MIT
|
|
|
|
|
|
|
|
# jsonschema: MIT
|
|
|
|
|
|
|
|
# lark: MIT
|
|
|
|
|
|
|
|
# packaging: ASL 2.0 or BSD
|
|
|
|
|
|
|
|
# pkgutil-resolve-name: MIT
|
|
|
|
|
|
|
|
# pyparsing: MIT
|
|
|
|
|
|
|
|
# pyrsistent: MIT
|
|
|
|
|
|
|
|
# tomlkit: MIT
|
|
|
|
|
|
|
|
# typing-extensions: Python
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT and (ASL 2.0 or BSD) and Python
|
|
|
|
|
|
|
|
URL: https://github.com/python-poetry/poetry-core
|
|
|
|
URL: https://github.com/python-poetry/poetry-core
|
|
|
|
Source0: %{url}/archive/%{version}/poetry-core-%{version}.tar.gz
|
|
|
|
Source0: %{url}/archive/%{version}/poetry-core-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# This patch moves the vendored requires definition
|
|
|
|
# This patch moves the vendored requires definition
|
|
|
|
# from vendors/pyproject.toml to pyproject.toml
|
|
|
|
# from vendors/pyproject.toml to pyproject.toml
|
|
|
|
# Intentionally contains the removed hunk to prevent patch aging
|
|
|
|
# Intentionally contains the removed hunk to prevent patch aging
|
|
|
|
|
|
|
|
Patch1: poetry-core-1.8.1-devendor.patch
|
|
|
|
# poetry is broken with packaging 21+ (https://github.com/python-poetry/poetry/issues/4264).
|
|
|
|
Patch2: python-poetry-core-c99.patch
|
|
|
|
# We are temporarily disabling this patch so installed poetry works again.
|
|
|
|
|
|
|
|
#Patch1: poetry-core-1.0.2-devendor.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
@ -62,13 +47,6 @@ Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
|
|
# Previous versions of poetry included poetry-core in it
|
|
|
|
# Previous versions of poetry included poetry-core in it
|
|
|
|
Conflicts: python%{python3_version}dist(poetry) < 1.1
|
|
|
|
Conflicts: python%{python3_version}dist(poetry) < 1.1
|
|
|
|
# The bundled versions are taken from src/poetry/core/_vendor/vendor.txt
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(attrs)) = 23.1.0
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(jsonschema)) = 4.17.3
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(lark)) = 1.1.5
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(packaging)) = 23.1
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(pyrsistent)) = 0.19.3
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(tomli)) = 2.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-poetry-core %_description
|
|
|
|
%description -n python3-poetry-core %_description
|
|
|
|
|
|
|
|
|
|
|
@ -83,7 +61,7 @@ Provides: bundled(python3dist(tomli)) = 2.0.1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# we debundle the deps after we use the bundled deps in previous step to parse the deps 🤯
|
|
|
|
# we debundle the deps after we use the bundled deps in previous step to parse the deps 🤯
|
|
|
|
#rm -r poetry/core/_vendor
|
|
|
|
rm -r src/poetry/core/_vendor
|
|
|
|
|
|
|
|
|
|
|
|
%pyproject_wheel
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
@ -109,6 +87,36 @@ Provides: bundled(python3dist(tomli)) = 2.0.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.6.1-1
|
|
|
|
* Wed Jul 26 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.6.1-1
|
|
|
|
- Update to 1.6.1
|
|
|
|
- Update to 1.6.1
|
|
|
|
- Fixes: rhbz#2144878
|
|
|
|
- Fixes: rhbz#2144878
|