From dd2777f4a5fdb987700cf7504fda6170dac3f308b86cb2deece0fe7b303ec4e0 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 27 Oct 2020 06:49:32 +0000 Subject: [PATCH] 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 --- flit_core-2.1.0.tar.gz | 3 --- flit_core-3.0.0.tar.gz | 3 +++ python-flit-core.changes | 9 +++++++++ python-flit-core.spec | 19 +++++++++---------- 4 files changed, 21 insertions(+), 13 deletions(-) delete mode 100644 flit_core-2.1.0.tar.gz create mode 100644 flit_core-3.0.0.tar.gz diff --git a/flit_core-2.1.0.tar.gz b/flit_core-2.1.0.tar.gz deleted file mode 100644 index 64f9f23..0000000 --- a/flit_core-2.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d2ebad9351c34083c16388d1df64a6e19579affcec02bfc05746714eef9f82fb -size 22978 diff --git a/flit_core-3.0.0.tar.gz b/flit_core-3.0.0.tar.gz new file mode 100644 index 0000000..71fbec3 --- /dev/null +++ b/flit_core-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a465052057e2d6d957e6850e9915245adedfc4fd0dd5737d0791bf3132417c2d +size 22037 diff --git a/python-flit-core.changes b/python-flit-core.changes index 439ce52..3da0982 100644 --- a/python-flit-core.changes +++ b/python-flit-core.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Oct 26 22:38:40 UTC 2020 - Benjamin Greiner + +- 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 diff --git a/python-flit-core.spec b/python-flit-core.spec index daed411..f705b65 100644 --- a/python-flit-core.spec +++ b/python-flit-core.spec @@ -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