diff --git a/python-poetry-core.spec b/python-poetry-core.spec index fb2c8b6..f8bc06d 100644 --- a/python-poetry-core.spec +++ b/python-poetry-core.spec @@ -1,6 +1,6 @@ Name: python-poetry-core -Version: 1.0.8 -Release: 3%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Poetry PEP 517 Build Backend # 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 # jsonschema: MIT -# lark-parser: MIT +# lark: MIT # packaging: ASL 2.0 or BSD +# pkgutil-resolve-name: MIT # pyparsing: MIT # pyrsistent: MIT -# six: 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 Source0: %{url}/archive/%{version}/poetry-core-%{version}.tar.gz @@ -32,6 +33,7 @@ BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros # for tests (only specified via poetry poetry.dev-dependencies with pre-commit etc.) +BuildRequires: python3-build BuildRequires: python3-pytest BuildRequires: python3-pytest-mock BuildRequires: python3-pep517 @@ -54,15 +56,16 @@ Summary: %{summary} # Previous versions of poetry included poetry-core in it Conflicts: python%{python3_version}dist(poetry) < 1.1 -# The bundled versions are taken from poetry/core/_vendor/vendor.txt -Provides: bundled(python3dist(attrs)) = 20.3 -Provides: bundled(python3dist(jsonschema)) = 3.2 -Provides: bundled(python3dist(lark-parser)) = 0.9 -Provides: bundled(python3dist(packaging)) = 20.9 -Provides: bundled(python3dist(pyparsing)) = 2.4.7 -Provides: bundled(python3dist(pyrsistent)) = 0.16.1 -Provides: bundled(python3dist(six)) = 1.15 -Provides: bundled(python3dist(tomlkit)) = 0.7 +# The bundled versions are taken from src/poetry/core/_vendor/vendor.txt +Provides: bundled(python3dist(attrs)) = 22.1 +Provides: bundled(python3dist(jsonschema)) = 4.10 +Provides: bundled(python3dist(lark)) = 1.1.2 +Provides: bundled(python3dist(packaging)) = 21.3 +Provides: bundled(python3dist(pkgutil-resolve-name)) = 1.3.10 +Provides: bundled(python3dist(pyparsing)) = 3.0.9 +Provides: bundled(python3dist(pyrsistent)) = 0.18.1 +Provides: bundled(python3dist(tomlkit)) = 0.11.4 +Provides: bundled(python3dist(typing-extensions)) = 4.3.0 %description -n python3-poetry-core %_description @@ -70,12 +73,6 @@ Provides: bundled(python3dist(tomlkit)) = 0.7 %prep %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 %pyproject_buildrequires -r @@ -105,6 +102,9 @@ sed -i '1!b;/^#!/d' poetry/core/_vendor/jsonschema/benchmarks/json_schema_test_s %changelog +* Fri Sep 30 2022 Tomáš Hrnčiar - 1.2.0-1 +- Update to 1.2.0 + * Fri Jul 22 2022 Fedora Release Engineering - 1.0.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index fb5a8c9..81b9c14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (poetry-core-1.0.8.tar.gz) = 6dfed1e1124c37a5f0ec535ede8848e25466da3df6fa6629f6330ce32f05a4d82725d64407e5bcf294d6e467b52966642505ee29f563d3794c4e7aca78045285 +SHA512 (poetry-core-1.2.0.tar.gz) = f6d79d7d66a25aa127b5decf46df861ecc101af0438b892196505b4ece5cc55f6ff8796eb603789b3259d213162236b7698305523b2eda414ad1f3a5b659eab9