forked from pool/python-pdm-backend
* Can't include nested data files in built wheel * Update domain name - update to 2.1.7: * Rename tag-pattern to tag_regex in the docs * Copytree handle existing dirs * Normalize the dist info name in the wheel - update to 2.1.6: * Path to uri expansion in dependency string - update to 2.1.5: * Don't quote project root in file:// urls Fix #190 * Write version to file doesn't work for editable installs - update to 2.1.4: * Write version file for sdist build as well - update to 2.1.3: * Remove duplicate files when building wheel - update to 2.1.2: * Fix file permissions to 644 for wheel - update to 2.1.1: * Pdm-backend should not normalize names in project metadata OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm-backend?expand=0&rev=6
61 lines
1.8 KiB
RPMSpec
61 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package python-pdm-backend
|
|
#
|
|
# Copyright (c) 2024 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/
|
|
#
|
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
Name: python-pdm-backend
|
|
Version: 2.1.8
|
|
Release: 0
|
|
Summary: Backend used by PDM
|
|
License: MIT
|
|
URL: https://github.com/pdm-project/pdm-backend
|
|
Source: https://files.pythonhosted.org/packages/source/p/pdm-backend/pdm_backend-%{version}.tar.gz
|
|
BuildRequires: %{python_module devel}
|
|
BuildRequires: %{python_module editables}
|
|
BuildRequires: %{python_module importlib-metadata >= 3.6.0 if %python-base < 3.10}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: fdupes
|
|
BuildRequires: git-core
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-importlib-metadata >= 3.6.0
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
The build backend used by [PDM] that supports latest packaging standards.
|
|
|
|
%prep
|
|
%autosetup -p1 -n pdm_backend-%{version}
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%dir %{python_sitelib}/pdm
|
|
%{python_sitelib}/pdm/backend
|
|
%{python_sitelib}/pdm_backend-%{version}.dist-info
|
|
|
|
%changelog
|