summaryrefslogtreecommitdiff
path: root/python-editables.spec
blob: 06f4c8070b2aa7eeb02a18a2fa3a61f7418633cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Name:           python-editables
Version:        0.5
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
BuildRequires:	python3-pip
BuildRequires:	python3-wheel
BuildRequires:	python3-flit-core

%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
%pyproject_build

%install
%pyproject_install

%files -n python3-editables
%doc README.md
%license LICENSE.txt
%{python3_sitelib}/*

%changelog
* Mon Dec 04 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 0.5-1
- Update package to version 0.5

* Thu Apr 13 2023 caodongxia <caodongxia@h-partners.com> - 0.3-1
- Package init