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:
parent
de12c240cb
commit
dd2777f4a5
@ -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
3
flit_core-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a465052057e2d6d957e6850e9915245adedfc4fd0dd5737d0791bf3132417c2d
|
||||||
|
size 22037
|
@ -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>
|
Mon Mar 23 18:13:44 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -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
|
Name: python-flit-core
|
||||||
Version: 2.1.0
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Distribution-building parts of Flit
|
Summary: Distribution-building parts of Flit
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/takluyver/flit
|
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 pytest}
|
||||||
BuildRequires: %{python_module pytoml}
|
BuildRequires: %{python_module pytoml}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module testpath}
|
BuildRequires: %{python_module testpath}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-dephell-rpm-macros
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-dephell
|
|
||||||
Requires: python-pytoml
|
Requires: python-pytoml
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -41,13 +40,12 @@ Flit is a simple way to put Python packages and modules on PyPI.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n flit_core-%{version}
|
%setup -q -n flit_core-%{version}
|
||||||
%dephell_gensetup
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/flit_core/tests
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/flit_core/tests
|
||||||
%fdupes %{buildroot}%{$python_sitelib}
|
%fdupes %{buildroot}%{$python_sitelib}
|
||||||
}
|
}
|
||||||
@ -56,6 +54,7 @@ Flit is a simple way to put Python packages and modules on PyPI.
|
|||||||
%pytest
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/flit_core
|
||||||
|
%{python_sitelib}/flit_core-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user