Accepting request 844800 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/844800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-11-02 08:38:53 +00:00 committed by Git OBS Bridge
commit c3ae0cf45b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 20 11:20:59 UTC 2020 - Dan Čermák <dcermak@suse.com>
Remove python2 subpackage:
python2 requires the typing package as a dependency, but we ship a too recent version of that and thus cannot build it for Leap + Python2 anymore
-------------------------------------------------------------------
Fri Oct 16 17:01:46 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -16,6 +16,7 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-poetry-core
Version: 1.0.0
@ -25,7 +26,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/python-poetry/poetry-core
# Only the github archive provides the tests
Source: https://github.com/python-poetry/poetry-core/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
Source: %{URL}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
BuildRequires: %{python_module attrs >= 19.3.0}
BuildRequires: %{python_module jsonschema >= 3.2.0}
BuildRequires: %{python_module lark-parser >= 0.9.0}
@ -35,7 +36,6 @@ BuildRequires: %{python_module pyparsing >= 2.4.7}
BuildRequires: %{python_module pyrsistent >= 0.16.0}
BuildRequires: %{python_module six >= 1.15.0}
BuildRequires: %{python_module tomlkit >= 0.7.0}
BuildRequires: %{python_module typing >= 3.7.4}
BuildRequires: python-rpm-macros
Requires: python-attrs >= 19.3.0
Requires: python-jsonschema >= 3.2.0
@ -45,7 +45,6 @@ Requires: python-pyparsing >= 2.4.7
Requires: python-pyrsistent >= 0.16.0
Requires: python-six >= 1.15.0
Requires: python-tomlkit >= 0.7.0
Requires: python-typing >= 3.7.4
BuildArch: noarch
# SECTION these are all test dependencies, including devel and git
BuildRequires: %{python_module devel}