|
rdobuilder |
07091c |
Name: python-poetry-core
|
|
rdobuilder |
07091c |
Version: 1.4.0
|
|
rdobuilder |
07091c |
Release: 2%{?dist}
|
|
rdobuilder |
07091c |
Summary: Poetry PEP 517 Build Backend
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# We bundle a lot of libraries with poetry, which itself is under MIT license.
|
|
rdobuilder |
07091c |
# Here is the list of the libraries with corresponding licenses:
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# attrs: MIT
|
|
rdobuilder |
07091c |
# jsonschema: MIT
|
|
rdobuilder |
07091c |
# lark: MIT
|
|
rdobuilder |
07091c |
# packaging: ASL 2.0 or BSD
|
|
rdobuilder |
07091c |
# pkgutil-resolve-name: MIT
|
|
rdobuilder |
07091c |
# pyparsing: MIT
|
|
rdobuilder |
07091c |
# pyrsistent: MIT
|
|
rdobuilder |
07091c |
# tomlkit: MIT
|
|
rdobuilder |
07091c |
# typing-extensions: Python
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
License: MIT and (ASL 2.0 or BSD) and Python
|
|
rdobuilder |
07091c |
URL: https://github.com/python-poetry/poetry-core
|
|
rdobuilder |
07091c |
Source0: %{url}/archive/%{version}/poetry-core-%{version}.tar.gz
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# This patch moves the vendored requires definition
|
|
rdobuilder |
07091c |
# from vendors/pyproject.toml to pyproject.toml
|
|
rdobuilder |
07091c |
# Intentionally contains the removed hunk to prevent patch aging
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# poetry is broken with packaging 21+ (https://github.com/python-poetry/poetry/issues/4264).
|
|
rdobuilder |
07091c |
# We are temporarily disabling this patch so installed poetry works again.
|
|
rdobuilder |
07091c |
#Patch1: poetry-core-1.0.2-devendor.patch
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
BuildArch: noarch
|
|
rdobuilder |
07091c |
BuildRequires: python3-devel
|
|
rdobuilder |
07091c |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# for tests (only specified via poetry poetry.dev-dependencies with pre-commit etc.)
|
|
rdobuilder |
07091c |
#BuildRequires: python3-build
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
BuildRequires: python3-pytest
|
|
rdobuilder |
07091c |
BuildRequires: python3-pytest-mock
|
|
rdobuilder |
07091c |
BuildRequires: python3-setuptools
|
|
rdobuilder |
07091c |
BuildRequires: python3-virtualenv
|
|
rdobuilder |
07091c |
BuildRequires: gcc
|
|
rdobuilder |
07091c |
BuildRequires: git-core
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%global _description %{expand:
|
|
rdobuilder |
07091c |
A PEP 517 build backend implementation developed for Poetry.
|
|
rdobuilder |
07091c |
This project is intended to be a light weight, fully compliant, self-contained
|
|
rdobuilder |
07091c |
package allowing PEP 517 compatible build frontends to build Poetry managed
|
|
rdobuilder |
07091c |
projects.}
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%description %_description
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%package -n python3-poetry-core
|
|
rdobuilder |
07091c |
Summary: %{summary}
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
# Previous versions of poetry included poetry-core in it
|
|
rdobuilder |
07091c |
Conflicts: python%{python3_version}dist(poetry) < 1.1
|
|
rdobuilder |
07091c |
# The bundled versions are taken from src/poetry/core/_vendor/vendor.txt
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(attrs)) = 22.1
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(jsonschema)) = 4.10
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(lark)) = 1.1.2
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(packaging)) = 21.3
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(pkgutil-resolve-name)) = 1.3.10
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(pyparsing)) = 3.0.9
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(pyrsistent)) = 0.18.1
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(tomlkit)) = 0.11.4
|
|
rdobuilder |
07091c |
Provides: bundled(python3dist(typing-extensions)) = 4.3.0
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%description -n python3-poetry-core %_description
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%prep
|
|
rdobuilder |
07091c |
%autosetup -p1 -n poetry-core-%{version}
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%generate_buildrequires
|
|
rdobuilder |
07091c |
%pyproject_buildrequires -r
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%build
|
|
rdobuilder |
07091c |
# we debundle the deps after we use the bundled deps in previous step to parse the deps 🤯
|
|
rdobuilder |
07091c |
#rm -r poetry/core/_vendor
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%pyproject_wheel
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%install
|
|
rdobuilder |
07091c |
%pyproject_install
|
|
rdobuilder |
07091c |
%pyproject_save_files poetry
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%check
|
|
rdobuilder |
07091c |
# don't use %%tox here because tox.ini runs "poetry install"
|
|
rdobuilder |
07091c |
# TODO investigate failures in test_default_with_excluded_data, test_default_src_with_excluded_data
|
|
rdobuilder |
07091c |
%pytest -k "not with_excluded_data" --ignore tests/integration/test_pep517.py
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%files -n python3-poetry-core -f %{pyproject_files}
|
|
rdobuilder |
07091c |
%doc README.md
|
|
rdobuilder |
07091c |
%license LICENSE
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
%changelog
|
|
rdobuilder |
07091c |
* Sat Feb 25 2023 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
|
|
rdobuilder |
07091c |
- Remove unused build dependency on python3-pep517
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Mon Feb 20 2023 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.4.0-1
|
|
rdobuilder |
07091c |
- Update to 1.4.0
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-2
|
|
rdobuilder |
07091c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Tue Nov 22 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.3.2-1
|
|
rdobuilder |
07091c |
- Update to 1.3.2
|
|
rdobuilder |
07091c |
- Fixes: rhbz#1944752
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Wed Nov 16 2022 Lumír Balhar <lbalhar@redhat.com> - 1.2.0-2
|
|
rdobuilder |
07091c |
- Add missing buildrequire - setuptools (#2142040)
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Sep 30 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.2.0-1
|
|
rdobuilder |
07091c |
- Update to 1.2.0
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
|
rdobuilder |
07091c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.0.8-2
|
|
rdobuilder |
07091c |
- Rebuilt for Python 3.11
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Mon Mar 07 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.8-1
|
|
rdobuilder |
07091c |
- Update to 1.0.8
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
|
|
rdobuilder |
07091c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Mon Nov 15 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.7-1
|
|
rdobuilder |
07091c |
- Update to 1.0.7
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Oct 01 2021 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.0.6-1
|
|
rdobuilder |
07091c |
- Update to 1.0.6
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Tue Sep 07 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.4-1
|
|
rdobuilder |
07091c |
- Update to 1.0.4
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Thu Aug 19 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.3-5
|
|
rdobuilder |
07091c |
- Bundle vendored libraries again, to fix poetry install
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
|
rdobuilder |
07091c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Thu Jul 08 2021 Lumír Balhar <lbalhar@redhat.com> - 1.0.3-3
|
|
rdobuilder |
07091c |
- Allow newer packaging version
|
|
rdobuilder |
07091c |
- Allow newer pyrsistent version
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.0.3-2
|
|
rdobuilder |
07091c |
- Rebuilt for Python 3.10
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Thu Apr 15 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.3-1
|
|
rdobuilder |
07091c |
- Update to 1.0.3
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Thu Feb 25 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.0.2-1
|
|
rdobuilder |
07091c |
- Update to 1.0.2
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
rdobuilder |
07091c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
07091c |
|
|
rdobuilder |
07091c |
* Mon Nov 02 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.0-1
|
|
rdobuilder |
07091c |
- Initial package
|