|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: python-poetry-core
|
|
|
|
Name: python-poetry-core
|
|
|
|
Version: 1.0.8
|
|
|
|
Version: 1.2.0
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Poetry PEP 517 Build Backend
|
|
|
|
Summary: Poetry PEP 517 Build Backend
|
|
|
|
|
|
|
|
|
|
|
|
# We bundle a lot of libraries with poetry, which itself is under MIT license.
|
|
|
|
# We bundle a lot of libraries with poetry, which itself is under MIT license.
|
|
|
@ -8,14 +8,15 @@ Summary: Poetry PEP 517 Build Backend
|
|
|
|
|
|
|
|
|
|
|
|
# attrs: MIT
|
|
|
|
# attrs: MIT
|
|
|
|
# jsonschema: MIT
|
|
|
|
# jsonschema: MIT
|
|
|
|
# lark-parser: MIT
|
|
|
|
# lark: MIT
|
|
|
|
# packaging: ASL 2.0 or BSD
|
|
|
|
# packaging: ASL 2.0 or BSD
|
|
|
|
|
|
|
|
# pkgutil-resolve-name: MIT
|
|
|
|
# pyparsing: MIT
|
|
|
|
# pyparsing: MIT
|
|
|
|
# pyrsistent: MIT
|
|
|
|
# pyrsistent: MIT
|
|
|
|
# six: MIT
|
|
|
|
|
|
|
|
# tomlkit: MIT
|
|
|
|
# tomlkit: MIT
|
|
|
|
|
|
|
|
# typing-extensions: Python
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT and (ASL 2.0 or BSD)
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
@ -32,6 +33,7 @@ BuildRequires: python3-devel
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
|
|
|
|
|
|
|
|
# for tests (only specified via poetry poetry.dev-dependencies with pre-commit etc.)
|
|
|
|
# for tests (only specified via poetry poetry.dev-dependencies with pre-commit etc.)
|
|
|
|
|
|
|
|
BuildRequires: python3-build
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
BuildRequires: python3-pytest-mock
|
|
|
|
BuildRequires: python3-pytest-mock
|
|
|
|
BuildRequires: python3-pep517
|
|
|
|
BuildRequires: python3-pep517
|
|
|
@ -54,15 +56,16 @@ 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 poetry/core/_vendor/vendor.txt
|
|
|
|
# The bundled versions are taken from src/poetry/core/_vendor/vendor.txt
|
|
|
|
Provides: bundled(python3dist(attrs)) = 20.3
|
|
|
|
Provides: bundled(python3dist(attrs)) = 22.1
|
|
|
|
Provides: bundled(python3dist(jsonschema)) = 3.2
|
|
|
|
Provides: bundled(python3dist(jsonschema)) = 4.10
|
|
|
|
Provides: bundled(python3dist(lark-parser)) = 0.9
|
|
|
|
Provides: bundled(python3dist(lark)) = 1.1.2
|
|
|
|
Provides: bundled(python3dist(packaging)) = 20.9
|
|
|
|
Provides: bundled(python3dist(packaging)) = 21.3
|
|
|
|
Provides: bundled(python3dist(pyparsing)) = 2.4.7
|
|
|
|
Provides: bundled(python3dist(pkgutil-resolve-name)) = 1.3.10
|
|
|
|
Provides: bundled(python3dist(pyrsistent)) = 0.16.1
|
|
|
|
Provides: bundled(python3dist(pyparsing)) = 3.0.9
|
|
|
|
Provides: bundled(python3dist(six)) = 1.15
|
|
|
|
Provides: bundled(python3dist(pyrsistent)) = 0.18.1
|
|
|
|
Provides: bundled(python3dist(tomlkit)) = 0.7
|
|
|
|
Provides: bundled(python3dist(tomlkit)) = 0.11.4
|
|
|
|
|
|
|
|
Provides: bundled(python3dist(typing-extensions)) = 4.3.0
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-poetry-core %_description
|
|
|
|
%description -n python3-poetry-core %_description
|
|
|
|
|
|
|
|
|
|
|
@ -70,12 +73,6 @@ Provides: bundled(python3dist(tomlkit)) = 0.7
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n poetry-core-%{version}
|
|
|
|
%autosetup -p1 -n poetry-core-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
# We sed out shebang from non-execeutable-script to fix rpmlint error.
|
|
|
|
|
|
|
|
# This can be removed once we again devendor python-poetry-core and
|
|
|
|
|
|
|
|
# the Patch1 is enabled again.
|
|
|
|
|
|
|
|
# Upstream PR: https://github.com/Julian/jsonschema/pull/833
|
|
|
|
|
|
|
|
sed -i '1!b;/^#!/d' poetry/core/_vendor/jsonschema/benchmarks/issue232.py
|
|
|
|
|
|
|
|
sed -i '1!b;/^#!/d' poetry/core/_vendor/jsonschema/benchmarks/json_schema_test_suite.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires -r
|
|
|
|
%pyproject_buildrequires -r
|
|
|
@ -105,6 +102,9 @@ sed -i '1!b;/^#!/d' poetry/core/_vendor/jsonschema/benchmarks/json_schema_test_s
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Sep 30 2022 Tomáš Hrnčiar <thrnciar@redhat.com> - 1.2.0-1
|
|
|
|
|
|
|
|
- Update to 1.2.0
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|