From 41bc6907a4f98b7a98f8444b6ba331d6baa43635 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Tue, 6 Feb 2024 11:30:41 +0900 Subject: [PATCH] Bump to 0.5 Signed-off-by: TizenOpenSource --- packaging/python3-editables.manifest | 5 ++++ packaging/python3-editables.spec | 41 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 packaging/python3-editables.manifest create mode 100644 packaging/python3-editables.spec diff --git a/packaging/python3-editables.manifest b/packaging/python3-editables.manifest new file mode 100644 index 0000000..86dbb26 --- /dev/null +++ b/packaging/python3-editables.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-editables.spec b/packaging/python3-editables.spec new file mode 100644 index 0000000..fc5ca80 --- /dev/null +++ b/packaging/python3-editables.spec @@ -0,0 +1,41 @@ +Name: python3-editables +Version: 0.5 +Release: 0 +Summary: Editable installations +License: MIT +URL: https://github.com/pfmoore/editables +Source0: editables-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: pkgconfig(python3) +BuildRequires: python3-build +BuildRequires: python3-flit_core +BuildRequires: python3-pip + +BuildArch: noarch + +%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} + +%build +cp %{SOURCE1001} . +%{_bindir}/python3 -m build -n + +%install +%{_bindir}/python3 -m pip install --root %{buildroot} ./dist/editables-%{version}-py3-*.whl + +%files +%manifest %{name}.manifest +%license LICENSE.txt +%{python3_sitelib}/editables/*.py +%{python3_sitelib}/editables/py.typed +%{python3_sitelib}/editables/__pycache__/* +%{python3_sitelib}/editables-%{version}.dist-info/* -- 2.34.1