Accepting request 844173 from home:bnavigator:branches:devel:languages:python

- Update to version 3.0
  * flit_core once again requires Python 3 (>=3.4). Packages that
    support Python 2 can still be built by flit_core 2.x, but can't
    rely on new features (:ghpull:`342`).
- Kill dephell dependency

OBS-URL: https://build.opensuse.org/request/show/844173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit-core?expand=0&rev=11
This commit is contained in:
John Vandenberg 2020-10-27 06:49:32 +00:00 committed by Git OBS Bridge
parent de12c240cb
commit dd2777f4a5
4 changed files with 21 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2ebad9351c34083c16388d1df64a6e19579affcec02bfc05746714eef9f82fb
size 22978

3
flit_core-3.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a465052057e2d6d957e6850e9915245adedfc4fd0dd5737d0791bf3132417c2d
size 22037

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Oct 26 22:38:40 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Update to version 3.0
* flit_core once again requires Python 3 (>=3.4). Packages that
support Python 2 can still be built by flit_core 2.x, but can't
rely on new features (:ghpull:`342`).
- Kill dephell dependency
-------------------------------------------------------------------
Mon Mar 23 18:13:44 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -16,22 +16,21 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-flit-core
Version: 2.1.0
Version: 3.0.0
Release: 0
Summary: Distribution-building parts of Flit
License: BSD-3-Clause
URL: https://github.com/takluyver/flit
Source: https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytoml}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testpath}
BuildRequires: fdupes
BuildRequires: python-dephell-rpm-macros
BuildRequires: python-rpm-macros
BuildRequires: python3-dephell
Requires: python-pytoml
BuildArch: noarch
%python_subpackages
@ -41,13 +40,12 @@ Flit is a simple way to put Python packages and modules on PyPI.
%prep
%setup -q -n flit_core-%{version}
%dephell_gensetup
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%{python_expand rm -r %{buildroot}%{$python_sitelib}/flit_core/tests
%fdupes %{buildroot}%{$python_sitelib}
}
@ -56,6 +54,7 @@ Flit is a simple way to put Python packages and modules on PyPI.
%pytest
%files %{python_files}
%{python_sitelib}/*
%{python_sitelib}/flit_core
%{python_sitelib}/flit_core-%{version}*-info
%changelog