|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-untokenize
|
|
|
|
# spec file for package python-untokenize
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -16,16 +16,16 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
|
|
Name: python-untokenize
|
|
|
|
Name: python-untokenize
|
|
|
|
Version: 0.1.1
|
|
|
|
Version: 0.1.1
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
Summary: Python module to transform tokens into original source code
|
|
|
|
Summary: Python module to transform tokens into original source code
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/myint/untokenize
|
|
|
|
Url: https://github.com/myint/untokenize
|
|
|
|
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/u/untokenize/untokenize-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/u/untokenize/untokenize-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -40,10 +40,10 @@ tokenize.untokenize(), it preserves the original whitespace between tokens.
|
|
|
|
%setup -q -n untokenize-%{version}
|
|
|
|
%setup -q -n untokenize-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
@@ -52,6 +52,8 @@ tokenize.untokenize(), it preserves the original whitespace between tokens.
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/untokenize.py
|
|
|
|
|
|
|
|
%pycache_only %{python_sitelib}/__pycache__/untokenize.*.pyc
|
|
|
|
|
|
|
|
%{python_sitelib}/untokenize-%{version}.dist-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|