From 2cdd22135970dc529d91245a61e950f4ff899cf4 Mon Sep 17 00:00:00 2001 From: TizenOpenSource Date: Tue, 6 Feb 2024 13:20:06 +0900 Subject: [PATCH] Bump to 0.42.0 Signed-off-by: TizenOpenSource --- packaging/python3-wheel.manifest | 5 ++++ packaging/python3-wheel.spec | 42 ++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 packaging/python3-wheel.manifest create mode 100644 packaging/python3-wheel.spec diff --git a/packaging/python3-wheel.manifest b/packaging/python3-wheel.manifest new file mode 100644 index 0000000..86dbb26 --- /dev/null +++ b/packaging/python3-wheel.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python3-wheel.spec b/packaging/python3-wheel.spec new file mode 100644 index 0000000..d279a5c --- /dev/null +++ b/packaging/python3-wheel.spec @@ -0,0 +1,42 @@ +Name: python3-wheel +Version: 0.42.0 +Release: 0 +Summary: A built-package format for Python +License: MIT +URL: https://github.com/pypa/wheel +Source0: wheel-%{version}.tar.gz +Source1001: %{name}.manifest + +BuildRequires: pkgconfig(python3) +BuildRequires: python3-setuptools + +BuildArch: noarch + +%description +A built-package format for Python. + +A wheel is a ZIP-format archive with a specially formatted filename +and the .whl extension. It is designed to contain all the files for a +PEP 376 compatible install in a way that is very close to the on-disk +format. Many packages will be properly installed with only the "Unpack" +step (simply extracting the file onto sys.path), and the unpacked archive +preserves enough information to "Spread" (copy data and scripts to their +final locations) at any later time. + +%prep +%setup -q -n wheel-%{version} + +%build +cp %{SOURCE1001} . +%{_bindir}/python3 setup.py build + +%install +%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} + +%files +%license LICENSE.txt +%{python3_sitelib}/wheel/*.py +%{python3_sitelib}/wheel/__pycache__/* +%{python3_sitelib}/wheel/cli/* +%{python3_sitelib}/wheel/vendored/* +%{python3_sitelib}/wheel-%{version}-py%{python3_version}.egg-info -- 2.34.1