15
0
Files
python-distutils-extra/python-distutils-extra.spec
Dirk Mueller bfe82898e8 - update to 3.0:
* Port code to setuptools. It will not work with distutils any
    more.
  * Format code with black and imports with isort.
  * Address pycodestyle and pylint complaints.
  * Use python3 in shebangs.
  * Fix TypeError when calling pylint command.
  * Drop obsolete python3-distutils dependency.
  package (the dependency of onboard) to SLE-15
  According to this page https://launchpad.net/python-distutils-extra/trunk/2.23) this release has no changelog
Changelog to 2.20

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distutils-extra?expand=0&rev=50
2023-11-14 12:45:12 +00:00

58 lines
1.6 KiB
RPMSpec

#
# spec file for package python-distutils-extra
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distutils-extra
Version: 3.0
Release: 0
Summary: Distutils/Setuptools Adapter
License: GPL-2.0-only
Group: Development/Libraries/Python
URL: https://salsa.debian.org/python-team/packages/python-distutils-extra
Source: %{url}/-/archive/%{version}/python-distutils-extra-%{version}.tar.bz2
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
This package adds support for common build additions to distutils.
This includes the following:
* gettext/i18n
* documentation
* program icons
%prep
%setup -q
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc debian/changelog doc/*
%license LICENSE
%{python_sitelib}/*
%changelog