15
0
forked from pool/python-flynt

Accepting request 1098032 from devel:languages:python

- Update to 0.78
  - no changelog from upstream
- Change Source from pythonhosted to github because tests are 
  missing in source from pythonhosted.
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1098032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flynt?expand=0&rev=2
This commit is contained in:
2023-07-11 13:57:08 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 10 deletions

View File

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

3
python-flynt-0.78.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Jul 6 13:05:53 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 0.78
- no changelog from upstream
- Change Source from pythonhosted to github because tests are
missing in source from pythonhosted.
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Tue Jan 25 09:50:38 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-flynt
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,18 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-flynt
Version: 0.76
Version: 0.78
Release: 0
Summary: CLI tool to convert a python project's %-formatted strings to f-strings
License: MIT
URL: https://github.com/ikamensh/flynt
Source: https://files.pythonhosted.org/packages/source/f/flynt/flynt-%{version}.tar.gz
Source: https://github.com/ikamensh/flynt/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-astor
@@ -44,10 +47,10 @@ CLI tool to convert a python project's %-formatted strings to f-strings.
%setup -q -n flynt-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/flynt
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -64,6 +67,7 @@ CLI tool to convert a python project's %-formatted strings to f-strings.
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/flynt
%{python_sitelib}/*
%{python_sitelib}/flynt
%{python_sitelib}/flynt-%{version}*-info
%changelog