# # spec file for package saltbundlepy-editables # # 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/ # %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy Name: saltbundlepy-editables Version: 0.3 Release: 0 Summary: Editable installations License: MIT URL: https://github.com/pfmoore/editables Source: https://files.pythonhosted.org/packages/source/e/editables/editables-%{version}.tar.gz BuildRequires: %{saltbundlepy_module setuptools} BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: saltbundlepy-rpm-macros BuildArch: noarch %python_subpackages %description A Python library for creating "editable wheels" This library supports the building of wheels which, when installed, will expose packages in a local directory on sys.path in "editable mode". In other words, changes to the package source will be reflected in the package visible to Python, without needing a reinstall. %prep %setup -q -n editables-%{version} # fix end of lines for the readme dos2unix -c ascii README.md %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.md %license LICENSE.txt %{python_sitelib}/editables %{python_sitelib}/editables-%{version}*-info %changelog