python-editables/python-editables.spec

54 lines
1.4 KiB
RPMSpec
Raw Normal View History

2023-04-23 10:03:37 +08:00
Name: python-editables
2023-12-04 16:25:12 +08:00
Version: 0.5
2023-04-23 10:03:37 +08:00
Release: 1
Summary: Editable installations
License: MIT
URL: https://github.com/pfmoore/editables
Source0: https://files.pythonhosted.org/packages/source/e/editables/editables-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: dos2unix
BuildRequires: fdupes
2023-12-04 16:25:12 +08:00
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-flit
2023-04-23 10:03:37 +08:00
%global common_description %{expand:
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.}
%description %{common_description}
%package -n python3-editables
Summary: %{summary}
%description -n python3-editables %{common_description}
%prep
%autosetup -n editables-%{version}
dos2unix -c ascii README.md
%build
2023-12-04 16:25:12 +08:00
%pyproject_build
2023-04-23 10:03:37 +08:00
%install
2023-12-04 16:25:12 +08:00
%pyproject_install
2023-04-23 10:03:37 +08:00
%files -n python3-editables
%doc README.md
%license LICENSE.txt
2023-12-04 16:25:12 +08:00
%{python3_sitelib}/*
2023-04-23 10:03:37 +08:00
%changelog
2023-12-04 16:25:12 +08:00
* Mon Dec 04 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5-1
- Update package to version 0.5
2023-04-23 10:03:37 +08:00
* Thu Apr 13 2023 caodongxia <caodongxia@h-partners.com> - 0.3-1
- Package init